Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.146/1.146, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.425e-05, allocations: 0 / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05248/0.05253, allocations: 25.18 MB / 179.7 MB, free: 9.621 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002694/0.05528, allocations: 1.628 MB / 181.3 MB, free: 7.988 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004894/0.05581, allocations: 183.3 kB / 181.5 MB, free: 7.809 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-05/0.05593, allocations: 8 kB / 181.5 MB, free: 7.801 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 6.752e-05/0.05601, allocations: 27.72 kB / 181.5 MB, free: 7.773 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.05619, allocations: 55.84 kB / 181.6 MB, free: 7.719 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.05637, allocations: 43.91 kB / 181.6 MB, free: 7.676 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.0566, allocations: 119.7 kB / 181.7 MB, free: 7.559 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.0568, allocations: 61.58 kB / 181.8 MB, free: 7.5 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.05693, allocations: 59.86 kB / 181.9 MB, free: 7.441 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.05711, allocations: 75.73 kB / 181.9 MB, free: 7.367 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.005e-05/0.05717, allocations: 8 kB / 181.9 MB, free: 7.359 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.05722, allocations: 12 kB / 182 MB, free: 7.348 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.05727, allocations: 31.84 kB / 182 MB, free: 7.316 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 6.324e-05/0.05735, allocations: 24 kB / 182 MB, free: 7.293 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.05763, allocations: 183.8 kB / 182.2 MB, free: 7.113 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.05765, allocations: 0 / 182.2 MB, free: 7.113 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.05766, allocations: 0 / 182.2 MB, free: 7.113 MB / 154.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.05768, allocations: 0 / 182.2 MB, free: 7.113 MB / 154.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0008509/0.05854, allocations: 471.3 kB / 182.6 MB, free: 6.605 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.0586, allocations: 8.031 kB / 182.7 MB, free: 6.598 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.05868, allocations: 23.75 kB / 182.7 MB, free: 6.574 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.059, allocations: 222.7 kB / 182.9 MB, free: 6.316 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.05906, allocations: 12.56 kB / 182.9 MB, free: 6.305 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.05913, allocations: 24 kB / 182.9 MB, free: 6.281 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.05971, allocations: 232.3 kB / 183.2 MB, free: 6.035 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.05974, allocations: 4 kB / 183.2 MB, free: 6.031 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.05978, allocations: 7.953 kB / 183.2 MB, free: 6.023 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.05981, allocations: 8 kB / 183.2 MB, free: 6.016 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.0602, allocations: 131.9 kB / 183.3 MB, free: 5.887 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.06182, allocations: 0.8556 MB / 184.2 MB, free: 4.969 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.06221, allocations: 159.7 kB / 184.3 MB, free: 4.785 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.06225, allocations: 3.984 kB / 184.3 MB, free: 4.781 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.0623, allocations: 46.48 kB / 184.4 MB, free: 4.727 MB / 154.7 MB Notification: Performance of pre-optimization done (n=17): time 2.344e-06/0.06231, allocations: 4 kB / 184.4 MB, free: 4.723 MB / 154.7 MB Notification: Performance of matching and sorting (n=17): time 0.000533/0.06285, allocations: 165.7 kB / 184.5 MB, free: 4.555 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.06294, allocations: 106.8 kB / 184.6 MB, free: 4.426 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.0632, allocations: 166.2 kB / 184.8 MB, free: 4.258 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.06324, allocations: 29.7 kB / 184.8 MB, free: 4.223 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.06341, allocations: 226.2 kB / 185 MB, free: 4 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.473e-05/0.0635, allocations: 70.97 kB / 185.1 MB, free: 3.93 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.06353, allocations: 4 kB / 185.1 MB, free: 3.926 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.06368, allocations: 326.8 kB / 185.4 MB, free: 3.598 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.06383, allocations: 48.53 kB / 185.5 MB, free: 3.547 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.06408, allocations: 150.8 kB / 185.6 MB, free: 3.352 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.06429, allocations: 75.86 kB / 185.7 MB, free: 3.277 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.06431, allocations: 0 / 185.7 MB, free: 3.277 MB / 154.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005572/0.06487, allocations: 225.2 kB / 185.9 MB, free: 3.051 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.06491, allocations: 8.438 kB / 185.9 MB, free: 3.043 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.06493, allocations: 8 kB / 185.9 MB, free: 3.035 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.06496, allocations: 4 kB / 185.9 MB, free: 3.031 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.06539, allocations: 67.84 kB / 186 MB, free: 2.965 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.06542, allocations: 4 kB / 186 MB, free: 2.961 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.06564, allocations: 31.69 kB / 186 MB, free: 2.93 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.06568, allocations: 8 kB / 186.1 MB, free: 2.922 MB / 154.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.06586, allocations: 145.7 kB / 186.2 MB, free: 2.77 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.06597, allocations: 23.7 kB / 186.2 MB, free: 2.746 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.316e-05/0.06605, allocations: 25.41 kB / 186.2 MB, free: 2.719 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.06607, allocations: 4 kB / 186.3 MB, free: 2.715 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.06608, allocations: 0 / 186.3 MB, free: 2.715 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.0661, allocations: 3.984 kB / 186.3 MB, free: 2.711 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007936/0.0669, allocations: 420.8 kB / 186.7 MB, free: 2.234 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.06692, allocations: 4 kB / 186.7 MB, free: 2.23 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.06733, allocations: 35.98 kB / 186.7 MB, free: 2.195 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.06735, allocations: 8.094 kB / 186.7 MB, free: 2.188 MB / 154.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.06738, allocations: 8 kB / 186.7 MB, free: 2.18 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.0674, allocations: 0 / 186.7 MB, free: 2.18 MB / 154.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.06741, allocations: 3.953 kB / 186.7 MB, free: 2.176 MB / 154.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/0.06804, allocations: 432.2 kB / 187.1 MB, free: 1.699 MB / 154.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.06814, allocations: 92.86 kB / 187.2 MB, free: 1.59 MB / 154.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.0682, allocations: 8 kB / 187.2 MB, free: 1.582 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.06841, allocations: 0 / 187.2 MB, free: 1.582 MB / 154.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.06846, allocations: 16.03 kB / 187.3 MB, free: 1.566 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.06849, allocations: 8 kB / 187.3 MB, free: 1.559 MB / 154.7 MB Notification: Performance of sorting global known variables: time 0.0001743/0.06868, allocations: 152.1 kB / 187.4 MB, free: 1.41 MB / 154.7 MB Notification: Performance of sort global known variables: time 2.896e-06/0.06869, allocations: 0 / 187.4 MB, free: 1.41 MB / 154.7 MB Notification: Performance of remove unused functions: time 0.0004802/0.06918, allocations: 55.78 kB / 187.5 MB, free: 1.355 MB / 154.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.06934, allocations: 103.2 kB / 187.6 MB, free: 1.246 MB / 154.7 MB Notification: Performance of simCode: created initialization part: time 0.0003911/0.06974, allocations: 137.3 kB / 187.7 MB, free: 1.113 MB / 154.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.06976, allocations: 4 kB / 187.7 MB, free: 1.109 MB / 154.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.06991, allocations: 56.33 kB / 187.8 MB, free: 1.055 MB / 154.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.07034, allocations: 25.98 kB / 187.8 MB, free: 1.031 MB / 154.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.07191, allocations: 0.7324 MB / 188.5 MB, free: 260 kB / 154.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.07236, allocations: 0.744 MB / 189.3 MB, free: 15.48 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.819e-05/0.07246, allocations: 19.44 kB / 189.3 MB, free: 15.46 MB / 170.7 MB Notification: Performance of SimCode: time 8.42e-07/0.07247, allocations: 0 / 189.3 MB, free: 15.46 MB / 170.7 MB Notification: Performance of Templates: time 0.006025/0.07851, allocations: 2.218 MB / 191.5 MB, free: 13.24 MB / 170.7 MB