Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.805/1.805, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.218e-05/4.229e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3019, allocations: 38.78 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.436, allocations: 65.92 MB / 329.8 MB, free: 7.695 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.4363, allocations: 63.97 kB / 329.9 MB, free: 7.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01658/0.4529, allocations: 3.356 MB / 333.2 MB, free: 4.258 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.272e-06/0.453, allocations: 4 kB / 333.2 MB, free: 4.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.453, allocations: 4 kB / 333.2 MB, free: 4.25 MB / 282.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.00114/0.4542, allocations: 462.5 kB / 333.7 MB, free: 3.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.4542, allocations: 8.031 kB / 333.7 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.4544, allocations: 58.53 kB / 333.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.4545, allocations: 27.72 kB / 333.8 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.4548, allocations: 193.3 kB / 334 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.4549, allocations: 20.56 kB / 334 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.324e-05/0.455, allocations: 20 kB / 334 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007536/0.4557, allocations: 223.2 kB / 334.2 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.4558, allocations: 3.984 kB / 334.2 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.116e-05/0.4559, allocations: 12 kB / 334.2 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.4559, allocations: 4 kB / 334.2 MB, free: 3.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.4564, allocations: 123.9 kB / 334.4 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.4588, allocations: 0.871 MB / 335.2 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.4593, allocations: 151.8 kB / 335.4 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.4596, allocations: 58.58 kB / 335.4 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.4596, allocations: 4 kB / 335.4 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.4597, allocations: 34.56 kB / 335.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 8.065e-06/0.4597, allocations: 0 / 335.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006523/0.4604, allocations: 137.7 kB / 335.6 MB, free: 1.641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.4605, allocations: 110.8 kB / 335.7 MB, free: 1.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.4609, allocations: 171 kB / 335.9 MB, free: 1.336 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.461, allocations: 37.69 kB / 335.9 MB, free: 1.293 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.4612, allocations: 155.8 kB / 336.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.4613, allocations: 63.09 kB / 336.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.4613, allocations: 7.938 kB / 336.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.4616, allocations: 330.8 kB / 336.5 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.4618, allocations: 48.56 kB / 336.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.4622, allocations: 146.5 kB / 336.6 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.4624, allocations: 71.98 kB / 336.7 MB, free: 432 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.4625, allocations: 0 / 336.7 MB, free: 432 kB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000599/0.4631, allocations: 225.2 kB / 336.9 MB, free: 200 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.4631, allocations: 8 kB / 336.9 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.4632, allocations: 7.938 kB / 337 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.4632, allocations: 4 kB / 337 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/0.4638, allocations: 68.28 kB / 337 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-05/0.4638, allocations: 15.95 kB / 337 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.4642, allocations: 27.69 kB / 337.1 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.4643, allocations: 12 kB / 337.1 MB, free: 56 kB / 282.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.0001829/0.4645, allocations: 121.5 kB / 337.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.4646, allocations: 23.8 kB / 337.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.4648, allocations: 17.53 kB / 337.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.4648, allocations: 4 kB / 337.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.4648, allocations: 0 / 337.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4649, allocations: 7.953 kB / 337.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.4661, allocations: 420.9 kB / 337.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4661, allocations: 0 / 337.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.4667, allocations: 39.92 kB / 337.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/0.4667, allocations: 4 kB / 337.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.4667, allocations: 7.953 kB / 337.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.108e-05/0.4668, allocations: 4 kB / 337.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4668, allocations: 4.094 kB / 337.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008652/0.4677, allocations: 424.1 kB / 338.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.4678, allocations: 88.92 kB / 338.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.4679, allocations: 8.141 kB / 338.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.4681, allocations: 8.031 kB / 338.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.4682, allocations: 19.94 kB / 338.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.4682, allocations: 7.984 kB / 338.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002527/0.4685, allocations: 139.4 kB / 338.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4685, allocations: 4 kB / 338.4 MB, free: 14.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008932/0.4694, allocations: 47.94 kB / 338.4 MB, free: 14.53 MB / 298.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.001523/0.4709, allocations: 1.23 MB / 339.7 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.4716, allocations: 129.8 kB / 339.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.4716, allocations: 0.875 kB / 339.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.4718, allocations: 52.11 kB / 339.9 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007063/0.4725, allocations: 32.11 kB / 339.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.4748, allocations: 0.5425 MB / 340.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.4754, allocations: 0.7441 MB / 341.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002536/0.4757, allocations: 18.08 kB / 341.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.4759, allocations: 51.42 kB / 341.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.844e-06/0.4759, allocations: 0 / 341.2 MB, free: 11.62 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.5023, allocations: 3.29 MB / 344.5 MB, free: 8.387 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003849/0.5028, allocations: 156.2 kB / 344.7 MB, free: 8.16 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.031, allocations: 8.062 kB / 344.7 MB, free: 8.152 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat does not exist to compare? outputFormat=mat