Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.786/1.786, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.527e-05, allocations: 0 / 225.1 MB, free: 2.629 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2669, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.3872, allocations: 66.39 MB / 330.2 MB, free: 7.379 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.3875, allocations: 59.97 kB / 330.3 MB, free: 7.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02002/0.4075, allocations: 4.463 MB / 334.7 MB, free: 2.832 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4076, allocations: 0 / 334.7 MB, free: 2.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.4076, allocations: 4 kB / 334.7 MB, free: 2.828 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.0009763/0.4086, allocations: 0.4946 MB / 335.2 MB, free: 2.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4087, allocations: 8.031 kB / 335.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.994e-05/0.4088, allocations: 62.48 kB / 335.3 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.848e-05/0.4089, allocations: 35.62 kB / 335.3 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.4092, allocations: 238.7 kB / 335.6 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.4093, allocations: 20.52 kB / 335.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.4094, allocations: 31.89 kB / 335.6 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/0.41, allocations: 250.6 kB / 335.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.41, allocations: 4 kB / 335.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.4101, allocations: 12 kB / 335.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4101, allocations: 4 kB / 335.9 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.4106, allocations: 167.9 kB / 336 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.4122, allocations: 0.7653 MB / 336.8 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/0.4128, allocations: 265.1 kB / 337.1 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.4131, allocations: 123.1 kB / 337.2 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.4132, allocations: 7.906 kB / 337.2 MB, free: 180 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.4132, allocations: 38.5 kB / 337.2 MB, free: 132 kB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.517e-06/0.4132, allocations: 0 / 337.2 MB, free: 132 kB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.004027/0.4173, allocations: 1.626 MB / 338.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.4174, allocations: 81.11 kB / 338.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.4176, allocations: 162.6 kB / 339.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.4177, allocations: 33.64 kB / 339.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.4178, allocations: 195.2 kB / 339.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.418, allocations: 177.4 kB / 339.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.4181, allocations: 8 kB / 339.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4182, allocations: 334.8 kB / 339.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.4185, allocations: 101.1 kB / 339.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.4188, allocations: 145.5 kB / 340.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.4192, allocations: 118.3 kB / 340.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.4192, allocations: 4 kB / 340.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008637/0.4201, allocations: 346.4 kB / 340.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.4201, allocations: 8.062 kB / 340.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.4202, allocations: 3.938 kB / 340.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.4202, allocations: 4 kB / 340.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007596/0.421, allocations: 103.9 kB / 340.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.421, allocations: 0 / 340.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.4212, allocations: 12 kB / 340.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.4213, allocations: 16 kB / 340.7 MB, free: 12.46 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.0001401/0.4214, allocations: 124.9 kB / 340.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4216, allocations: 31.58 kB / 340.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.4217, allocations: 49.64 kB / 340.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.4217, allocations: 4 kB / 340.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4217, allocations: 0 / 340.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4218, allocations: 0 / 340.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.4238, allocations: 0.9437 MB / 341.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4239, allocations: 4 kB / 341.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008608/0.4247, allocations: 95.89 kB / 341.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.4248, allocations: 4 kB / 341.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.4248, allocations: 15.95 kB / 341.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.4248, allocations: 0 / 341.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.4248, allocations: 8 kB / 341.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.4261, allocations: 0.6679 MB / 342.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4263, allocations: 108.7 kB / 342.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.4263, allocations: 12 kB / 342.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.4266, allocations: 4 kB / 342.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.4267, allocations: 27.97 kB / 342.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.4268, allocations: 15.98 kB / 342.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.4269, allocations: 135.4 kB / 342.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4269, allocations: 0 / 342.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005475/0.4275, allocations: 80 kB / 343 MB, free: 10 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.001635/0.4291, allocations: 1.417 MB / 344.4 MB, free: 8.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007541/0.4299, allocations: 290.7 kB / 344.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.43, allocations: 3.938 kB / 344.7 MB, free: 8.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003414/0.4303, allocations: 152.7 kB / 344.8 MB, free: 8.105 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007023/0.431, allocations: 57.36 kB / 344.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.4337, allocations: 0.9988 MB / 345.9 MB, free: 7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.4341, allocations: 0.7845 MB / 346.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.4344, allocations: 95.41 kB / 346.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.4344, allocations: 0 / 346.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.483/2.918, allocations: 4.867 MB / 351.6 MB, free: 1.223 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat