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.325/2.325, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.356e-05, allocations: 0 / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3256, allocations: 44.5 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.456, allocations: 71.02 MB / 365.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.4563, allocations: 67.95 kB / 365.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01886/0.4752, allocations: 4.411 MB / 369.7 MB, free: 6.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4753, allocations: 0 / 369.7 MB, free: 6.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.4753, allocations: 8 kB / 369.7 MB, free: 6.402 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.000939/0.4763, allocations: 0.4906 MB / 370.2 MB, free: 5.867 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4763, allocations: 8.031 kB / 370.2 MB, free: 5.859 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.464e-05/0.4764, allocations: 27.72 kB / 370.3 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.4768, allocations: 242.5 kB / 370.5 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.4768, allocations: 15.94 kB / 370.5 MB, free: 5.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.4769, allocations: 12 kB / 370.5 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004619/0.4774, allocations: 161 kB / 370.7 MB, free: 5.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.4779, allocations: 205.5 kB / 370.9 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.478, allocations: 4 kB / 370.9 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.478, allocations: 0 / 370.9 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.478, allocations: 8 kB / 370.9 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.4795, allocations: 0.7041 MB / 371.6 MB, free: 4.398 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.4801, allocations: 245 kB / 371.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.4804, allocations: 106.3 kB / 371.9 MB, free: 4.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.4805, allocations: 7.984 kB / 371.9 MB, free: 4.023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.4805, allocations: 38.47 kB / 372 MB, free: 3.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.937e-06/0.4805, allocations: 0 / 372 MB, free: 3.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.003364/0.4839, allocations: 1.491 MB / 373.5 MB, free: 2.309 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.484, allocations: 89.11 kB / 373.6 MB, free: 2.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.4842, allocations: 137.8 kB / 373.7 MB, free: 2.059 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.4842, allocations: 25.7 kB / 373.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.4844, allocations: 148.9 kB / 373.9 MB, free: 1.875 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.4845, allocations: 165.5 kB / 374 MB, free: 1.711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.4846, allocations: 0 / 374 MB, free: 1.711 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4847, allocations: 338.8 kB / 374.4 MB, free: 1.371 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.485, allocations: 89.12 kB / 374.4 MB, free: 1.281 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.4853, allocations: 136.4 kB / 374.6 MB, free: 1.133 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.4856, allocations: 118.3 kB / 374.7 MB, free: 1.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4856, allocations: 0 / 374.7 MB, free: 1.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007604/0.4864, allocations: 318.6 kB / 375 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4865, allocations: 11.22 kB / 375 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4865, allocations: 0 / 375 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.4865, allocations: 4 kB / 375 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.4873, allocations: 103.8 kB / 375.1 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.4873, allocations: 4 kB / 375.1 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.4875, allocations: 0 / 375.1 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.4876, allocations: 20.06 kB / 375.1 MB, free: 0.5664 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.000131/0.4877, allocations: 122.2 kB / 375.3 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000684/0.4884, allocations: 273.1 kB / 375.5 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.209e-05/0.4885, allocations: 27.72 kB / 375.6 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.4886, allocations: 33.95 kB / 375.6 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.4886, allocations: 7.938 kB / 375.6 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.4887, allocations: 3.938 kB / 375.6 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.4887, allocations: 0 / 375.6 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.4905, allocations: 0.863 MB / 376.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4906, allocations: 4.031 kB / 376.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008272/0.4914, allocations: 99.83 kB / 376.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/0.4914, allocations: 8 kB / 376.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.4915, allocations: 4 kB / 376.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.4915, allocations: 0 / 376.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.4915, allocations: 4 kB / 376.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.4926, allocations: 0.6289 MB / 377.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.4927, allocations: 96.83 kB / 377.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.825e-05/0.4928, allocations: 0 / 377.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.4931, allocations: 0 / 377.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.4932, allocations: 39.77 kB / 377.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.4933, allocations: 16 kB / 377.4 MB, free: 14.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.4934, allocations: 111.3 kB / 377.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4934, allocations: 4 kB / 377.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005984/0.494, allocations: 60 kB / 377.5 MB, free: 14.05 MB / 330.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.001628/0.4956, allocations: 1.384 MB / 378.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007384/0.4965, allocations: 258.9 kB / 379.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4965, allocations: 0 / 379.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.4968, allocations: 147.8 kB / 379.3 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007811/0.4976, allocations: 48.23 kB / 379.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.5008, allocations: 0.929 MB / 380.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.5013, allocations: 0.7881 MB / 381.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002532/0.5016, allocations: 27.28 kB / 381.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.5018, allocations: 95.41 kB / 381.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.5018, allocations: 0 / 381.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04732/0.5492, allocations: 5.029 MB / 386.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/0.5495, allocations: 150.8 kB / 386.4 MB, free: 5.062 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.268, allocations: 0 / 386.4 MB, free: 5.062 MB / 330.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