Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.043/2.043, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.633e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4067/0.5219, allocations: 74.18 MB / 390.5 MB, free: 2.367 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5222, allocations: 67.27 kB / 390.5 MB, free: 2.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02923/0.5514, allocations: 6.815 MB / 397.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5515, allocations: 0 / 397.4 MB, free: 12.87 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.126e-05/0.5515, allocations: 8 kB / 397.4 MB, free: 12.86 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001253/0.5528, allocations: 0.6081 MB / 398 MB, free: 12.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.5528, allocations: 8.031 kB / 398 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.553, allocations: 51.44 kB / 398 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.5532, allocations: 218.6 kB / 398.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.65e-05/0.5533, allocations: 16 kB / 398.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.5534, allocations: 39.47 kB / 398.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006014/0.554, allocations: 213 kB / 398.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/0.5549, allocations: 386.5 kB / 398.9 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.5549, allocations: 7.906 kB / 398.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.555, allocations: 0 / 398.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.555, allocations: 15.98 kB / 398.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003275/0.5583, allocations: 1.629 MB / 400.5 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.559, allocations: 374.3 kB / 400.9 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.5593, allocations: 135.5 kB / 401 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.5594, allocations: 8 kB / 401 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.5594, allocations: 51.92 kB / 401.1 MB, free: 9.309 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.246e-06/0.5594, allocations: 0 / 401.1 MB, free: 9.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008076/0.5602, allocations: 242.4 kB / 401.3 MB, free: 9.105 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.5604, allocations: 261 kB / 401.6 MB, free: 8.789 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.5607, allocations: 208.3 kB / 401.8 MB, free: 8.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.5607, allocations: 29.69 kB / 401.8 MB, free: 8.582 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.561, allocations: 302.8 kB / 402.1 MB, free: 8.316 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.5612, allocations: 174.2 kB / 402.3 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.5612, allocations: 3.938 kB / 402.3 MB, free: 8.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5614, allocations: 333.5 kB / 402.6 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.5616, allocations: 102.9 kB / 402.7 MB, free: 7.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.5622, allocations: 384 kB / 403.1 MB, free: 7.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.5626, allocations: 169.6 kB / 403.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.5626, allocations: 8 kB / 403.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001143/0.5638, allocations: 477.8 kB / 403.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.5638, allocations: 12.94 kB / 403.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.5639, allocations: 8 kB / 403.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.135e-05/0.5639, allocations: 16 kB / 403.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.565, allocations: 179.2 kB / 403.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/0.5651, allocations: 19.94 kB / 404 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.5656, allocations: 47.38 kB / 404 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.5656, allocations: 34.06 kB / 404 MB, free: 6.504 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0001739/0.5658, allocations: 123.4 kB / 404.2 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007943/0.5666, allocations: 258.9 kB / 404.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.5669, allocations: 35.75 kB / 404.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.567, allocations: 36.7 kB / 404.5 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.567, allocations: 8 kB / 404.5 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.567, allocations: 7.938 kB / 404.5 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.5671, allocations: 0 / 404.5 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.5686, allocations: 352.8 kB / 404.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.5686, allocations: 4 kB / 404.9 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.5699, allocations: 127.6 kB / 405 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.722e-05/0.5699, allocations: 7.984 kB / 405 MB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.57, allocations: 7.125 kB / 405 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.57, allocations: 11.94 kB / 405 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.57, allocations: 4 kB / 405 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.5713, allocations: 1.131 MB / 406.1 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.5714, allocations: 108.8 kB / 406.2 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.305e-05/0.5715, allocations: 15.42 kB / 406.3 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006625/0.5722, allocations: 4 kB / 406.3 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.5723, allocations: 39.28 kB / 406.3 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.5723, allocations: 15.25 kB / 406.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000187/0.5725, allocations: 146.5 kB / 406.5 MB, free: 4.176 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5725, allocations: 0 / 406.5 MB, free: 4.176 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001355/0.5739, allocations: 139.5 kB / 406.6 MB, free: 4.039 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.001833/0.5757, allocations: 2.226 MB / 408.8 MB, free: 1.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008134/0.5766, allocations: 287.2 kB / 409.1 MB, free: 1.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5766, allocations: 0 / 409.1 MB, free: 1.625 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.5769, allocations: 116.7 kB / 409.2 MB, free: 1.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.5782, allocations: 68.05 kB / 409.3 MB, free: 1.484 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/0.5835, allocations: 2.118 MB / 411.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.5841, allocations: 0.8392 MB / 412.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.5844, allocations: 143.6 kB / 412.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5845, allocations: 0 / 412.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.45/3.035, allocations: 6.691 MB / 419.1 MB, free: 7.84 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat