Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.593e-05/4.594e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.5354, allocations: 75.98 MB / 393 MB, free: 11.67 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.5357, allocations: 63.84 kB / 393.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0253/0.5611, allocations: 4.556 MB / 397.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5611, allocations: 0 / 397.6 MB, free: 7.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.236e-05/0.5612, allocations: 4 kB / 397.6 MB, free: 7.816 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.001239/0.5624, allocations: 0.496 MB / 398.1 MB, free: 7.293 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.5625, allocations: 11.97 kB / 398.1 MB, free: 7.281 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.5627, allocations: 62.41 kB / 398.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.5628, allocations: 27.72 kB / 398.2 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.5632, allocations: 237.5 kB / 398.4 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/0.5633, allocations: 20.81 kB / 398.5 MB, free: 6.926 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.5634, allocations: 31.83 kB / 398.5 MB, free: 6.906 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/0.5642, allocations: 249.8 kB / 398.7 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.5643, allocations: 3.906 kB / 398.7 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.5643, allocations: 11.62 kB / 398.8 MB, free: 6.719 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.5644, allocations: 4 kB / 398.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006319/0.565, allocations: 169.8 kB / 398.9 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.567, allocations: 0.7514 MB / 399.7 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008213/0.5678, allocations: 260.9 kB / 399.9 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.5682, allocations: 114.4 kB / 400 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.5683, allocations: 4 kB / 400 MB, free: 5.641 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.5684, allocations: 45.73 kB / 400.1 MB, free: 5.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 4.589e-06/0.5684, allocations: 0 / 400.1 MB, free: 5.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.005467/0.5739, allocations: 1.62 MB / 401.7 MB, free: 4.039 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.574, allocations: 81.11 kB / 401.8 MB, free: 3.941 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.5743, allocations: 163.9 kB / 402 MB, free: 3.793 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.5744, allocations: 35.95 kB / 402 MB, free: 3.758 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.5745, allocations: 136.2 kB / 402.1 MB, free: 3.641 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.5748, allocations: 170.7 kB / 402.3 MB, free: 3.492 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.5748, allocations: 14.5 kB / 402.3 MB, free: 3.488 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.5751, allocations: 335.8 kB / 402.6 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.5755, allocations: 98.19 kB / 402.7 MB, free: 3.098 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.5759, allocations: 145.6 kB / 402.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.5763, allocations: 127.8 kB / 403 MB, free: 2.902 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.5763, allocations: 3.953 kB / 403 MB, free: 2.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008634/0.5772, allocations: 348.5 kB / 403.3 MB, free: 2.637 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.5772, allocations: 8 kB / 403.3 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.5772, allocations: 0 / 403.3 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.5773, allocations: 11.92 kB / 403.4 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008203/0.5781, allocations: 98.91 kB / 403.5 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.5781, allocations: 4 kB / 403.5 MB, free: 2.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.5784, allocations: 16.19 kB / 403.5 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.5785, allocations: 14.86 kB / 403.5 MB, free: 2.5 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.0001546/0.5786, allocations: 128.2 kB / 403.6 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.5788, allocations: 31.67 kB / 403.6 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.5789, allocations: 36.59 kB / 403.7 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5789, allocations: 4 kB / 403.7 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.5789, allocations: 8 kB / 403.7 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.579, allocations: 3.984 kB / 403.7 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.5811, allocations: 0.9482 MB / 404.6 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.5811, allocations: 3.984 kB / 404.6 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009022/0.582, allocations: 91.28 kB / 404.7 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.825e-05/0.5821, allocations: 7.953 kB / 404.7 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.022e-05/0.5821, allocations: 10.75 kB / 404.8 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/0.5821, allocations: 7.984 kB / 404.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5822, allocations: 0 / 404.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.5834, allocations: 0.6612 MB / 405.4 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.5835, allocations: 104.7 kB / 405.5 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.5836, allocations: 9.375 kB / 405.5 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.5839, allocations: 10.25 kB / 405.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.584, allocations: 27.16 kB / 405.6 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.584, allocations: 10.94 kB / 405.6 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.5842, allocations: 137.4 kB / 405.7 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5842, allocations: 0 / 405.7 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005782/0.5848, allocations: 85.7 kB / 405.8 MB, free: 476 kB / 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.001752/0.5866, allocations: 1.419 MB / 407.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008568/0.5875, allocations: 283.3 kB / 407.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.5875, allocations: 0 / 407.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000356/0.5879, allocations: 150.1 kB / 407.6 MB, free: 14.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000785/0.5887, allocations: 53.33 kB / 407.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.5913, allocations: 0.9787 MB / 408.7 MB, free: 13.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.5919, allocations: 0.7811 MB / 409.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002516/0.5921, allocations: 30.97 kB / 409.5 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.5923, allocations: 99.72 kB / 409.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.392e-06/0.5924, allocations: 0 / 409.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.6236, allocations: 5.486 MB / 415.1 MB, free: 7.535 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003847/0.6241, allocations: 169.1 kB / 415.2 MB, free: 7.301 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.284, allocations: 0 / 415.2 MB, free: 7.301 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat