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.749/1.749, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.616e-05/4.627e-05, allocations: 7.984 kB / 225.1 MB, free: 2.133 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2832, allocations: 38.76 MB / 263.8 MB, free: 9.793 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.4157, allocations: 66.38 MB / 330.2 MB, free: 7.316 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.416, allocations: 67.95 kB / 330.3 MB, free: 7.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01986/0.4359, allocations: 4.472 MB / 334.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4359, allocations: 0 / 334.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.436, allocations: 4 kB / 334.8 MB, free: 2.75 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.0009649/0.437, allocations: 0.4944 MB / 335.3 MB, free: 2.207 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.437, allocations: 8.031 kB / 335.3 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.4371, allocations: 62.72 kB / 335.3 MB, free: 2.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.4372, allocations: 39.56 kB / 335.4 MB, free: 2.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.4376, allocations: 226.7 kB / 335.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.4376, allocations: 28.52 kB / 335.6 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.4377, allocations: 27.91 kB / 335.6 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/0.4384, allocations: 242.6 kB / 335.9 MB, free: 1.523 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.4384, allocations: 7.984 kB / 335.9 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.4384, allocations: 8 kB / 335.9 MB, free: 1.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.4385, allocations: 8 kB / 335.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.439, allocations: 167.9 kB / 336.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.4406, allocations: 0.7537 MB / 336.8 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/0.4412, allocations: 269 kB / 337.1 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.4416, allocations: 119.4 kB / 337.2 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.4416, allocations: 7.906 kB / 337.2 MB, free: 120 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.4417, allocations: 46.48 kB / 337.3 MB, free: 64 kB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.446e-06/0.4417, allocations: 0 / 337.3 MB, free: 64 kB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.004089/0.4458, allocations: 1.623 MB / 338.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.4459, allocations: 85.11 kB / 339 MB, free: 14.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.4462, allocations: 158.6 kB / 339.1 MB, free: 14.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.4462, allocations: 33.7 kB / 339.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.4463, allocations: 136.8 kB / 339.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.4465, allocations: 177.3 kB / 339.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.4466, allocations: 7.938 kB / 339.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4468, allocations: 342.8 kB / 339.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.4471, allocations: 101.1 kB / 339.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.4474, allocations: 145.5 kB / 340 MB, free: 13.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.4478, allocations: 126.3 kB / 340.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4478, allocations: 0 / 340.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008796/0.4487, allocations: 354.3 kB / 340.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.4487, allocations: 16 kB / 340.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4487, allocations: 0 / 340.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.4488, allocations: 4 kB / 340.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/0.4495, allocations: 103.8 kB / 340.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.4496, allocations: 4 kB / 340.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.4498, allocations: 8 kB / 340.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.4498, allocations: 12 kB / 340.7 MB, free: 12.43 MB / 298.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.0001686/0.45, allocations: 128.9 kB / 340.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.4501, allocations: 31.67 kB / 340.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.4503, allocations: 45.64 kB / 340.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.4503, allocations: 4 kB / 340.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.4503, allocations: 4 kB / 340.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.4504, allocations: 0 / 340.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.4525, allocations: 0.9437 MB / 341.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.4525, allocations: 4 kB / 341.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008518/0.4534, allocations: 91.89 kB / 341.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.4534, allocations: 4 kB / 341.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.536e-05/0.4535, allocations: 15.95 kB / 341.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.657e-06/0.4535, allocations: 4.062 kB / 341.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/0.4535, allocations: 4 kB / 341.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.4548, allocations: 0.6683 MB / 342.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.455, allocations: 96.83 kB / 342.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.4551, allocations: 8 kB / 342.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.4554, allocations: 12 kB / 342.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.4554, allocations: 27.95 kB / 342.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.4555, allocations: 12 kB / 342.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.4557, allocations: 127.4 kB / 342.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4557, allocations: 0 / 342.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005445/0.4562, allocations: 88 kB / 343 MB, free: 9.984 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.001742/0.458, allocations: 1.425 MB / 344.4 MB, free: 8.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007838/0.4588, allocations: 290.7 kB / 344.7 MB, free: 8.234 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.4588, allocations: 0 / 344.7 MB, free: 8.234 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.4592, allocations: 152.6 kB / 344.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007126/0.4599, allocations: 60.05 kB / 344.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.4625, allocations: 0.9814 MB / 345.9 MB, free: 7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.463, allocations: 0.7806 MB / 346.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002332/0.4633, allocations: 30.97 kB / 346.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.4635, allocations: 95.41 kB / 346.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4635, allocations: 0 / 346.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.498, allocations: 5.518 MB / 352.3 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/0.4983, allocations: 173.9 kB / 352.4 MB, free: 380 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/3.148, allocations: 0 / 352.4 MB, free: 380 kB / 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