Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.159/2.159, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.592e-05, allocations: 0 / 292.2 MB, free: 8.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 50.4 MB / 342.6 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5259/0.65, allocations: 77.39 MB / 420 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.6504, allocations: 74.06 kB / 420.1 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01993/0.6703, allocations: 4.71 MB / 424.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6704, allocations: 0 / 424.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.952e-05/0.6704, allocations: 8 kB / 424.8 MB, free: 12.78 MB / 346.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.001024/0.6714, allocations: 0.5011 MB / 425.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.6715, allocations: 12.03 kB / 425.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.26e-05/0.6716, allocations: 58.55 kB / 425.4 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.031e-05/0.6717, allocations: 27.72 kB / 425.4 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.6721, allocations: 238.5 kB / 425.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.6721, allocations: 22.42 kB / 425.7 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.6722, allocations: 27.38 kB / 425.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.6728, allocations: 244.9 kB / 425.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.6729, allocations: 7.953 kB / 425.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.6729, allocations: 9.75 kB / 426 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.6729, allocations: 8 kB / 426 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.6734, allocations: 162.1 kB / 426.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.6751, allocations: 0.7623 MB / 426.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.6757, allocations: 258.4 kB / 427.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.676, allocations: 117.9 kB / 427.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.6761, allocations: 4 kB / 427.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.6761, allocations: 45.94 kB / 427.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 4.017e-06/0.6762, allocations: 0 / 427.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.003913/0.6801, allocations: 1.62 MB / 428.9 MB, free: 9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.6802, allocations: 85.11 kB / 429 MB, free: 8.898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.6804, allocations: 157.8 kB / 429.2 MB, free: 8.754 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.6805, allocations: 44.02 kB / 429.2 MB, free: 8.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.6806, allocations: 135.8 kB / 429.3 MB, free: 8.594 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.6808, allocations: 173.4 kB / 429.5 MB, free: 8.445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.6808, allocations: 11.75 kB / 429.5 MB, free: 8.441 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.681, allocations: 334.2 kB / 429.8 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.6813, allocations: 102.5 kB / 429.9 MB, free: 8.051 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.6816, allocations: 148.3 kB / 430.1 MB, free: 7.938 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.682, allocations: 125.7 kB / 430.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.682, allocations: 0 / 430.2 MB, free: 7.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000833/0.6828, allocations: 353.4 kB / 430.6 MB, free: 7.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.6829, allocations: 4 kB / 430.6 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.6829, allocations: 4 kB / 430.6 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.6829, allocations: 7.953 kB / 430.6 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.6837, allocations: 99.58 kB / 430.7 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.6837, allocations: 8.062 kB / 430.7 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.6839, allocations: 7.125 kB / 430.7 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.684, allocations: 15.44 kB / 430.7 MB, free: 7.469 MB / 346.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.0001448/0.6841, allocations: 127.5 kB / 430.8 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.991e-05/0.6843, allocations: 31.7 kB / 430.8 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.6844, allocations: 34.41 kB / 430.9 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.6844, allocations: 7.953 kB / 430.9 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.6844, allocations: 0 / 430.9 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.6844, allocations: 3.984 kB / 430.9 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.6864, allocations: 0.9544 MB / 431.8 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6865, allocations: 0 / 431.8 MB, free: 6.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/0.6874, allocations: 95.2 kB / 431.9 MB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.354e-05/0.6874, allocations: 4 kB / 431.9 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.6875, allocations: 11.31 kB / 432 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.6875, allocations: 0 / 432 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6875, allocations: 4 kB / 432 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.6887, allocations: 0.664 MB / 432.6 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.6888, allocations: 100.8 kB / 432.7 MB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.498e-05/0.6889, allocations: 15.23 kB / 432.7 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.6892, allocations: 3.812 kB / 432.7 MB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.6893, allocations: 35.22 kB / 432.8 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.6893, allocations: 11.5 kB / 432.8 MB, free: 5.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.6895, allocations: 130.7 kB / 432.9 MB, free: 5.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6895, allocations: 0 / 432.9 MB, free: 5.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005511/0.6901, allocations: 82.05 kB / 433 MB, free: 5.449 MB / 346.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.001673/0.6917, allocations: 1.424 MB / 434.4 MB, free: 4.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007202/0.6925, allocations: 275.3 kB / 434.7 MB, free: 3.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6925, allocations: 4.125 kB / 434.7 MB, free: 3.926 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.6929, allocations: 146.9 kB / 434.8 MB, free: 3.816 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007015/0.6936, allocations: 54.05 kB / 434.9 MB, free: 3.777 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.6961, allocations: 0.9735 MB / 435.9 MB, free: 2.836 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.6966, allocations: 0.7884 MB / 436.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002359/0.6969, allocations: 34.95 kB / 436.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.6971, allocations: 94.91 kB / 436.8 MB, free: 1.941 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6971, allocations: 0 / 436.8 MB, free: 1.941 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.726, allocations: 5.489 MB / 442.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.7264, allocations: 161.9 kB / 442.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/3.532, allocations: 3.938 kB / 442.4 MB, free: 12.32 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat