Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.541e-05, allocations: 4 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 44.5 MB / 299.9 MB, free: 6.562 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4236/0.5313, allocations: 71.69 MB / 371.6 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5317, allocations: 66.17 kB / 371.7 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01926/0.5509, allocations: 4.458 MB / 376.1 MB, free: 21.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.551, allocations: 1.188 kB / 376.1 MB, free: 21.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.551, allocations: 4.781 kB / 376.1 MB, free: 21.18 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.0008677/0.5519, allocations: 0.4927 MB / 376.6 MB, free: 20.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.552, allocations: 10.12 kB / 376.6 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.155e-05/0.5521, allocations: 61.61 kB / 376.7 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.5522, allocations: 28.92 kB / 376.7 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.5525, allocations: 236.4 kB / 377 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.5525, allocations: 22.47 kB / 377 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.5526, allocations: 33.22 kB / 377 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.5532, allocations: 239.7 kB / 377.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.5532, allocations: 9.891 kB / 377.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.5533, allocations: 9.281 kB / 377.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.5533, allocations: 9.188 kB / 377.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.5538, allocations: 167.7 kB / 377.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.5552, allocations: 0.7565 MB / 378.2 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/0.5558, allocations: 261.6 kB / 378.5 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.5561, allocations: 124.3 kB / 378.6 MB, free: 19.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.5561, allocations: 12.03 kB / 378.6 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.5562, allocations: 36.25 kB / 378.6 MB, free: 19.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.226e-06/0.5562, allocations: 0 / 378.6 MB, free: 19.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.003644/0.5598, allocations: 1.626 MB / 380.2 MB, free: 18.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.5599, allocations: 82.7 kB / 380.3 MB, free: 18.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.5601, allocations: 164.6 kB / 380.5 MB, free: 18.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.5602, allocations: 35.2 kB / 380.5 MB, free: 18.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.5603, allocations: 199.6 kB / 380.7 MB, free: 18.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.5604, allocations: 167.8 kB / 380.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.381e-05/0.5604, allocations: 9.969 kB / 380.9 MB, free: 18.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.259e-05/0.5605, allocations: 334.8 kB / 381.2 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.5608, allocations: 97.25 kB / 381.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.5611, allocations: 150.3 kB / 381.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.5615, allocations: 120.7 kB / 381.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5615, allocations: 0 / 381.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007813/0.5623, allocations: 351.5 kB / 381.9 MB, free: 18.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.5623, allocations: 4.984 kB / 381.9 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5623, allocations: 2.312 kB / 381.9 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.5624, allocations: 3.344 kB / 381.9 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/0.5631, allocations: 103.7 kB / 382 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.5632, allocations: 4.5 kB / 382 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.5634, allocations: 10.41 kB / 382 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.5635, allocations: 13.25 kB / 382.1 MB, free: 18.02 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.0001147/0.5636, allocations: 133.6 kB / 382.2 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5637, allocations: 27.14 kB / 382.2 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.5638, allocations: 38.53 kB / 382.3 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5639, allocations: 4.562 kB / 382.3 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.5639, allocations: 9.797 kB / 382.3 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.5639, allocations: 1.828 kB / 382.3 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.5657, allocations: 0.9492 MB / 383.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.5658, allocations: 1 kB / 383.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008762/0.5666, allocations: 99.69 kB / 383.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.5667, allocations: 3.156 kB / 383.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.5667, allocations: 12.59 kB / 383.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.5667, allocations: 2.438 kB / 383.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5668, allocations: 1.062 kB / 383.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.5678, allocations: 0.6682 MB / 384 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.568, allocations: 99.25 kB / 384.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.568, allocations: 13.81 kB / 384.1 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.5683, allocations: 14.34 kB / 384.1 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.5684, allocations: 36.5 kB / 384.2 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.5685, allocations: 16.88 kB / 384.2 MB, free: 17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.5686, allocations: 127.2 kB / 384.3 MB, free: 16.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5686, allocations: 0 / 384.3 MB, free: 16.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005415/0.5692, allocations: 84.88 kB / 384.4 MB, free: 16.92 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.001319/0.5705, allocations: 1.416 MB / 385.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008032/0.5713, allocations: 285.5 kB / 386.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5713, allocations: 0 / 386.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.5717, allocations: 154.5 kB / 386.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.5724, allocations: 50.25 kB / 386.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.5748, allocations: 1 MB / 387.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008148/0.5756, allocations: 0.783 MB / 388.1 MB, free: 30.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.5759, allocations: 99.16 kB / 388.2 MB, free: 30.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5759, allocations: 0 / 388.2 MB, free: 30.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.477/3.053, allocations: 4.876 MB / 393 MB, free: 30.11 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat