Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.051/2.051, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.812e-05, allocations: 0 / 255.4 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4325/0.5358, allocations: 71.68 MB / 371.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.5361, allocations: 66.72 kB / 371.7 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02026/0.5564, allocations: 4.45 MB / 376.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5565, allocations: 1.156 kB / 376.2 MB, free: 21.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.5565, allocations: 4.375 kB / 376.2 MB, free: 21.56 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001004/0.5575, allocations: 0.5004 MB / 376.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.5576, allocations: 9.188 kB / 376.7 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.5577, allocations: 62.86 kB / 376.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.5578, allocations: 28.41 kB / 376.8 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.5582, allocations: 233.1 kB / 377 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.5582, allocations: 18.84 kB / 377 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.5583, allocations: 33.44 kB / 377 MB, free: 20.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006429/0.5589, allocations: 241.9 kB / 377.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.559, allocations: 2.922 kB / 377.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.559, allocations: 16.78 kB / 377.3 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.5591, allocations: 10.02 kB / 377.3 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.5596, allocations: 171.2 kB / 377.5 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.5612, allocations: 0.7504 MB / 378.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006679/0.562, allocations: 266.5 kB / 378.5 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.5623, allocations: 121.5 kB / 378.6 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.5623, allocations: 11.06 kB / 378.6 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.5624, allocations: 38.95 kB / 378.6 MB, free: 20.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.226e-06/0.5624, allocations: 5.562 kB / 378.7 MB, free: 20.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.004041/0.5664, allocations: 1.621 MB / 380.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.5665, allocations: 87.92 kB / 380.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.5668, allocations: 163.2 kB / 380.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/0.5668, allocations: 34.36 kB / 380.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.5669, allocations: 137.5 kB / 380.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.5671, allocations: 175.4 kB / 380.9 MB, free: 18.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.5671, allocations: 9.406 kB / 380.9 MB, free: 18.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.5672, allocations: 340.4 kB / 381.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002853/0.5675, allocations: 95.03 kB / 381.3 MB, free: 18.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003176/0.5679, allocations: 155.3 kB / 381.4 MB, free: 18.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.5682, allocations: 121.1 kB / 381.6 MB, free: 18.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5682, allocations: 1.062 kB / 381.6 MB, free: 18.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008613/0.5691, allocations: 359.5 kB / 381.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.5691, allocations: 5.656 kB / 381.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.5692, allocations: 3.969 kB / 381.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.5692, allocations: 3.562 kB / 381.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/0.57, allocations: 99.52 kB / 382 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.57, allocations: 3.875 kB / 382 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.5703, allocations: 12.38 kB / 382 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.5704, allocations: 17.77 kB / 382.1 MB, free: 18.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001514/0.5705, allocations: 132.5 kB / 382.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.5707, allocations: 28.28 kB / 382.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.5708, allocations: 36.55 kB / 382.2 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.5708, allocations: 5.594 kB / 382.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.5708, allocations: 5.094 kB / 382.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.5709, allocations: 5.719 kB / 382.3 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.5729, allocations: 0.9496 MB / 383.2 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.5729, allocations: 0.9688 kB / 383.2 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008991/0.5738, allocations: 98.84 kB / 383.3 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/0.5739, allocations: 3.156 kB / 383.3 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.5739, allocations: 10.06 kB / 383.3 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.574, allocations: 6.406 kB / 383.3 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.574, allocations: 1.938 kB / 383.3 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.5752, allocations: 0.6668 MB / 384 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.5754, allocations: 102.1 kB / 384.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/0.5755, allocations: 10.69 kB / 384.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.5758, allocations: 9.719 kB / 384.1 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.5759, allocations: 35.22 kB / 384.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.576, allocations: 11.94 kB / 384.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.5761, allocations: 132.2 kB / 384.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5761, allocations: 0 / 384.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005721/0.5767, allocations: 84.84 kB / 384.4 MB, free: 17.35 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.001389/0.5781, allocations: 1.427 MB / 385.8 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007758/0.5789, allocations: 283.4 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.579, allocations: 0 / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.5793, allocations: 150.1 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007504/0.5801, allocations: 49.06 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.5826, allocations: 0.9764 MB / 387.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.583, allocations: 0.7835 MB / 388 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002598/0.5832, allocations: 38.14 kB / 388.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.5834, allocations: 95.97 kB / 388.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5834, allocations: 0 / 388.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.6136, allocations: 5.513 MB / 393.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002578/0.6139, allocations: 162.4 kB / 393.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/3.52, allocations: 3.938 kB / 393.8 MB, free: 14.23 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat