Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.827/1.827, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.344e-05, allocations: 0 / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2701, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.3957, allocations: 65.72 MB / 324.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.3961, allocations: 63.97 kB / 324.1 MB, free: 12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0201/0.4162, allocations: 4.416 MB / 328.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4163, allocations: 0 / 328.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.648e-05/0.4163, allocations: 11.98 kB / 328.5 MB, free: 7.551 MB / 282.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.001051/0.4174, allocations: 0.4906 MB / 329 MB, free: 7.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.4175, allocations: 8.031 kB / 329 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.4176, allocations: 35.61 kB / 329.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.418, allocations: 234.6 kB / 329.3 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.418, allocations: 12 kB / 329.3 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.648e-05/0.4181, allocations: 23.88 kB / 329.3 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004788/0.4186, allocations: 153.1 kB / 329.5 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.4191, allocations: 205.5 kB / 329.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.4192, allocations: 7.906 kB / 329.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.4192, allocations: 0 / 329.7 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.4192, allocations: 4 kB / 329.7 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.4209, allocations: 0.6996 MB / 330.4 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/0.4215, allocations: 252.6 kB / 330.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.4218, allocations: 105.7 kB / 330.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.4219, allocations: 4 kB / 330.8 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.4219, allocations: 43.02 kB / 330.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 4.107e-06/0.4219, allocations: 0 / 330.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.003551/0.4255, allocations: 1.482 MB / 332.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.4256, allocations: 85.11 kB / 332.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.4258, allocations: 133.9 kB / 332.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.4259, allocations: 29.7 kB / 332.5 MB, free: 3.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.426, allocations: 144.9 kB / 332.7 MB, free: 3.035 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.4262, allocations: 173.4 kB / 332.8 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.4262, allocations: 0 / 332.8 MB, free: 2.863 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4264, allocations: 330.8 kB / 333.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.4267, allocations: 89.12 kB / 333.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.427, allocations: 136.4 kB / 333.4 MB, free: 2.293 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.4273, allocations: 114.3 kB / 333.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.4274, allocations: 0 / 333.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000836/0.4282, allocations: 322.3 kB / 333.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.4283, allocations: 11.89 kB / 333.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4283, allocations: 0 / 333.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.4283, allocations: 4 kB / 333.8 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007892/0.4291, allocations: 99.89 kB / 333.9 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.4291, allocations: 4 kB / 333.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.4294, allocations: 4.062 kB / 333.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.4294, allocations: 16 kB / 333.9 MB, free: 1.727 MB / 282.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.000135/0.4296, allocations: 114.2 kB / 334.1 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007226/0.4303, allocations: 280.9 kB / 334.3 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.4304, allocations: 31.67 kB / 334.4 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.4306, allocations: 33.95 kB / 334.4 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.4306, allocations: 4 kB / 334.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4306, allocations: 0 / 334.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4306, allocations: 3.984 kB / 334.4 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.4326, allocations: 0.863 MB / 335.3 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.4327, allocations: 3.938 kB / 335.3 MB, free: 352 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008691/0.4335, allocations: 95.89 kB / 335.4 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.535e-05/0.4336, allocations: 4 kB / 335.4 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.4336, allocations: 4 kB / 335.4 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.4336, allocations: 3.953 kB / 335.4 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.4336, allocations: 4 kB / 335.4 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.4348, allocations: 0.6328 MB / 336 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4349, allocations: 96.83 kB / 336.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.721e-05/0.435, allocations: 0 / 336.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.4353, allocations: 0 / 336.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/0.4354, allocations: 35.95 kB / 336.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.4355, allocations: 12 kB / 336.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.4356, allocations: 120.8 kB / 336.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.4356, allocations: 4 kB / 336.3 MB, free: 15.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005612/0.4362, allocations: 60 kB / 336.3 MB, free: 15.22 MB / 298.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.001535/0.4378, allocations: 1.376 MB / 337.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006937/0.4385, allocations: 262.8 kB / 338 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4385, allocations: 3.938 kB / 338 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.4388, allocations: 147.9 kB / 338.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.4396, allocations: 44.22 kB / 338.2 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.4421, allocations: 0.9362 MB / 339.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.4426, allocations: 0.7842 MB / 339.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.4428, allocations: 27.28 kB / 339.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.4431, allocations: 95.41 kB / 340 MB, free: 11.43 MB / 298.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4431, allocations: 0 / 340 MB, free: 11.43 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04095/0.4841, allocations: 5.038 MB / 345 MB, free: 6.41 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002864/0.4844, allocations: 152.6 kB / 345.2 MB, free: 6.215 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.106, allocations: 0 / 345.2 MB, free: 6.215 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat