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.746/1.746, allocations: 171.2 MB / 178.8 MB, free: 8.203 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.654e-05, allocations: 0 / 219.6 MB, free: 11.37 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.08902, allocations: 38.77 MB / 258.3 MB, free: 4.531 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3856/0.4747, allocations: 66.05 MB / 324.4 MB, free: 5.527 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.475, allocations: 70.56 kB / 324.4 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01973/0.4948, allocations: 4.425 MB / 328.9 MB, free: 1.871 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.629e-06/0.4948, allocations: 0 / 328.9 MB, free: 1.871 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.4948, allocations: 7.938 kB / 328.9 MB, free: 1.863 MB / 266.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.0009597/0.4958, allocations: 0.4887 MB / 329.4 MB, free: 1.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4959, allocations: 8.031 kB / 329.4 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.971e-05/0.496, allocations: 31.62 kB / 329.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.4963, allocations: 242.1 kB / 329.6 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.4964, allocations: 8 kB / 329.6 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.4964, allocations: 19.95 kB / 329.7 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004549/0.4969, allocations: 157.8 kB / 329.8 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/0.4974, allocations: 208.4 kB / 330 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.4975, allocations: 3.906 kB / 330 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.4975, allocations: 7.984 kB / 330 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4975, allocations: 4 kB / 330 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.499, allocations: 0.6991 MB / 330.7 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.4996, allocations: 242.7 kB / 331 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.4998, allocations: 104.3 kB / 331.1 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.4999, allocations: 4 kB / 331.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.4999, allocations: 41.94 kB / 331.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 3.276e-06/0.5, allocations: 4 kB / 331.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=48): time 0.003296/0.5033, allocations: 1.481 MB / 332.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.5033, allocations: 81.11 kB / 332.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.5035, allocations: 139.6 kB / 332.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.5036, allocations: 25.7 kB / 332.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.5037, allocations: 204.7 kB / 333 MB, free: 13.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.5039, allocations: 170 kB / 333.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.5039, allocations: 0 / 333.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5041, allocations: 329.5 kB / 333.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.5043, allocations: 93.62 kB / 333.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.5046, allocations: 140 kB / 333.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.5049, allocations: 115.9 kB / 333.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.505, allocations: 0 / 333.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007202/0.5057, allocations: 302.9 kB / 334.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.5057, allocations: 12.02 kB / 334.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5057, allocations: 4 kB / 334.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5058, allocations: 0 / 334.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.5065, allocations: 103.8 kB / 334.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.5065, allocations: 0 / 334.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.5067, allocations: 4 kB / 334.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.5068, allocations: 15.75 kB / 334.3 MB, free: 12.82 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.0001288/0.5069, allocations: 120.8 kB / 334.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006807/0.5076, allocations: 275.6 kB / 334.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.577e-05/0.5077, allocations: 35.58 kB / 334.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.993e-05/0.5079, allocations: 31.41 kB / 334.8 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.5079, allocations: 4 kB / 334.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.5079, allocations: 4 kB / 334.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.5079, allocations: 3.984 kB / 334.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.5097, allocations: 0.8575 MB / 335.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.5097, allocations: 4 kB / 335.6 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.5106, allocations: 91.22 kB / 335.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.557e-06/0.5106, allocations: 0 / 335.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.5106, allocations: 8.047 kB / 335.7 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.5107, allocations: 11.95 kB / 335.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.5107, allocations: 0 / 335.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.5117, allocations: 0.6276 MB / 336.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.5118, allocations: 100.8 kB / 336.5 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.5119, allocations: 4 kB / 336.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.5122, allocations: 3.984 kB / 336.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.5123, allocations: 23.72 kB / 336.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.5123, allocations: 11.88 kB / 336.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.5125, allocations: 125.3 kB / 336.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.254e-06/0.5125, allocations: 0 / 336.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000561/0.513, allocations: 71.92 kB / 336.7 MB, free: 10.68 MB / 282.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.001437/0.5145, allocations: 1.386 MB / 338.1 MB, free: 9.375 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006676/0.5152, allocations: 261.6 kB / 338.3 MB, free: 9.191 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5152, allocations: 0 / 338.3 MB, free: 9.191 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.5155, allocations: 141 kB / 338.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.5163, allocations: 47.61 kB / 338.5 MB, free: 9.051 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.5189, allocations: 0.9591 MB / 339.5 MB, free: 8.094 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.5194, allocations: 0.7881 MB / 340.3 MB, free: 7.277 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.5196, allocations: 95.84 kB / 340.4 MB, free: 7.242 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5197, allocations: 0 / 340.4 MB, free: 7.242 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.603/3.123, allocations: 4.785 MB / 345.2 MB, free: 2.512 MB / 282.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