Notification: Performance of loadModel(Modelica): time 1.51/1.51, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.521e-06/8.381e-06, allocations: 1.125 kB / 247.3 MB, free: 4.766 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05863/0.05872, allocations: 44.37 MB / 291.7 MB, free: 9.324 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2147/0.2735, allocations: 70.15 MB / 361.8 MB, free: 7.023 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000172/0.2738, allocations: 70.06 kB / 361.9 MB, free: 7.02 MB / 296.6 MB [Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd: time 0.02333/0.2972, allocations: 5.299 MB / 367.2 MB, free: 6.754 MB / 296.6 MB Notification: Performance of Transformations before backend: time 9.987e-06/0.2973, allocations: 3.938 kB / 367.2 MB, free: 6.75 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0003206/0.2977, allocations: 390.5 kB / 367.6 MB, free: 6.367 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2978, allocations: 11.28 kB / 367.6 MB, free: 6.367 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.2979, allocations: 7.625 kB / 367.6 MB, free: 6.363 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.2987, allocations: 356.3 kB / 368 MB, free: 6.16 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2987, allocations: 3.906 kB / 368 MB, free: 6.16 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.2988, allocations: 4.125 kB / 368 MB, free: 6.16 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.71e-05/0.2989, allocations: 3.969 kB / 368 MB, free: 6.16 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.764e-05/0.2991, allocations: 78.62 kB / 368 MB, free: 6.07 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.149e-06/0.2991, allocations: 3.844 kB / 368 MB, free: 6.07 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.2992, allocations: 0 / 368 MB, free: 6.07 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.146e-06/0.2993, allocations: 8.672 kB / 368.1 MB, free: 6.062 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.2996, allocations: 164.7 kB / 368.2 MB, free: 5.902 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 3.352e-05/0.2997, allocations: 26.36 kB / 368.2 MB, free: 5.871 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/0.2998, allocations: 5.609 kB / 368.3 MB, free: 5.863 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.355e-06/0.2998, allocations: 3.906 kB / 368.3 MB, free: 5.863 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2999, allocations: 35.44 kB / 368.3 MB, free: 5.824 MB / 296.6 MB Notification: Performance of pre-optimization done (n=1): time 2.444e-06/0.3, allocations: 0 / 368.3 MB, free: 5.824 MB / 296.6 MB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.3002, allocations: 42.59 kB / 368.3 MB, free: 5.789 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.3003, allocations: 133.4 kB / 368.5 MB, free: 5.629 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3005, allocations: 154.1 kB / 368.6 MB, free: 5.535 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.3006, allocations: 25.7 kB / 368.6 MB, free: 5.504 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.3006, allocations: 89.44 kB / 368.7 MB, free: 5.422 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.3007, allocations: 4.797 kB / 368.7 MB, free: 5.418 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-06/0.3008, allocations: 0 / 368.7 MB, free: 5.418 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 5.448e-05/0.3009, allocations: 320.8 kB / 369 MB, free: 5.105 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.3009, allocations: 4.391 kB / 369 MB, free: 5.105 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.301, allocations: 51.45 kB / 369.1 MB, free: 5.051 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/0.3011, allocations: 8.234 kB / 369.1 MB, free: 5.051 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.724e-06/0.3012, allocations: 0 / 369.1 MB, free: 5.051 MB / 296.6 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.652e-05/0.3013, allocations: 46.91 kB / 369.1 MB, free: 5.016 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3014, allocations: 3.906 kB / 369.2 MB, free: 5.016 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.006e-06/0.3015, allocations: 4.094 kB / 369.2 MB, free: 5.012 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3015, allocations: 0.9375 kB / 369.2 MB, free: 5.012 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.862e-05/0.3016, allocations: 3.875 kB / 369.2 MB, free: 5.012 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.588e-06/0.3017, allocations: 0 / 369.2 MB, free: 5.012 MB / 296.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3018, allocations: 16.59 kB / 369.2 MB, free: 5 MB / 296.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-06/0.3019, allocations: 8.484 kB / 369.2 MB, free: 4.996 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.194e-05/0.302, allocations: 75.28 kB / 369.3 MB, free: 20.92 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.3021, allocations: 8.656 kB / 369.3 MB, free: 20.92 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.3022, allocations: 11.44 kB / 369.3 MB, free: 20.92 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-06/0.3022, allocations: 4.703 kB / 369.3 MB, free: 20.91 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.4e-06/0.3023, allocations: 0 / 369.3 MB, free: 20.91 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.771e-06/0.3024, allocations: 0 / 369.3 MB, free: 20.91 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.3026, allocations: 154.3 kB / 369.4 MB, free: 20.76 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.702e-06/0.3027, allocations: 3.906 kB / 369.4 MB, free: 20.75 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.3028, allocations: 4.531 kB / 369.4 MB, free: 20.75 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.561e-06/0.3028, allocations: 0 / 369.4 MB, free: 20.75 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3029, allocations: 0 / 369.4 MB, free: 20.75 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.143e-06/0.303, allocations: 0.75 kB / 369.4 MB, free: 20.75 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.632e-06/0.303, allocations: 4 kB / 369.4 MB, free: 20.75 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001252/0.3032, allocations: 70.95 kB / 369.5 MB, free: 20.68 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/0.3034, allocations: 94.84 kB / 369.6 MB, free: 20.59 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.213e-05/0.3035, allocations: 0 / 369.6 MB, free: 20.59 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.3036, allocations: 4.5 kB / 369.6 MB, free: 20.59 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.3037, allocations: 0.75 kB / 369.6 MB, free: 20.59 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-06/0.3037, allocations: 7.094 kB / 369.6 MB, free: 20.59 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001273/0.3039, allocations: 141.5 kB / 369.8 MB, free: 20.5 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.000335/0.3043, allocations: 23.52 kB / 369.8 MB, free: 20.5 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003086/0.3047, allocations: 153.6 kB / 369.9 MB, free: 20.4 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 8.695e-05/0.3048, allocations: 16.22 kB / 369.9 MB, free: 20.4 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.143e-06/0.3049, allocations: 0 / 369.9 MB, free: 20.4 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.305, allocations: 3.938 kB / 370 MB, free: 20.4 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.3051, allocations: 3.188 kB / 370 MB, free: 20.4 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.3055, allocations: 103.2 kB / 370.1 MB, free: 20.32 MB / 312.6 MB [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]