Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestBearingConversion,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_TestBearingConversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.677/2.677, allocations: 235 MB / 247.2 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.278e-05/4.299e-05, allocations: 4 kB / 305 MB, free: 5.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4034, allocations: 54.85 MB / 359.8 MB, free: 3.051 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.5866, allocations: 96.28 MB / 456.1 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.587, allocations: 63.97 kB / 456.2 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3199/0.9069, allocations: 63.76 MB / 0.5078 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.907, allocations: 0 / 0.5078 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002551/0.9073, allocations: 71.98 kB / 0.5078 GB, free: 0.6172 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 719 * Number of variables: 719 Notification: Performance of Generate backend data structure: time 0.01415/0.9215, allocations: 2.871 MB / 0.5106 GB, free: 13.69 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.9215, allocations: 8.031 kB / 0.5106 GB, free: 13.68 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001604/0.9231, allocations: 396.3 kB / 0.511 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.9258, allocations: 415.8 kB / 0.5114 GB, free: 12.88 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004976/0.9308, allocations: 1.29 MB / 0.5127 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001626/0.9325, allocations: 0.5806 MB / 0.5132 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/0.9341, allocations: 311.6 kB / 0.5135 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.9462, allocations: 3.172 MB / 0.5166 GB, free: 7.301 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002652/0.9465, allocations: 31.7 kB / 0.5167 GB, free: 7.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005575/0.9471, allocations: 123.9 kB / 0.5168 GB, free: 7.148 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.369e-05/0.9472, allocations: 75.98 kB / 0.5169 GB, free: 7.074 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.9574, allocations: 3.086 MB / 0.5199 GB, free: 3.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3647/1.322, allocations: 9.769 MB / 0.5294 GB, free: 111.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00857/1.331, allocations: 2.919 MB / 0.5323 GB, free: 110.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005137/1.336, allocations: 1.568 MB / 0.5338 GB, free: 110.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007374/1.337, allocations: 224.7 kB / 0.534 GB, free: 110.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.365e-05/1.337, allocations: 91.98 kB / 0.5341 GB, free: 110.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=366): time 8.656e-06/1.337, allocations: 0 / 0.5341 GB, free: 110.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=429): time 0.0447/1.382, allocations: 17.44 MB / 0.5511 GB, free: 101.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002305/1.382, allocations: 0.6173 MB / 0.5517 GB, free: 100.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/1.385, allocations: 1.294 MB / 0.553 GB, free: 100.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00113/1.386, allocations: 123.9 kB / 0.5531 GB, free: 100.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009619/1.387, allocations: 0.8973 MB / 0.554 GB, free: 100.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00218/1.389, allocations: 1.44 MB / 0.5554 GB, free: 99.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005033/1.39, allocations: 84.5 kB / 0.5555 GB, free: 98.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002803/1.39, allocations: 475.3 kB / 0.5559 GB, free: 98.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004106/1.394, allocations: 1.345 MB / 0.5572 GB, free: 98.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004915/1.399, allocations: 2.077 MB / 0.5593 GB, free: 96.72 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004214/1.404, allocations: 1.372 MB / 0.5606 GB, free: 96.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/1.404, allocations: 11.66 kB / 0.5606 GB, free: 96.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01454/1.418, allocations: 4.618 MB / 0.5651 GB, free: 94.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/1.418, allocations: 12.53 kB / 0.5651 GB, free: 94.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.828e-05/1.418, allocations: 19.97 kB / 0.5652 GB, free: 94.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006357/1.425, allocations: 1.733 MB / 0.5669 GB, free: 94.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006143/1.431, allocations: 0.8028 MB / 0.5676 GB, free: 93.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03989/1.471, allocations: 16.24 MB / 0.5835 GB, free: 80.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00881/1.48, allocations: 379.8 kB / 0.5839 GB, free: 80.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/1.482, allocations: 184.3 kB / 0.584 GB, free: 80.83 MB / 458.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 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,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,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,bearingFriction.free,bearingFriction1.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 6,1 12,1 6,1 6,2 22,2 22,2 25,2 24} Notification: Performance of prepare postOptimizeDAE: time 0.002666/1.484, allocations: 373.5 kB / 0.5844 GB, free: 80.53 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002624/1.487, allocations: 285.4 kB / 0.5847 GB, free: 80.39 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008995/1.496, allocations: 1.536 MB / 0.5862 GB, free: 79.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.182e-05/1.496, allocations: 46.09 kB / 0.5862 GB, free: 79.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-05/1.496, allocations: 7.531 kB / 0.5862 GB, free: 79.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001559/1.496, allocations: 22.95 kB / 0.5862 GB, free: 79.66 MB / 458.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.03533/1.532, allocations: 10.08 MB / 0.5961 GB, free: 74.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.715e-05/1.532, allocations: 13.89 kB / 0.5961 GB, free: 74.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006638/1.539, allocations: 0.7388 MB / 0.5968 GB, free: 74.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00611/1.545, allocations: 1.59 MB / 0.5984 GB, free: 74.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001113/1.546, allocations: 142.1 kB / 0.5985 GB, free: 74.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02369/1.57, allocations: 15.7 MB / 0.6138 GB, free: 59.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/1.57, allocations: 15.94 kB / 0.6139 GB, free: 59.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/1.587, allocations: 7.856 MB / 0.6215 GB, free: 52.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002643/1.59, allocations: 0.6981 MB / 0.6222 GB, free: 51.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/1.591, allocations: 116 kB / 0.6223 GB, free: 51.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005629/1.596, allocations: 351.4 kB / 0.6227 GB, free: 51.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002202/1.599, allocations: 0.6129 MB / 0.6232 GB, free: 50.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000538/1.599, allocations: 169.8 kB / 0.6234 GB, free: 50.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002106/1.601, allocations: 0.9822 MB / 0.6244 GB, free: 49.76 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.601, allocations: 0 / 0.6244 GB, free: 49.76 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006891/1.608, allocations: 0.9962 MB / 0.6253 GB, free: 48.78 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (303): * Single equations (assignments): 293 * 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.02123/1.629, allocations: 11.31 MB / 0.6364 GB, free: 37.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01229/1.642, allocations: 4.668 MB / 0.6409 GB, free: 33.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/1.642, allocations: 8.125 kB / 0.641 GB, free: 33.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01125/1.653, allocations: 3.731 MB / 0.6446 GB, free: 29.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004938/1.658, allocations: 390 kB / 0.645 GB, free: 29.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02373/1.682, allocations: 7.602 MB / 0.6524 GB, free: 22.31 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001864/1.684, allocations: 1.897 MB / 0.6542 GB, free: 20.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003213/1.687, allocations: 453.1 kB / 0.6547 GB, free: 20.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003002/1.69, allocations: 1.133 MB / 0.6558 GB, free: 19.45 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/1.69, allocations: 4 kB / 0.6558 GB, free: 19.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5444/2.235, allocations: 74.23 MB / 0.7283 GB, free: 129.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/2.235, allocations: 188.2 kB / 0.7285 GB, free: 129.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/8.872, allocations: 0 / 0.7285 GB, free: 129.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion_res.mat does not exist to compare? outputFormat=mat