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.057/2.057, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.634e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3985/0.5052, allocations: 71.69 MB / 371.7 MB, free: 21.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.5056, allocations: 66.25 kB / 371.7 MB, free: 21.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01949/0.5251, allocations: 4.457 MB / 376.2 MB, free: 21.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5251, allocations: 3.938 kB / 376.2 MB, free: 21.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.5252, allocations: 5.75 kB / 376.2 MB, free: 21.25 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.0009054/0.5261, allocations: 0.489 MB / 376.7 MB, free: 20.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.5262, allocations: 8.812 kB / 376.7 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.426e-05/0.5263, allocations: 62.28 kB / 376.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.418e-05/0.5264, allocations: 27.94 kB / 376.8 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.5267, allocations: 241.3 kB / 377 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.5267, allocations: 18.53 kB / 377 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.01e-05/0.5268, allocations: 26.11 kB / 377.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006105/0.5274, allocations: 242.9 kB / 377.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.5274, allocations: 1.344 kB / 377.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.5275, allocations: 17.36 kB / 377.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.5275, allocations: 6.875 kB / 377.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.528, allocations: 168.4 kB / 377.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.53, allocations: 0.7538 MB / 378.2 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008761/0.531, allocations: 259 kB / 378.5 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004334/0.5314, allocations: 119.3 kB / 378.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.955e-05/0.5315, allocations: 7.781 kB / 378.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.5316, allocations: 39.72 kB / 378.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 4.879e-06/0.5316, allocations: 0 / 378.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.00453/0.5361, allocations: 1.621 MB / 380.3 MB, free: 19.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.5363, allocations: 82.55 kB / 380.4 MB, free: 18.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.5365, allocations: 164.5 kB / 380.5 MB, free: 18.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.5365, allocations: 38.33 kB / 380.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/0.5366, allocations: 140.5 kB / 380.7 MB, free: 18.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.5368, allocations: 170.5 kB / 380.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.5368, allocations: 8.5 kB / 380.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.5369, allocations: 343.9 kB / 381.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.5372, allocations: 97.16 kB / 381.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.5376, allocations: 149.8 kB / 381.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.5379, allocations: 125.4 kB / 381.6 MB, free: 18.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.5379, allocations: 0 / 381.6 MB, free: 18.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008359/0.5388, allocations: 353.5 kB / 381.9 MB, free: 18.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.5388, allocations: 6.391 kB / 381.9 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5388, allocations: 1.203 kB / 381.9 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.5389, allocations: 2.844 kB / 381.9 MB, free: 18.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.5397, allocations: 107.5 kB / 382 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.5397, allocations: 7.609 kB / 382 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.54, allocations: 9.938 kB / 382.1 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.54, allocations: 14.3 kB / 382.1 MB, free: 18.15 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.0001192/0.5401, allocations: 132.1 kB / 382.2 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.5402, allocations: 26.64 kB / 382.2 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.5404, allocations: 40.17 kB / 382.3 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.5404, allocations: 5.062 kB / 382.3 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.5404, allocations: 1.734 kB / 382.3 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.5404, allocations: 11.27 kB / 382.3 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.5423, allocations: 0.9479 MB / 383.2 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.5424, allocations: 4.156 kB / 383.2 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008715/0.5432, allocations: 92.86 kB / 383.3 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.5433, allocations: 6.5 kB / 383.3 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.5433, allocations: 12.06 kB / 383.3 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.5433, allocations: 3.031 kB / 383.3 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5434, allocations: 2.25 kB / 383.3 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.5445, allocations: 0.6613 MB / 384 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.5446, allocations: 98.73 kB / 384.1 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.5447, allocations: 17.61 kB / 384.1 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.545, allocations: 6.188 kB / 384.1 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.5451, allocations: 41.66 kB / 384.2 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.5451, allocations: 9.969 kB / 384.2 MB, free: 17.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.5453, allocations: 128.1 kB / 384.3 MB, free: 17.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5453, allocations: 0 / 384.3 MB, free: 17.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006049/0.5459, allocations: 83.19 kB / 384.4 MB, free: 17.06 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.001482/0.5474, allocations: 1.427 MB / 385.8 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007539/0.5482, allocations: 277.2 kB / 386.1 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5482, allocations: 4 kB / 386.1 MB, free: 16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.5486, allocations: 149.5 kB / 386.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.5493, allocations: 46.27 kB / 386.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00231/0.5516, allocations: 0.9672 MB / 387.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000763/0.5524, allocations: 0.7824 MB / 388 MB, free: 30.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002482/0.5527, allocations: 37.38 kB / 388.1 MB, free: 30.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.5529, allocations: 89.95 kB / 388.1 MB, free: 30.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.5529, allocations: 0 / 388.1 MB, free: 30.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.5809, allocations: 5.488 MB / 393.6 MB, free: 30.17 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.5812, allocations: 165.1 kB / 393.8 MB, free: 29.95 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.156, allocations: 0 / 393.8 MB, free: 29.95 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