Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.255/2.255, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.352e-05, allocations: 1.375 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5784/0.6815, allocations: 72.72 MB / 367 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003894/0.682, allocations: 76.66 kB / 367.1 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03046/0.7125, allocations: 3.994 MB / 371.1 MB, free: 22.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.7125, allocations: 0 / 371.1 MB, free: 22.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.579e-05/0.7126, allocations: 5.312 kB / 371.1 MB, free: 22.63 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.001476/0.7141, allocations: 0.4919 MB / 371.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.7142, allocations: 11.36 kB / 371.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.7143, allocations: 34.88 kB / 371.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004456/0.7148, allocations: 229.3 kB / 371.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.7148, allocations: 11.69 kB / 371.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.715, allocations: 18.31 kB / 371.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006766/0.7157, allocations: 134 kB / 372 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.7164, allocations: 167.2 kB / 372.2 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.7165, allocations: 3.75 kB / 372.2 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.7166, allocations: 7.984 kB / 372.2 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.7166, allocations: 7.75 kB / 372.2 MB, free: 21.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.7191, allocations: 0.6943 MB / 372.9 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/0.72, allocations: 189.5 kB / 373.1 MB, free: 21.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.7203, allocations: 97.22 kB / 373.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/0.7204, allocations: 3.906 kB / 373.2 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.7204, allocations: 37.69 kB / 373.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 5.42e-06/0.7205, allocations: 0 / 373.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.002646/0.7231, allocations: 0.7683 MB / 374 MB, free: 21.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.7232, allocations: 55.25 kB / 374 MB, free: 20.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.7234, allocations: 128.8 kB / 374.2 MB, free: 20.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.7235, allocations: 29.7 kB / 374.2 MB, free: 20.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.7236, allocations: 139.6 kB / 374.3 MB, free: 20.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.7238, allocations: 98.42 kB / 374.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.7238, allocations: 3.875 kB / 374.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.7241, allocations: 332.5 kB / 374.7 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.7243, allocations: 52.56 kB / 374.8 MB, free: 20.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.7247, allocations: 85.19 kB / 374.9 MB, free: 20.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.725, allocations: 68.53 kB / 374.9 MB, free: 20.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.725, allocations: 3.844 kB / 374.9 MB, free: 20.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008341/0.7259, allocations: 211.2 kB / 375.2 MB, free: 20.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.726, allocations: 6.062 kB / 375.2 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.726, allocations: 7.047 kB / 375.2 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.726, allocations: 3.844 kB / 375.2 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009811/0.727, allocations: 81.55 kB / 375.3 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.7271, allocations: 0 / 375.3 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.7275, allocations: 14.69 kB / 375.3 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/0.7276, allocations: 15.05 kB / 375.3 MB, free: 20.24 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.0001898/0.7278, allocations: 112.2 kB / 375.4 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007328/0.7286, allocations: 178 kB / 375.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/0.7287, allocations: 19.47 kB / 375.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.7289, allocations: 27.61 kB / 375.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.7289, allocations: 3.875 kB / 375.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.7289, allocations: 0 / 375.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.7289, allocations: 0 / 375.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/0.7337, allocations: 0.5592 MB / 376.2 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.7338, allocations: 8 kB / 376.2 MB, free: 19.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.7351, allocations: 77.42 kB / 376.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.7351, allocations: 0 / 376.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.7352, allocations: 3.844 kB / 376.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.7352, allocations: 3.047 kB / 376.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.7352, allocations: 0 / 376.3 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.7364, allocations: 409.2 kB / 376.7 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.7366, allocations: 88.7 kB / 376.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/0.7367, allocations: 6.5 kB / 376.8 MB, free: 19.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.7372, allocations: 10.45 kB / 376.8 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.7373, allocations: 20.14 kB / 376.8 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.7374, allocations: 7.938 kB / 376.8 MB, free: 19.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001601/0.7376, allocations: 106.5 kB / 376.9 MB, free: 19.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.7376, allocations: 0 / 376.9 MB, free: 19.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.01156/0.7492, allocations: 54.28 kB / 376.9 MB, free: 19.36 MB / 314.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.004332/0.7536, allocations: 1.084 MB / 378 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006743/0.7543, allocations: 156.8 kB / 378.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.7543, allocations: 0 / 378.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.7546, allocations: 87.44 kB / 378.3 MB, free: 18.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008221/0.7555, allocations: 35.14 kB / 378.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/0.7696, allocations: 0.7284 MB / 379 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00367/0.7733, allocations: 0.7587 MB / 379.8 MB, free: 17.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002255/0.7736, allocations: 18.45 kB / 379.8 MB, free: 17.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.7738, allocations: 72.31 kB / 379.9 MB, free: 17.27 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.7738, allocations: 0 / 379.9 MB, free: 17.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06444/0.8383, allocations: 3.543 MB / 383.4 MB, free: 16.6 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003131/0.8387, allocations: 153.8 kB / 383.6 MB, free: 16.4 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.107/3.946, allocations: 0 / 383.6 MB, free: 16.4 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat