Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.154e-05, allocations: 0 / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09513/0.0952, allocations: 44.51 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.5249, allocations: 71.69 MB / 371.6 MB, free: 21.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5253, allocations: 61.78 kB / 371.7 MB, free: 21.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02082/0.5461, allocations: 4.461 MB / 376.2 MB, free: 20.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5462, allocations: 1.062 kB / 376.2 MB, free: 20.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.5462, allocations: 6.672 kB / 376.2 MB, free: 20.83 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.001015/0.5472, allocations: 0.4942 MB / 376.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.5473, allocations: 8.75 kB / 376.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.5474, allocations: 58.73 kB / 376.7 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.5475, allocations: 32.23 kB / 376.8 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.5479, allocations: 240.2 kB / 377 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.5479, allocations: 18.75 kB / 377 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.548, allocations: 26.47 kB / 377 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006178/0.5486, allocations: 241.6 kB / 377.3 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.5487, allocations: 2.047 kB / 377.3 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.902e-05/0.5488, allocations: 13.09 kB / 377.3 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.5488, allocations: 6.281 kB / 377.3 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.5493, allocations: 172.1 kB / 377.5 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.5509, allocations: 0.7534 MB / 378.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.5516, allocations: 256.4 kB / 378.5 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.5519, allocations: 115.9 kB / 378.6 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.552, allocations: 4.469 kB / 378.6 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.552, allocations: 43.86 kB / 378.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.497e-06/0.552, allocations: 0 / 378.6 MB, free: 19.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.003976/0.556, allocations: 1.622 MB / 380.3 MB, free: 18.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.5561, allocations: 86.73 kB / 380.3 MB, free: 18.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.5563, allocations: 159.5 kB / 380.5 MB, free: 18.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.5564, allocations: 35.05 kB / 380.5 MB, free: 18.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.5565, allocations: 201.7 kB / 380.7 MB, free: 18.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.5567, allocations: 173 kB / 380.9 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.5567, allocations: 8.562 kB / 380.9 MB, free: 18.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.614e-05/0.5568, allocations: 333.4 kB / 381.2 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.5571, allocations: 102.8 kB / 381.3 MB, free: 17.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.5574, allocations: 144.5 kB / 381.5 MB, free: 17.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.5577, allocations: 126.9 kB / 381.6 MB, free: 17.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5578, allocations: 0 / 381.6 MB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008299/0.5586, allocations: 344.8 kB / 381.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.5586, allocations: 5.75 kB / 381.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.5587, allocations: 2.297 kB / 381.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.233e-05/0.5587, allocations: 3.25 kB / 381.9 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009918/0.5597, allocations: 105.2 kB / 382 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.5598, allocations: 2.812 kB / 382.1 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.5601, allocations: 9.594 kB / 382.1 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.5601, allocations: 18.03 kB / 382.1 MB, free: 17.68 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.0001285/0.5603, allocations: 132.1 kB / 382.2 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.5604, allocations: 26.31 kB / 382.2 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.5605, allocations: 38.53 kB / 382.3 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.5605, allocations: 5.562 kB / 382.3 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.5606, allocations: 5.469 kB / 382.3 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.5606, allocations: 6 kB / 382.3 MB, free: 17.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.5626, allocations: 0.9529 MB / 383.2 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.5626, allocations: 5.25 kB / 383.2 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009439/0.5636, allocations: 99.97 kB / 383.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/0.5637, allocations: 2.219 kB / 383.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.5637, allocations: 11.28 kB / 383.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.5637, allocations: 2.562 kB / 383.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.5637, allocations: 2.75 kB / 383.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5649, allocations: 0.6622 MB / 384 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.5651, allocations: 98.72 kB / 384.1 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.5651, allocations: 10.84 kB / 384.1 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.5655, allocations: 5.562 kB / 384.1 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.5655, allocations: 34.28 kB / 384.2 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.5656, allocations: 18.67 kB / 384.2 MB, free: 16.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001426/0.5657, allocations: 125.9 kB / 384.3 MB, free: 16.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5657, allocations: 0 / 384.3 MB, free: 16.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006013/0.5664, allocations: 84.88 kB / 384.4 MB, free: 16.59 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.001865/0.5682, allocations: 1.42 MB / 385.8 MB, free: 31.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008174/0.5691, allocations: 279.9 kB / 386.1 MB, free: 31.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5691, allocations: 0.9688 kB / 386.1 MB, free: 31.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.5695, allocations: 147.7 kB / 386.2 MB, free: 31.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.5703, allocations: 51.17 kB / 386.3 MB, free: 31.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.5729, allocations: 0.9961 MB / 387.3 MB, free: 30.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.5735, allocations: 0.7827 MB / 388.1 MB, free: 30.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.5738, allocations: 97.56 kB / 388.2 MB, free: 30.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.402e-06/0.5738, allocations: 0 / 388.2 MB, free: 30.17 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.484/3.058, allocations: 4.859 MB / 393 MB, free: 29.77 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat