Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestBearingConversion,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_TestBearingConversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.386e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1188, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4809/0.5997, allocations: 89.98 MB / 411.9 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.6, allocations: 67.95 kB / 411.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3195/0.9196, allocations: 63.81 MB / 475.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.9196, allocations: 0 / 475.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002582/0.9199, allocations: 63.98 kB / 475.8 MB, free: 15.48 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 717 * Number of variables: 717 Notification: Performance of Generate backend data structure: time 0.01446/0.9344, allocations: 2.914 MB / 478.7 MB, free: 12.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.9345, allocations: 8.031 kB / 478.7 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001603/0.9361, allocations: 396.3 kB / 479.1 MB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/0.9392, allocations: 407.8 kB / 479.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005146/0.9444, allocations: 1.302 MB / 480.8 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001576/0.9461, allocations: 0.5806 MB / 481.4 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/0.9478, allocations: 303.7 kB / 481.7 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/0.9602, allocations: 3.151 MB / 484.8 MB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002926/0.9606, allocations: 39.55 kB / 484.9 MB, free: 6.113 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008302/0.9614, allocations: 124 kB / 485 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.255e-05/0.9615, allocations: 72 kB / 485.1 MB, free: 5.922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.9719, allocations: 3.121 MB / 488.2 MB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03117/1.003, allocations: 9.635 MB / 497.8 MB, free: 8.938 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00852/1.012, allocations: 2.868 MB / 0.489 GB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005148/1.017, allocations: 1.559 MB / 0.4905 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005089/1.017, allocations: 57.47 kB / 0.4905 GB, free: 4.242 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.919e-05/1.018, allocations: 95.52 kB / 0.4906 GB, free: 4.137 MB / 426.7 MB Notification: Performance of pre-optimization done (n=359): time 7.204e-06/1.018, allocations: 0 / 0.4906 GB, free: 4.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=421): time 0.3281/1.346, allocations: 17.03 MB / 0.5072 GB, free: 103.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001983/1.346, allocations: 0.5612 MB / 0.5078 GB, free: 102.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003317/1.349, allocations: 1.353 MB / 0.5091 GB, free: 102.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001075/1.35, allocations: 121.9 kB / 0.5092 GB, free: 102.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009953/1.351, allocations: 0.9163 MB / 0.5101 GB, free: 102.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00244/1.354, allocations: 1.413 MB / 0.5115 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007059/1.355, allocations: 87.64 kB / 0.5116 GB, free: 101.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003228/1.355, allocations: 467.1 kB / 0.512 GB, free: 101 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004994/1.36, allocations: 1.396 MB / 0.5134 GB, free: 101 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006254/1.366, allocations: 2.099 MB / 0.5155 GB, free: 100.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00499/1.371, allocations: 1.412 MB / 0.5168 GB, free: 100.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.075e-05/1.372, allocations: 5.016 kB / 0.5168 GB, free: 100.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.01803/1.39, allocations: 4.914 MB / 0.5216 GB, free: 99.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/1.39, allocations: 16.36 kB / 0.5217 GB, free: 99.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-05/1.39, allocations: 17.12 kB / 0.5217 GB, free: 99.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007207/1.397, allocations: 1.97 MB / 0.5236 GB, free: 99.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006272/1.403, allocations: 0.8147 MB / 0.5244 GB, free: 99.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02521/1.429, allocations: 16.38 MB / 0.5404 GB, free: 86.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005831/1.434, allocations: 372.7 kB / 0.5407 GB, free: 86.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/1.436, allocations: 192.7 kB / 0.5409 GB, free: 86.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 60 (gear2_2.lossyGear.tau_aPos,gear2_2.lossyGear.startForward,gear2_2.lossyGear.startBackward,gear2_2.lossyGear.locked,$PRE.gear2_2.lossyGear.mode,gear2_2.lossyGear.mode,gear2_2.lossyGear.ideal,gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.mode,gear2_1.lossyGear.ideal,lossyGear1.tau_aPos,lossyGear1.startForward,lossyGear1.startBackward,lossyGear1.locked,$PRE.lossyGear1.mode,lossyGear1.mode,lossyGear1.ideal,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,$PRE.lossyGear.mode,lossyGear.mode,lossyGear.ideal,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode,bearingFriction.free,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 391 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 8 {2 22,2 22,2 25,2 24,1 6,1 6,1 12,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.001474/1.437, allocations: 363.8 kB / 0.5413 GB, free: 86.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001411/1.439, allocations: 284.4 kB / 0.5415 GB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/1.44, allocations: 0.6131 MB / 0.5421 GB, free: 86.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.121e-05/1.44, allocations: 43.47 kB / 0.5422 GB, free: 86.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.934e-05/1.441, allocations: 6.812 kB / 0.5422 GB, free: 86.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-05/1.441, allocations: 24.27 kB / 0.5422 GB, free: 86.04 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03084/1.471, allocations: 10.15 MB / 0.5521 GB, free: 81.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.558e-05/1.472, allocations: 7.125 kB / 0.5521 GB, free: 81.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006665/1.478, allocations: 0.7282 MB / 0.5528 GB, free: 81.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006427/1.485, allocations: 1.842 MB / 0.5546 GB, free: 80.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009983/1.486, allocations: 141.2 kB / 0.5548 GB, free: 80.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02338/1.509, allocations: 15.83 MB / 0.5702 GB, free: 67.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/1.509, allocations: 12.5 kB / 0.5702 GB, free: 67.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02003/1.529, allocations: 7.836 MB / 0.5779 GB, free: 63.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002896/1.532, allocations: 0.7168 MB / 0.5786 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/1.534, allocations: 121.4 kB / 0.5787 GB, free: 62.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005955/1.54, allocations: 347.7 kB / 0.579 GB, free: 62.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002445/1.542, allocations: 0.6019 MB / 0.5796 GB, free: 62.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000616/1.543, allocations: 163.5 kB / 0.5798 GB, free: 62.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002179/1.545, allocations: 1.015 MB / 0.5808 GB, free: 61.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.545, allocations: 0 / 0.5808 GB, free: 61.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007255/1.552, allocations: 1.016 MB / 0.5818 GB, free: 60.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 40 (slidingMass1.s,slidingMass1.v,slidingMass.s,slidingMass.v,inertia21.phi,inertia21.w,linearSpeedDependentTorque.phi,inertia20.w,position4.phi,position4.w,position5.phi,position5.w,position2.phi,position2.w,position3.phi,position3.w,gear2_2.phi_rel,gear2_2.w_rel,inertia11.phi,inertia11.w,position.phi,position.w,position1.phi,position1.w,gear2_1.phi_rel,gear2_1.w_rel,inertia9.phi,inertia9.w,inertia7.phi,inertia7.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,brake1.phi,inertia3.w,inertia.phi,inertia.w,inertia1.w,bearingFriction1.phi) * Number of discrete variables: 38 (gear2_2.lossyGear.tau_aPos,gear2_2.lossyGear.startForward,gear2_2.lossyGear.startBackward,gear2_2.lossyGear.locked,gear2_2.lossyGear.mode,gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,gear2_1.lossyGear.mode,lossyGear1.tau_aPos,lossyGear1.startForward,lossyGear1.startBackward,lossyGear1.locked,lossyGear1.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 16 (bearingFriction1.mode,bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward,lossyGear.mode,lossyGear1.mode,gear2_1.lossyGear.mode,gear2_2.lossyGear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (299): * Single equations (assignments): 289 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 8 {2 21,2 21,2 23,2 23,1 5,1 5,1 9,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02197/1.574, allocations: 10.95 MB / 0.5925 GB, free: 49.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01214/1.586, allocations: 4.495 MB / 0.5969 GB, free: 45.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/1.587, allocations: 0 / 0.5969 GB, free: 45.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01139/1.598, allocations: 3.553 MB / 0.6003 GB, free: 42.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005079/1.603, allocations: 373.6 kB / 0.6007 GB, free: 41.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02514/1.628, allocations: 7.581 MB / 0.6081 GB, free: 35.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002051/1.63, allocations: 1.901 MB / 0.6099 GB, free: 33.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003548/1.634, allocations: 459.3 kB / 0.6104 GB, free: 33.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003233/1.637, allocations: 1.138 MB / 0.6115 GB, free: 32.13 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/1.637, allocations: 0 / 0.6115 GB, free: 32.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5147/2.152, allocations: 73.84 MB / 0.6836 GB, free: 113.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/2.152, allocations: 180 kB / 0.6838 GB, free: 113.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/8.901, allocations: 0 / 0.6838 GB, free: 113.3 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.TestBearingConversion_res.mat does not exist to compare? outputFormat=mat