Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestBearingConversion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestBearingConversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.696/2.696, allocations: 270 MB / 283.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.587e-05, allocations: 4 kB / 348.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4002, allocations: 61.86 MB / 410.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.606, allocations: 103.2 MB / 0.5015 GB, free: 3.309 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.6063, allocations: 67.97 kB / 0.5015 GB, free: 3.242 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7188/1.325, allocations: 66.24 MB / 0.5662 GB, free: 76.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.444e-06/1.325, allocations: 0 / 0.5662 GB, free: 76.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003001/1.326, allocations: 71.98 kB / 0.5663 GB, free: 75.95 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.01269/1.338, allocations: 2.871 MB / 0.5691 GB, free: 73.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.338, allocations: 8.031 kB / 0.5691 GB, free: 73.02 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001268/1.34, allocations: 396.3 kB / 0.5695 GB, free: 72.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/1.343, allocations: 407.9 kB / 0.5699 GB, free: 72.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/1.347, allocations: 1.294 MB / 0.5711 GB, free: 70.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001314/1.348, allocations: 0.5845 MB / 0.5717 GB, free: 70.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/1.349, allocations: 311.6 kB / 0.572 GB, free: 69.92 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009865/1.359, allocations: 3.127 MB / 0.5751 GB, free: 66.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002364/1.36, allocations: 43.62 kB / 0.5751 GB, free: 66.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005594/1.36, allocations: 116 kB / 0.5752 GB, free: 66.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.245e-05/1.36, allocations: 72 kB / 0.5753 GB, free: 66.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009032/1.369, allocations: 3.035 MB / 0.5782 GB, free: 63.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/1.395, allocations: 9.796 MB / 0.5878 GB, free: 53.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/1.406, allocations: 2.886 MB / 0.5906 GB, free: 50.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00526/1.412, allocations: 1.55 MB / 0.5921 GB, free: 48.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005611/1.412, allocations: 228 kB / 0.5924 GB, free: 48.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.195e-05/1.412, allocations: 93.11 kB / 0.5924 GB, free: 48.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=366): time 7.324e-06/1.412, allocations: 7.938 kB / 0.5925 GB, free: 48.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=429): time 0.03938/1.452, allocations: 17.38 MB / 0.6094 GB, free: 29.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/1.452, allocations: 0.6122 MB / 0.61 GB, free: 29.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/1.455, allocations: 1.291 MB / 0.6113 GB, free: 27.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001071/1.456, allocations: 129.8 kB / 0.6114 GB, free: 27.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009147/1.457, allocations: 0.8958 MB / 0.6123 GB, free: 26.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002166/1.459, allocations: 1.436 MB / 0.6137 GB, free: 25.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009263/1.46, allocations: 87.98 kB / 0.6138 GB, free: 25.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003/1.46, allocations: 471 kB / 0.6142 GB, free: 24.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004551/1.465, allocations: 1.344 MB / 0.6155 GB, free: 23.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005355/1.47, allocations: 2.043 MB / 0.6175 GB, free: 21.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004392/1.475, allocations: 1.371 MB / 0.6189 GB, free: 19.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.911e-05/1.475, allocations: 4 kB / 0.6189 GB, free: 19.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01535/1.49, allocations: 4.582 MB / 0.6233 GB, free: 15.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/1.49, allocations: 12 kB / 0.6234 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.225e-05/1.49, allocations: 20 kB / 0.6234 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006366/1.497, allocations: 1.737 MB / 0.6251 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006288/1.503, allocations: 0.8074 MB / 0.6259 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02612/1.529, allocations: 16.24 MB / 0.6417 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006006/1.535, allocations: 388.1 kB / 0.6421 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/1.537, allocations: 179.9 kB / 0.6423 GB, free: 10.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.001307/1.538, allocations: 360.2 kB / 0.6426 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/1.539, allocations: 296.5 kB / 0.6429 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006141/1.546, allocations: 1.533 MB / 0.6444 GB, free: 8.609 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.473e-05/1.546, allocations: 48 kB / 0.6444 GB, free: 8.562 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.57e-05/1.546, allocations: 4 kB / 0.6444 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001696/1.546, allocations: 23.92 kB / 0.6445 GB, free: 8.535 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.03414/1.58, allocations: 10.04 MB / 0.6543 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.699e-05/1.58, allocations: 12 kB / 0.6543 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006994/1.587, allocations: 0.7297 MB / 0.655 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00687/1.594, allocations: 1.607 MB / 0.6566 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/1.595, allocations: 131.9 kB / 0.6567 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02905/1.624, allocations: 15.72 MB / 0.672 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-05/1.624, allocations: 15.94 kB / 0.6721 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02285/1.647, allocations: 7.848 MB / 0.6797 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003149/1.65, allocations: 0.7002 MB / 0.6804 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001677/1.652, allocations: 112 kB / 0.6805 GB, free: 2.031 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006421/1.659, allocations: 355.8 kB / 0.6808 GB, free: 1.684 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002641/1.661, allocations: 0.6211 MB / 0.6815 GB, free: 1.062 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009447/1.662, allocations: 167.9 kB / 0.6816 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002505/1.665, allocations: 0.981 MB / 0.6826 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.22e-07/1.665, allocations: 0 / 0.6826 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007614/1.673, allocations: 0.9843 MB / 0.6835 GB, free: 14.94 MB / 0.4948 GB 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.02461/1.697, allocations: 11.33 MB / 0.6946 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0135/1.711, allocations: 4.519 MB / 0.699 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.698e-05/1.711, allocations: 4 kB / 0.699 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01318/1.724, allocations: 3.655 MB / 0.7026 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005293/1.729, allocations: 382 kB / 0.703 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0264/1.756, allocations: 7.548 MB / 0.7103 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002515/1.758, allocations: 1.904 MB / 0.7122 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003301/1.762, allocations: 450.8 kB / 0.7126 GB, free: 464 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3772/2.139, allocations: 1.135 MB / 0.7137 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/2.139, allocations: 0.5625 kB / 0.7137 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1921/2.331, allocations: 73.98 MB / 0.786 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/2.331, allocations: 183.9 kB / 0.7861 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.483/8.814, allocations: 0 / 0.7861 GB, free: 102.3 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.TestBearingConversion_res.mat does not exist to compare? outputFormat=mat