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 1.962/1.962, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.937e-05/3.95e-05, allocations: 4 kB / 273.1 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.5861, allocations: 89.98 MB / 411.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.5864, allocations: 63.97 kB / 411.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3779/0.9644, allocations: 63.81 MB / 475.7 MB, free: 15.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.9645, allocations: 0 / 475.7 MB, free: 15.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002318/0.9647, allocations: 63.98 kB / 475.8 MB, free: 15.52 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.01611/0.9808, allocations: 2.91 MB / 478.7 MB, free: 12.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.363e-05/0.9809, allocations: 12.03 kB / 478.7 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002452/0.9834, allocations: 388.3 kB / 479.1 MB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005562/0.989, allocations: 415.8 kB / 479.5 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006254/0.9953, allocations: 1.302 MB / 480.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001561/0.997, allocations: 0.5806 MB / 481.4 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001492/0.9985, allocations: 307.7 kB / 481.7 MB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/1.01, allocations: 3.176 MB / 484.8 MB, free: 6.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002435/1.01, allocations: 47.55 kB / 484.9 MB, free: 6.109 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005576/1.011, allocations: 120 kB / 485 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.798e-05/1.011, allocations: 68 kB / 485.1 MB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/1.021, allocations: 3.16 MB / 488.2 MB, free: 2.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03056/1.052, allocations: 9.639 MB / 497.9 MB, free: 8.898 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008693/1.061, allocations: 2.906 MB / 0.489 GB, free: 5.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00513/1.066, allocations: 1.579 MB / 0.4906 GB, free: 4.203 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/1.066, allocations: 57.03 kB / 0.4906 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/1.067, allocations: 92.33 kB / 0.4907 GB, free: 4.051 MB / 426.7 MB Notification: Performance of pre-optimization done (n=359): time 7.534e-06/1.067, allocations: 0 / 0.4907 GB, free: 4.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=421): time 0.3298/1.396, allocations: 17.05 MB / 0.5074 GB, free: 103.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002247/1.397, allocations: 0.5662 MB / 0.5079 GB, free: 102.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003657/1.4, allocations: 1.349 MB / 0.5092 GB, free: 102.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001072/1.401, allocations: 119.7 kB / 0.5093 GB, free: 102.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/1.403, allocations: 0.9187 MB / 0.5102 GB, free: 102 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002377/1.405, allocations: 1.412 MB / 0.5116 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009776/1.406, allocations: 86.05 kB / 0.5117 GB, free: 101.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003946/1.406, allocations: 468.1 kB / 0.5122 GB, free: 101 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005228/1.412, allocations: 1.394 MB / 0.5135 GB, free: 100.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00612/1.418, allocations: 2.133 MB / 0.5156 GB, free: 100.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005071/1.423, allocations: 1.406 MB / 0.517 GB, free: 100.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.678e-05/1.423, allocations: 4.438 kB / 0.517 GB, free: 100.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.01784/1.441, allocations: 4.976 MB / 0.5218 GB, free: 99.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/1.441, allocations: 11.62 kB / 0.5218 GB, free: 99.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-05/1.441, allocations: 20.02 kB / 0.5219 GB, free: 99.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007019/1.448, allocations: 1.97 MB / 0.5238 GB, free: 99.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006395/1.455, allocations: 0.8091 MB / 0.5246 GB, free: 99.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02479/1.479, allocations: 16.37 MB / 0.5406 GB, free: 86.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005687/1.485, allocations: 379.5 kB / 0.5409 GB, free: 86.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.486, allocations: 187.7 kB / 0.5411 GB, free: 86.74 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.001163/1.487, allocations: 372 kB / 0.5415 GB, free: 86.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/1.489, allocations: 287.2 kB / 0.5417 GB, free: 86.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/1.49, allocations: 0.609 MB / 0.5423 GB, free: 85.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-05/1.491, allocations: 44.69 kB / 0.5424 GB, free: 85.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-05/1.491, allocations: 3.875 kB / 0.5424 GB, free: 85.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.224e-05/1.491, allocations: 22.89 kB / 0.5424 GB, free: 85.96 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.02995/1.521, allocations: 10.18 MB / 0.5523 GB, free: 81.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.676e-05/1.521, allocations: 11.52 kB / 0.5523 GB, free: 81.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006502/1.527, allocations: 0.7306 MB / 0.5531 GB, free: 81.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006419/1.534, allocations: 1.845 MB / 0.5549 GB, free: 80.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009614/1.535, allocations: 132.9 kB / 0.555 GB, free: 80.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02376/1.559, allocations: 15.83 MB / 0.5704 GB, free: 67.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/1.559, allocations: 9.594 kB / 0.5705 GB, free: 67.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01938/1.578, allocations: 7.844 MB / 0.5781 GB, free: 63.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002903/1.581, allocations: 0.7122 MB / 0.5788 GB, free: 62.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001333/1.582, allocations: 114.5 kB / 0.5789 GB, free: 62.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005942/1.588, allocations: 348.6 kB / 0.5793 GB, free: 62.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002446/1.591, allocations: 0.6053 MB / 0.5798 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008153/1.592, allocations: 165.1 kB / 0.58 GB, free: 62.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002099/1.594, allocations: 1.013 MB / 0.581 GB, free: 61.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.594, allocations: 0 / 0.581 GB, free: 61.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0068/1.601, allocations: 1.01 MB / 0.582 GB, free: 60.44 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.02047/1.621, allocations: 10.96 MB / 0.5927 GB, free: 49.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01157/1.633, allocations: 4.63 MB / 0.5972 GB, free: 45.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/1.633, allocations: 4 kB / 0.5972 GB, free: 45.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01093/1.644, allocations: 3.625 MB / 0.6007 GB, free: 41.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005108/1.649, allocations: 381.5 kB / 0.6011 GB, free: 41.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02431/1.673, allocations: 7.599 MB / 0.6085 GB, free: 34.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/1.675, allocations: 1.906 MB / 0.6104 GB, free: 33.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003446/1.679, allocations: 461.7 kB / 0.6108 GB, free: 32.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003061/1.682, allocations: 1.144 MB / 0.612 GB, free: 31.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/1.682, allocations: 0 / 0.612 GB, free: 31.64 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5185/2.201, allocations: 74.1 MB / 0.6843 GB, free: 114.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/2.201, allocations: 180.7 kB / 0.6845 GB, free: 114 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.368/8.569, allocations: 0 / 0.6845 GB, free: 114 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