Notification: Performance of loadModel(Modelica): time 1.521/1.521, allocations: 194.5 MB / 200.7 MB, free: 5.156 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.076e-05, allocations: 1.125 kB / 247.3 MB, free: 4.738 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09131/0.09142, allocations: 44.37 MB / 291.7 MB, free: 9.281 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2532/0.3447, allocations: 70.15 MB / 361.8 MB, free: 7 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.345, allocations: 69.97 kB / 361.9 MB, free: 6.996 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.024/0.3691, allocations: 5.298 MB / 367.2 MB, free: 6.727 MB / 296.6 MB Notification: Performance of Transformations before backend: time 9.499e-06/0.3692, allocations: 0 / 367.2 MB, free: 6.727 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.0003427/0.3696, allocations: 395.1 kB / 367.6 MB, free: 6.344 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3697, allocations: 7.781 kB / 367.6 MB, free: 6.344 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.3698, allocations: 9.469 kB / 367.6 MB, free: 6.34 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007218/0.3706, allocations: 366.9 kB / 368 MB, free: 6.133 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.3707, allocations: 0 / 368 MB, free: 6.133 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.3708, allocations: 1.359 kB / 368 MB, free: 6.133 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.912e-05/0.3708, allocations: 3.844 kB / 368 MB, free: 6.133 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.371, allocations: 81.38 kB / 368 MB, free: 6.047 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3711, allocations: 4 kB / 368 MB, free: 6.043 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.3711, allocations: 5.016 kB / 368.1 MB, free: 6.039 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-06/0.3712, allocations: 3.984 kB / 368.1 MB, free: 6.035 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.3716, allocations: 163 kB / 368.2 MB, free: 5.875 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 3.283e-05/0.3717, allocations: 22.48 kB / 368.2 MB, free: 5.852 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.3718, allocations: 12.77 kB / 368.2 MB, free: 5.84 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.3718, allocations: 4 kB / 368.3 MB, free: 5.836 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.3719, allocations: 31.45 kB / 368.3 MB, free: 5.797 MB / 296.6 MB Notification: Performance of pre-optimization done (n=1): time 2.445e-06/0.3719, allocations: 0 / 368.3 MB, free: 5.797 MB / 296.6 MB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.3721, allocations: 43.2 kB / 368.3 MB, free: 5.762 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.3722, allocations: 132.6 kB / 368.5 MB, free: 5.605 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.3725, allocations: 154.2 kB / 368.6 MB, free: 5.512 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3725, allocations: 25.7 kB / 368.6 MB, free: 5.48 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.3726, allocations: 92.23 kB / 368.7 MB, free: 5.395 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.3727, allocations: 3.906 kB / 368.7 MB, free: 5.391 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-06/0.3727, allocations: 0 / 368.7 MB, free: 5.391 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.3729, allocations: 321.6 kB / 369 MB, free: 5.078 MB / 296.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.3729, allocations: 4.594 kB / 369 MB, free: 5.078 MB / 296.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-05/0.373, allocations: 46.75 kB / 369.1 MB, free: 5.027 MB / 296.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.3731, allocations: 13.05 kB / 369.1 MB, free: 5.023 MB / 296.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.352e-06/0.3732, allocations: 0 / 369.1 MB, free: 5.023 MB / 296.6 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001089/0.3733, allocations: 46 kB / 369.1 MB, free: 4.988 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3734, allocations: 3.469 kB / 369.2 MB, free: 4.988 MB / 296.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.3735, allocations: 5 kB / 369.2 MB, free: 4.988 MB / 296.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3735, allocations: 0 / 369.2 MB, free: 4.988 MB / 296.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.238e-05/0.3736, allocations: 3.875 kB / 369.2 MB, free: 4.988 MB / 296.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.587e-06/0.3737, allocations: 0 / 369.2 MB, free: 4.988 MB / 296.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3739, allocations: 16.69 kB / 369.2 MB, free: 4.977 MB / 296.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-06/0.3739, allocations: 0 / 369.2 MB, free: 4.977 MB / 296.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.374, allocations: 76.31 kB / 369.3 MB, free: 4.902 MB / 296.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.3741, allocations: 11.69 kB / 369.3 MB, free: 4.895 MB / 296.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.555e-05/0.3742, allocations: 12.23 kB / 369.3 MB, free: 4.895 MB / 296.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-06/0.3742, allocations: 3.938 kB / 369.3 MB, free: 4.891 MB / 296.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.68e-06/0.3743, allocations: 3.844 kB / 369.3 MB, free: 4.891 MB / 296.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.61e-06/0.3744, allocations: 1.312 kB / 369.3 MB, free: 4.891 MB / 296.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.3749, allocations: 152.3 kB / 369.4 MB, free: 20.73 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-06/0.3749, allocations: 7.906 kB / 369.4 MB, free: 20.72 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.375, allocations: 1.406 kB / 369.4 MB, free: 20.72 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3751, allocations: 3.906 kB / 369.4 MB, free: 20.72 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3752, allocations: 0 / 369.4 MB, free: 20.72 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.933e-06/0.3752, allocations: 0 / 369.4 MB, free: 20.72 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.33e-06/0.3753, allocations: 0 / 369.4 MB, free: 20.72 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003099/0.3756, allocations: 76.19 kB / 369.5 MB, free: 20.65 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/0.3758, allocations: 94.66 kB / 369.6 MB, free: 20.55 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.3759, allocations: 0 / 369.6 MB, free: 20.55 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.226e-05/0.376, allocations: 4.719 kB / 369.6 MB, free: 20.55 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.3761, allocations: 0 / 369.6 MB, free: 20.55 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-06/0.3761, allocations: 1 kB / 369.6 MB, free: 20.55 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001137/0.3763, allocations: 135.3 kB / 369.7 MB, free: 20.48 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0003258/0.3767, allocations: 23.94 kB / 369.8 MB, free: 20.47 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003196/0.3771, allocations: 161.2 kB / 369.9 MB, free: 20.37 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 8.975e-05/0.3772, allocations: 13.38 kB / 369.9 MB, free: 20.37 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.422e-06/0.3773, allocations: 4.062 kB / 369.9 MB, free: 20.37 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 1.634e-05/0.3774, allocations: 3.938 kB / 370 MB, free: 20.37 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.3775, allocations: 11.41 kB / 370 MB, free: 20.36 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003037/0.3779, allocations: 99.8 kB / 370.1 MB, free: 20.28 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]