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.894/1.894, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.41e-05/4.407e-05, allocations: 4 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2785, allocations: 38.77 MB / 263.8 MB, free: 9.75 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.4032, allocations: 66.39 MB / 330.2 MB, free: 7.266 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.4035, allocations: 59.97 kB / 330.3 MB, free: 7.207 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02064/0.4242, allocations: 4.463 MB / 334.8 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4242, allocations: 0 / 334.8 MB, free: 2.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.4243, allocations: 8 kB / 334.8 MB, free: 2.715 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.001071/0.4253, allocations: 0.4945 MB / 335.3 MB, free: 2.172 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.4254, allocations: 12.03 kB / 335.3 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.4255, allocations: 66.52 kB / 335.3 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.452e-05/0.4256, allocations: 31.62 kB / 335.4 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.426, allocations: 234.7 kB / 335.6 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.4261, allocations: 20.52 kB / 335.6 MB, free: 1.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.4262, allocations: 39.83 kB / 335.7 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.4268, allocations: 233.5 kB / 335.9 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.4269, allocations: 4 kB / 335.9 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.4269, allocations: 8 kB / 335.9 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.4269, allocations: 8 kB / 335.9 MB, free: 1.465 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/0.4274, allocations: 167.9 kB / 336.1 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.4291, allocations: 0.7578 MB / 336.8 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.4298, allocations: 265 kB / 337.1 MB, free: 216 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.4301, allocations: 118.3 kB / 337.2 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.4302, allocations: 4 kB / 337.2 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.4302, allocations: 46.41 kB / 337.3 MB, free: 32 kB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.246e-06/0.4302, allocations: 0 / 337.3 MB, free: 32 kB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.004115/0.4343, allocations: 1.613 MB / 338.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.4345, allocations: 89.11 kB / 339 MB, free: 14.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.4347, allocations: 158.6 kB / 339.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.4348, allocations: 33.7 kB / 339.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.4349, allocations: 195.2 kB / 339.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.4351, allocations: 177.3 kB / 339.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.4352, allocations: 12 kB / 339.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4353, allocations: 330.8 kB / 339.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.4356, allocations: 97.12 kB / 339.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.436, allocations: 144.4 kB / 340.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.4364, allocations: 130.2 kB / 340.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4364, allocations: 0 / 340.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008864/0.4373, allocations: 342.5 kB / 340.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.4373, allocations: 7.938 kB / 340.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.4373, allocations: 4.062 kB / 340.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.4374, allocations: 4 kB / 340.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007745/0.4381, allocations: 99.89 kB / 340.6 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.4382, allocations: 4 kB / 340.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.4384, allocations: 12 kB / 340.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.4385, allocations: 12 kB / 340.7 MB, free: 12.38 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.0001502/0.4386, allocations: 124.9 kB / 340.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4388, allocations: 35.58 kB / 340.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.4389, allocations: 41.64 kB / 340.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.4389, allocations: 12 kB / 340.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4389, allocations: 0 / 340.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.439, allocations: 0 / 340.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.441, allocations: 0.9437 MB / 341.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4411, allocations: 0 / 341.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008566/0.442, allocations: 95.89 kB / 341.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/0.442, allocations: 4 kB / 341.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.442, allocations: 11.95 kB / 341.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/0.4421, allocations: 8 kB / 341.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4421, allocations: 0 / 341.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.4433, allocations: 0.6718 MB / 342.6 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.4435, allocations: 100.7 kB / 342.7 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.4435, allocations: 16 kB / 342.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.4438, allocations: 8 kB / 342.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.4439, allocations: 27.95 kB / 342.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.444, allocations: 12 kB / 342.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.4441, allocations: 131.4 kB / 342.9 MB, free: 10 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4442, allocations: 0 / 342.9 MB, free: 10 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005692/0.4447, allocations: 84 kB / 343 MB, free: 9.918 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.001784/0.4465, allocations: 1.424 MB / 344.4 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007663/0.4473, allocations: 286.8 kB / 344.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.4474, allocations: 0 / 344.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.4477, allocations: 151.7 kB / 344.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007138/0.4484, allocations: 59.8 kB / 344.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.4511, allocations: 0.9945 MB / 345.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.4516, allocations: 0.7806 MB / 346.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.4518, allocations: 95.41 kB / 346.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of SimCode: time 1.703e-06/0.4519, allocations: 0 / 346.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.454/2.906, allocations: 4.845 MB / 351.6 MB, free: 1.172 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