Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.58e-05/4.593e-05, allocations: 7.984 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4015, allocations: 54.86 MB / 359.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1767/0.5783, allocations: 96.84 MB / 456.7 MB, free: 116 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.5786, allocations: 75.95 kB / 456.8 MB, free: 40 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2756/0.8543, allocations: 64.49 MB / 0.509 GB, free: 15.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.8543, allocations: 0 / 0.509 GB, free: 15.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002035/0.8546, allocations: 68 kB / 0.5091 GB, free: 15.04 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.01361/0.8682, allocations: 3.351 MB / 0.5124 GB, free: 11.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.8683, allocations: 12.03 kB / 0.5124 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002999/0.8713, allocations: 0.6799 MB / 0.5131 GB, free: 10.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01521/0.8865, allocations: 2.028 MB / 0.515 GB, free: 8.887 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007149/0.8937, allocations: 1.942 MB / 0.5169 GB, free: 6.895 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004702/0.8943, allocations: 279.2 kB / 0.5172 GB, free: 6.621 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/0.8966, allocations: 363.8 kB / 0.5176 GB, free: 6.266 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3534/1.25, allocations: 10.34 MB / 0.5276 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000316/1.25, allocations: 50.28 kB / 0.5277 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002037/1.252, allocations: 179 kB / 0.5279 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002782/1.255, allocations: 0.9792 MB / 0.5288 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03257/1.288, allocations: 8.73 MB / 0.5373 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06459/1.353, allocations: 43.36 MB / 0.5797 GB, free: 77.42 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01684/1.369, allocations: 3.968 MB / 0.5836 GB, free: 75.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004211/1.374, allocations: 2.2 MB / 0.5857 GB, free: 74.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/1.385, allocations: 5.119 MB / 0.5907 GB, free: 72.08 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/1.386, allocations: 55.03 kB / 0.5908 GB, free: 72.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=161): time 7.294e-06/1.386, allocations: 3.906 kB / 0.5908 GB, free: 72.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=204): time 0.1027/1.488, allocations: 21.11 MB / 0.6114 GB, free: 65.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/1.488, allocations: 149.2 kB / 0.6115 GB, free: 65.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006099/1.495, allocations: 2.795 MB / 0.6142 GB, free: 64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005664/1.495, allocations: 58.81 kB / 0.6143 GB, free: 63.94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002278/1.497, allocations: 2.56 MB / 0.6168 GB, free: 61.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001378/1.499, allocations: 0.7666 MB / 0.6176 GB, free: 61.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008365/1.5, allocations: 114.3 kB / 0.6177 GB, free: 61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004944/1.5, allocations: 0.5443 MB / 0.6182 GB, free: 60.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005894/1.506, allocations: 2.419 MB / 0.6206 GB, free: 58.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007906/1.514, allocations: 5.564 MB / 0.626 GB, free: 51.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007879/1.522, allocations: 3.662 MB / 0.6296 GB, free: 48.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.96e-05/1.522, allocations: 32 kB / 0.6296 GB, free: 48.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.02323/1.545, allocations: 8.244 MB / 0.6376 GB, free: 41.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.195e-05/1.546, allocations: 53.53 kB / 0.6377 GB, free: 41.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/1.546, allocations: 112 kB / 0.6378 GB, free: 40.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004733/1.551, allocations: 1.048 MB / 0.6388 GB, free: 40.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008847/1.559, allocations: 1.318 MB / 0.6401 GB, free: 39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007561/1.567, allocations: 5.362 MB / 0.6454 GB, free: 33.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006527/1.574, allocations: 310.1 kB / 0.6456 GB, free: 33.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/1.575, allocations: 339.2 kB / 0.646 GB, free: 33.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 24 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (686): * Single equations (assignments): 679 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00134/1.576, allocations: 0.5144 MB / 0.6465 GB, free: 32.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008083/1.577, allocations: 296.1 kB / 0.6468 GB, free: 32.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/1.59, allocations: 4.344 MB / 0.651 GB, free: 28.17 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.994e-05/1.59, allocations: 20 kB / 0.651 GB, free: 28.15 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/1.59, allocations: 4 kB / 0.651 GB, free: 28.15 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.328e-05/1.59, allocations: 11.97 kB / 0.651 GB, free: 28.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02551/1.616, allocations: 9.327 MB / 0.6601 GB, free: 18.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.943e-05/1.616, allocations: 0 / 0.6601 GB, free: 18.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003859/1.62, allocations: 359.4 kB / 0.6605 GB, free: 18.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004268/1.624, allocations: 0.8702 MB / 0.6613 GB, free: 17.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005503/1.625, allocations: 40.7 kB / 0.6614 GB, free: 17.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006416/1.631, allocations: 4.721 MB / 0.666 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.631, allocations: 3.75 kB / 0.666 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01689/1.648, allocations: 7.608 MB / 0.6734 GB, free: 4.863 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002484/1.651, allocations: 0.7197 MB / 0.6741 GB, free: 4.121 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009876/1.652, allocations: 32 kB / 0.6741 GB, free: 4.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003181/1.655, allocations: 117.1 kB / 0.6743 GB, free: 3.977 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005892/1.655, allocations: 125 kB / 0.6744 GB, free: 3.852 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002493/1.656, allocations: 55.94 kB / 0.6744 GB, free: 3.801 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004549/1.66, allocations: 1.916 MB / 0.6763 GB, free: 1.883 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.66, allocations: 0 / 0.6763 GB, free: 1.883 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006475/1.667, allocations: 0.9362 MB / 0.6772 GB, free: 0.9531 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (171): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0208/1.688, allocations: 8.448 MB / 0.6855 GB, free: 8.453 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01719/1.705, allocations: 6.154 MB / 0.6915 GB, free: 2.266 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.705, allocations: 0 / 0.6915 GB, free: 2.266 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008191/1.713, allocations: 2.643 MB / 0.6941 GB, free: 15.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/1.716, allocations: 282.6 kB / 0.6943 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03227/1.748, allocations: 9.119 MB / 0.7032 GB, free: 6.176 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006868/1.755, allocations: 2.932 MB / 0.7061 GB, free: 3.234 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004978/1.76, allocations: 1.604 MB / 0.7077 GB, free: 1.629 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/1.76, allocations: 0 / 0.7077 GB, free: 1.629 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.765/6.526, allocations: 132.7 MB / 0.8373 GB, free: 46.56 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat