Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.349/2.349, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.737e-05, allocations: 3.938 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4101, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.6058, allocations: 108.4 MB / 490.7 MB, free: 15.93 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.6062, allocations: 83.95 kB / 490.8 MB, free: 15.85 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6699/1.276, allocations: 84.98 MB / 0.5623 GB, free: 111.1 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.713e-06/1.276, allocations: 0 / 0.5623 GB, free: 111.1 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.000272/1.276, allocations: 84.84 kB / 0.5624 GB, free: 111.1 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.0253/1.302, allocations: 4.503 MB / 0.5668 GB, free: 108.2 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.302, allocations: 15.55 kB / 0.5668 GB, free: 108.2 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003601/1.305, allocations: 0.7728 MB / 0.5676 GB, free: 107.7 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/1.322, allocations: 2.215 MB / 0.5697 GB, free: 105.9 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01594/1.338, allocations: 4.517 MB / 0.5741 GB, free: 101.4 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003397/1.339, allocations: 322.7 kB / 0.5744 GB, free: 101.1 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002501/1.341, allocations: 432.1 kB / 0.5748 GB, free: 100.7 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03177/1.373, allocations: 10.62 MB / 0.5852 GB, free: 89.17 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002295/1.373, allocations: 63.39 kB / 0.5853 GB, free: 89.11 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001277/1.375, allocations: 208.9 kB / 0.5855 GB, free: 88.93 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002331/1.377, allocations: 1.017 MB / 0.5865 GB, free: 87.91 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0268/1.404, allocations: 8.729 MB / 0.595 GB, free: 79.17 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06928/1.473, allocations: 47.53 MB / 0.6414 GB, free: 30.36 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01868/1.492, allocations: 3.554 MB / 0.6449 GB, free: 26.66 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003614/1.496, allocations: 1.8 MB / 0.6466 GB, free: 24.85 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/1.507, allocations: 4.739 MB / 0.6513 GB, free: 19.93 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/1.507, allocations: 55.34 kB / 0.6513 GB, free: 19.87 MB / 458.8 MB Notification: Performance of pre-optimization done (n=142): time 5.72e-06/1.507, allocations: 0 / 0.6513 GB, free: 19.87 MB / 458.8 MB Notification: Performance of matching and sorting (n=148): time 0.03719/1.544, allocations: 9.898 MB / 0.661 GB, free: 9.867 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/1.544, allocations: 149.2 kB / 0.6611 GB, free: 9.688 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007737/1.552, allocations: 3.616 MB / 0.6647 GB, free: 6.043 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004771/1.553, allocations: 45.7 kB / 0.6647 GB, free: 5.992 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002761/1.555, allocations: 3.15 MB / 0.6678 GB, free: 2.809 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001065/1.557, allocations: 0.5903 MB / 0.6684 GB, free: 2.211 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007253/1.557, allocations: 116 kB / 0.6685 GB, free: 2.098 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004422/1.558, allocations: 0.5537 MB / 0.669 GB, free: 1.535 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005177/1.563, allocations: 1.89 MB / 0.6709 GB, free: 15.64 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009245/1.572, allocations: 5.544 MB / 0.6763 GB, free: 8.234 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008208/1.581, allocations: 3.216 MB / 0.6794 GB, free: 5.02 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/1.581, allocations: 40 kB / 0.6794 GB, free: 4.98 MB / 474.8 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02524/1.606, allocations: 7.572 MB / 0.6868 GB, free: 13.4 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/1.606, allocations: 60 kB / 0.6869 GB, free: 13.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002274/1.606, allocations: 132 kB / 0.687 GB, free: 13.21 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004691/1.611, allocations: 0.9155 MB / 0.6879 GB, free: 12.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008834/1.62, allocations: 1.353 MB / 0.6892 GB, free: 10.94 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/1.631, allocations: 4.778 MB / 0.6939 GB, free: 6.035 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007006/1.638, allocations: 327.5 kB / 0.6942 GB, free: 5.715 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/1.639, allocations: 360 kB / 0.6946 GB, free: 5.363 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 601 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 710 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001765/1.641, allocations: 0.5641 MB / 0.6951 GB, free: 4.789 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000965/1.642, allocations: 343.5 kB / 0.6954 GB, free: 4.449 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009854/1.652, allocations: 2.832 MB / 0.6982 GB, free: 1.598 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.835e-05/1.652, allocations: 16.09 kB / 0.6982 GB, free: 1.582 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/1.652, allocations: 11.94 kB / 0.6982 GB, free: 1.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.93e-05/1.652, allocations: 7.969 kB / 0.6982 GB, free: 1.562 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02445/1.677, allocations: 7.102 MB / 0.7052 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-05/1.677, allocations: 0 / 0.7052 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002687/1.679, allocations: 251.6 kB / 0.7054 GB, free: 10.14 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004026/1.683, allocations: 0.703 MB / 0.7061 GB, free: 9.438 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003735/1.684, allocations: 24 kB / 0.7061 GB, free: 9.414 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009965/1.694, allocations: 4.341 MB / 0.7104 GB, free: 4.934 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.694, allocations: 0 / 0.7104 GB, free: 4.934 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.373/2.067, allocations: 5.125 MB / 0.7154 GB, free: 139.2 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002531/2.069, allocations: 0.6118 MB / 0.716 GB, free: 139.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/2.071, allocations: 25.02 kB / 0.716 GB, free: 139.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003152/2.074, allocations: 95.77 kB / 0.7161 GB, free: 139.1 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006286/2.074, allocations: 90.58 kB / 0.7162 GB, free: 139.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/2.075, allocations: 42.77 kB / 0.7162 GB, free: 139.1 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007732/2.082, allocations: 2.519 MB / 0.7187 GB, free: 138.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.61e-07/2.082, allocations: 0 / 0.7187 GB, free: 138.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007718/2.09, allocations: 0.9499 MB / 0.7196 GB, free: 138.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01293/2.103, allocations: 5.947 MB / 0.7254 GB, free: 137.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0102/2.113, allocations: 4.423 MB / 0.7297 GB, free: 137.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/2.113, allocations: 0 / 0.7297 GB, free: 137.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002838/2.116, allocations: 1.339 MB / 0.731 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/2.12, allocations: 386.9 kB / 0.7314 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02865/2.148, allocations: 8.561 MB / 0.7398 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007006/2.155, allocations: 3.319 MB / 0.743 GB, free: 134.1 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008649/2.164, allocations: 1.838 MB / 0.7448 GB, free: 134 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00475/2.169, allocations: 1.856 MB / 0.7466 GB, free: 132.5 MB / 0.4949 GB Notification: Performance of SimCode: time 1.653e-06/2.169, allocations: 0 / 0.7466 GB, free: 132.5 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2337/2.403, allocations: 73.54 MB / 0.8184 GB, free: 76.21 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/2.403, allocations: 178 kB / 0.8186 GB, free: 75.98 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.35/7.753, allocations: 0 / 0.8186 GB, free: 75.98 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat does not exist to compare? outputFormat=mat