Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.347e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3051, allocations: 44.49 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4342, allocations: 72.72 MB / 366.9 MB, free: 9.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.4346, allocations: 67.97 kB / 367 MB, free: 9.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.4516, allocations: 4.01 MB / 371 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4517, allocations: 0 / 371 MB, free: 5.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.04e-05/0.4517, allocations: 4 kB / 371 MB, free: 5.086 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009536/0.4527, allocations: 0.4906 MB / 371.5 MB, free: 4.551 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.4527, allocations: 8.031 kB / 371.5 MB, free: 4.543 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.485e-05/0.4528, allocations: 31.62 kB / 371.5 MB, free: 4.512 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.4532, allocations: 235.1 kB / 371.8 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.4532, allocations: 8 kB / 371.8 MB, free: 4.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.4533, allocations: 16 kB / 371.8 MB, free: 4.215 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004144/0.4537, allocations: 133.1 kB / 371.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.4542, allocations: 179.8 kB / 372.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.4542, allocations: 4 kB / 372.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.4543, allocations: 0 / 372.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.4543, allocations: 4 kB / 372.1 MB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.4559, allocations: 0.6987 MB / 372.8 MB, free: 3.148 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005301/0.4564, allocations: 191.6 kB / 373 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.4567, allocations: 92.84 kB / 373.1 MB, free: 2.859 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.4567, allocations: 4 kB / 373.1 MB, free: 2.855 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.4567, allocations: 38.5 kB / 373.1 MB, free: 2.809 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.035e-06/0.4568, allocations: 4 kB / 373.1 MB, free: 2.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001596/0.4584, allocations: 0.7611 MB / 373.9 MB, free: 1.957 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.4584, allocations: 59.41 kB / 373.9 MB, free: 1.887 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.4586, allocations: 133.1 kB / 374.1 MB, free: 1.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.4586, allocations: 25.7 kB / 374.1 MB, free: 1.719 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.4587, allocations: 202.7 kB / 374.3 MB, free: 1.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.4589, allocations: 102.5 kB / 374.4 MB, free: 1.418 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.4589, allocations: 0 / 374.4 MB, free: 1.418 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.459, allocations: 322.8 kB / 374.7 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.4592, allocations: 56 kB / 374.8 MB, free: 1.039 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.4594, allocations: 92 kB / 374.9 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.4596, allocations: 67.92 kB / 374.9 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4596, allocations: 3.938 kB / 374.9 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005039/0.4601, allocations: 209.4 kB / 375.1 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4602, allocations: 4 kB / 375.1 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4602, allocations: 8.078 kB / 375.1 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.4602, allocations: 4 kB / 375.1 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005628/0.4608, allocations: 75.89 kB / 375.2 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.4608, allocations: 4 kB / 375.2 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.461, allocations: 15.98 kB / 375.2 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.4611, allocations: 4 kB / 375.2 MB, free: 0.543 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 (35): * Single equations (assignments): 35 * 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.0001068/0.4612, allocations: 116.7 kB / 375.4 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004234/0.4616, allocations: 185.4 kB / 375.5 MB, free: 240 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.4617, allocations: 15.81 kB / 375.5 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.956e-05/0.4618, allocations: 25.91 kB / 375.6 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4618, allocations: 0 / 375.6 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4618, allocations: 0 / 375.6 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.4618, allocations: 7.984 kB / 375.6 MB, free: 188 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.463, allocations: 0.5591 MB / 376.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.463, allocations: 0 / 376.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/0.4637, allocations: 79.89 kB / 376.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.4637, allocations: 0 / 376.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.4637, allocations: 4 kB / 376.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.231e-05/0.4638, allocations: 0 / 376.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4638, allocations: 0 / 376.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.4645, allocations: 405.7 kB / 376.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.4646, allocations: 88.92 kB / 376.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.4646, allocations: 4 kB / 376.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.4649, allocations: 19.94 kB / 376.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.465, allocations: 19.98 kB / 376.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.465, allocations: 4 kB / 376.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.931e-05/0.4651, allocations: 103.3 kB / 376.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4651, allocations: 0 / 376.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000483/0.4656, allocations: 52 kB / 376.9 MB, free: 14.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.001038/0.4667, allocations: 1.075 MB / 378 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004283/0.4671, allocations: 163.9 kB / 378.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4671, allocations: 0 / 378.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.4673, allocations: 88.06 kB / 378.2 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.4678, allocations: 33.88 kB / 378.3 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.4699, allocations: 0.7687 MB / 379 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.4703, allocations: 0.7598 MB / 379.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.4705, allocations: 75.41 kB / 379.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4705, allocations: 0 / 379.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.414/2.885, allocations: 3.721 MB / 383.6 MB, free: 7.965 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat