Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.575/2.575, allocations: 270 MB / 283.6 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.405e-05/4.409e-05, allocations: 8 kB / 348.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4243, allocations: 61.88 MB / 410.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.6057, allocations: 96.23 MB / 0.4947 GB, free: 10.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.606, allocations: 83.89 kB / 0.4948 GB, free: 10.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7335/1.34, allocations: 92.15 MB / 0.5848 GB, free: 56.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.315e-06/1.34, allocations: 0 / 0.5848 GB, free: 56.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003468/1.34, allocations: 95.98 kB / 0.5849 GB, free: 56.47 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: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.1211/1.461, allocations: 9.671 MB / 0.5943 GB, free: 46.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.461, allocations: 8.031 kB / 0.5943 GB, free: 46.71 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004668/1.466, allocations: 0.8502 MB / 0.5952 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/1.481, allocations: 2.079 MB / 0.5972 GB, free: 43.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/1.494, allocations: 3.41 MB / 0.6005 GB, free: 40.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004705/1.494, allocations: 349 kB / 0.6009 GB, free: 39.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003896/1.498, allocations: 475.7 kB / 0.6013 GB, free: 39.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06634/1.564, allocations: 15.28 MB / 0.6162 GB, free: 23.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003884/1.565, allocations: 63.36 kB / 0.6163 GB, free: 23.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003193/1.568, allocations: 227.9 kB / 0.6165 GB, free: 22.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004286/1.572, allocations: 1.117 MB / 0.6176 GB, free: 21.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06478/1.637, allocations: 15 MB / 0.6322 GB, free: 6.781 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1274/1.765, allocations: 55.63 MB / 0.6866 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09472/1.86, allocations: 7.192 MB / 0.6936 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00748/1.867, allocations: 2.823 MB / 0.6964 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01503/1.882, allocations: 6.563 MB / 0.7028 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.24e-05/1.882, allocations: 51.52 kB / 0.7028 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=176): time 5.991e-06/1.882, allocations: 0 / 0.7028 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=176): time 0.007395/1.89, allocations: 2.69 MB / 0.7054 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.89, allocations: 141.6 kB / 0.7056 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/1.901, allocations: 4.251 MB / 0.7097 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003851/1.901, allocations: 61.69 kB / 0.7098 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004388/1.906, allocations: 3.585 MB / 0.7133 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001403/1.907, allocations: 0.7292 MB / 0.714 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007416/1.908, allocations: 132 kB / 0.7141 GB, free: 396 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.3845/2.293, allocations: 0.5871 MB / 0.7147 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007431/2.3, allocations: 2.157 MB / 0.7168 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009459/2.31, allocations: 6.383 MB / 0.723 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008783/2.319, allocations: 3.706 MB / 0.7267 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000224/2.319, allocations: 47.44 kB / 0.7267 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.0228/2.342, allocations: 7.969 MB / 0.7345 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/2.342, allocations: 73.16 kB / 0.7346 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002753/2.342, allocations: 156.2 kB / 0.7347 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/2.342, allocations: 219.5 kB / 0.7349 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/2.353, allocations: 1.625 MB / 0.7365 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003391/2.354, allocations: 296.9 kB / 0.7368 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009107/2.363, allocations: 0.9308 MB / 0.7377 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0018/2.365, allocations: 438.6 kB / 0.7381 GB, free: 126 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (849): * Single equations (assignments): 846 * Array equations: 3 * 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.002637/2.367, allocations: 0.6262 MB / 0.7387 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/2.368, allocations: 406.8 kB / 0.7391 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007128/2.376, allocations: 2.52 MB / 0.7416 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-05/2.376, allocations: 26.72 kB / 0.7416 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/2.376, allocations: 0 / 0.7416 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.428e-05/2.376, allocations: 13.5 kB / 0.7416 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/2.389, allocations: 4.284 MB / 0.7458 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.822e-05/2.389, allocations: 0 / 0.7458 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004018/2.393, allocations: 345.7 kB / 0.7461 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.358e-05/2.393, allocations: 6.938 kB / 0.7461 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003941/2.393, allocations: 37.47 kB / 0.7462 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.025e-05/2.393, allocations: 16.67 kB / 0.7462 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/2.393, allocations: 0 / 0.7462 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/2.404, allocations: 4.853 MB / 0.7509 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/2.405, allocations: 0.4894 MB / 0.7514 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/2.407, allocations: 33.86 kB / 0.7514 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003694/2.411, allocations: 61.73 kB / 0.7515 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005415/2.411, allocations: 100.9 kB / 0.7516 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/2.411, allocations: 52.97 kB / 0.7516 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008396/2.42, allocations: 2.955 MB / 0.7545 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.112e-06/2.42, allocations: 0 / 0.7545 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009207/2.429, allocations: 1.35 MB / 0.7558 GB, free: 122.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 169 * Array equations: 3 * 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.0161/2.445, allocations: 5.668 MB / 0.7614 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01617/2.462, allocations: 4.74 MB / 0.766 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.462, allocations: 1.5 kB / 0.766 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004181/2.466, allocations: 1.244 MB / 0.7672 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005148/2.471, allocations: 493.3 kB / 0.7677 GB, free: 117 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03369/2.505, allocations: 10.31 MB / 0.7778 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008185/2.513, allocations: 3.678 MB / 0.7813 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01044/2.524, allocations: 2.056 MB / 0.7834 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005952/2.53, allocations: 2.212 MB / 0.7855 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.114e-06/2.53, allocations: 0 / 0.7855 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2586/2.788, allocations: 87.59 MB / 0.871 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002923/2.789, allocations: 161 kB / 0.8712 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.821/8.609, allocations: 4 kB / 0.8712 GB, free: 23.69 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.mat does not exist to compare? outputFormat=mat