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 2.028/2.028, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.331e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3456, allocations: 44.5 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1535/0.4991, allocations: 71.02 MB / 365.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.4995, allocations: 63.95 kB / 365.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02578/0.5253, allocations: 4.418 MB / 369.7 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5253, allocations: 0 / 369.7 MB, free: 6.383 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.5254, allocations: 7.938 kB / 369.7 MB, free: 6.375 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.001292/0.5267, allocations: 0.4945 MB / 370.2 MB, free: 5.836 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.5268, allocations: 8.031 kB / 370.2 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.5269, allocations: 27.72 kB / 370.2 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004764/0.5274, allocations: 238.5 kB / 370.5 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.5275, allocations: 8 kB / 370.5 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.765e-05/0.5276, allocations: 16 kB / 370.5 MB, free: 5.504 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006639/0.5282, allocations: 161 kB / 370.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007517/0.529, allocations: 209.5 kB / 370.9 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/0.5291, allocations: 0 / 370.9 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.5291, allocations: 4 kB / 370.9 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.5292, allocations: 8 kB / 370.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.5312, allocations: 0.6956 MB / 371.6 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007739/0.532, allocations: 249.6 kB / 371.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.5324, allocations: 110.3 kB / 371.9 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.404e-05/0.5325, allocations: 4 kB / 371.9 MB, free: 4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.5325, allocations: 38.47 kB / 372 MB, free: 3.953 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 4.839e-06/0.5325, allocations: 0 / 372 MB, free: 3.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.004581/0.5371, allocations: 1.493 MB / 373.5 MB, free: 2.285 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.5373, allocations: 89.11 kB / 373.5 MB, free: 2.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.5375, allocations: 141.8 kB / 373.7 MB, free: 2.031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.5376, allocations: 25.7 kB / 373.7 MB, free: 2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.5378, allocations: 203.4 kB / 373.9 MB, free: 1.797 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.538, allocations: 165.5 kB / 374.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.5381, allocations: 0 / 374.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5383, allocations: 330.8 kB / 374.4 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.5386, allocations: 89.12 kB / 374.5 MB, free: 1.211 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.5391, allocations: 140.4 kB / 374.6 MB, free: 1.059 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.5395, allocations: 114.3 kB / 374.7 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.5396, allocations: 4 kB / 374.7 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00107/0.5406, allocations: 302.7 kB / 375 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.5407, allocations: 4 kB / 375 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5407, allocations: 0 / 375 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.5408, allocations: 8.062 kB / 375 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.5418, allocations: 107.8 kB / 375.1 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.5418, allocations: 0 / 375.1 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.5422, allocations: 4 kB / 375.1 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/0.5422, allocations: 12 kB / 375.2 MB, free: 0.5117 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.0001834/0.5424, allocations: 126.2 kB / 375.3 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009937/0.5434, allocations: 273.1 kB / 375.5 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.5436, allocations: 31.66 kB / 375.6 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.5438, allocations: 29.97 kB / 375.6 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.5438, allocations: 8 kB / 375.6 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.5438, allocations: 7.938 kB / 375.6 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.5439, allocations: 3.984 kB / 375.6 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.5465, allocations: 0.8629 MB / 376.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.5465, allocations: 4 kB / 376.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.5477, allocations: 99.83 kB / 376.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.5477, allocations: 0 / 376.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/0.5478, allocations: 8 kB / 376.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.5478, allocations: 4 kB / 376.6 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.5478, allocations: 0 / 376.6 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.5494, allocations: 0.6213 MB / 377.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.5496, allocations: 100.7 kB / 377.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.5498, allocations: 11.92 kB / 377.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.5503, allocations: 4 kB / 377.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5504, allocations: 31.78 kB / 377.4 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.5505, allocations: 12 kB / 377.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.5507, allocations: 115.3 kB / 377.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.5507, allocations: 0 / 377.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009718/0.5517, allocations: 60 kB / 377.5 MB, free: 13.99 MB / 330.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.002354/0.5541, allocations: 1.388 MB / 378.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.5552, allocations: 262.9 kB / 379.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.5552, allocations: 0 / 379.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.5558, allocations: 139.7 kB / 379.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.5569, allocations: 39.09 kB / 379.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/0.5612, allocations: 0.9583 MB / 380.3 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/0.562, allocations: 0.7881 MB / 381.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.5623, allocations: 99.33 kB / 381.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5624, allocations: 0 / 381.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.46/3.022, allocations: 4.797 MB / 386 MB, free: 5.406 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