Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.503/2.503, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.018e-05/5.02e-05, allocations: 0 / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1335, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5966/0.7302, allocations: 110.3 MB / 0.5085 GB, free: 9.609 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004346/0.7307, allocations: 83.95 kB / 0.5086 GB, free: 9.527 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.434/1.165, allocations: 95.54 MB / 0.6019 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.324e-06/1.165, allocations: 3.938 kB / 0.6019 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003484/1.165, allocations: 96 kB / 0.602 GB, free: 9.32 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.03268/1.198, allocations: 5.357 MB / 0.6072 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/1.198, allocations: 8.031 kB / 0.6072 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004553/1.202, allocations: 0.8899 MB / 0.6081 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01885/1.221, allocations: 2.286 MB / 0.6103 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5242/1.746, allocations: 4.718 MB / 0.6149 GB, free: 113 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006581/1.746, allocations: 380 kB / 0.6153 GB, free: 113 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003515/1.75, allocations: 0.4981 MB / 0.6158 GB, free: 113 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04624/1.796, allocations: 12.35 MB / 0.6278 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005278/1.797, allocations: 65.38 kB / 0.6279 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002919/1.8, allocations: 239.8 kB / 0.6281 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003461/1.803, allocations: 1.154 MB / 0.6292 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03789/1.841, allocations: 10.47 MB / 0.6395 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09373/1.935, allocations: 54.24 MB / 0.6924 GB, free: 73.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02677/1.962, allocations: 5.042 MB / 0.6974 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006172/1.968, allocations: 3.111 MB / 0.7004 GB, free: 70.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00239/1.97, allocations: 1.01 MB / 0.7014 GB, free: 70 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.531e-05/1.971, allocations: 58.03 kB / 0.7014 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=203): time 6.493e-06/1.971, allocations: 0 / 0.7014 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=234): time 0.1057/2.076, allocations: 20.96 MB / 0.7219 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/2.076, allocations: 153.9 kB / 0.722 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/2.087, allocations: 3.888 MB / 0.7258 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007878/2.088, allocations: 64.55 kB / 0.7259 GB, free: 59.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003245/2.091, allocations: 3.435 MB / 0.7293 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00164/2.093, allocations: 0.8898 MB / 0.7301 GB, free: 55.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/2.094, allocations: 129.5 kB / 0.7303 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004542/2.094, allocations: 0.5849 MB / 0.7308 GB, free: 55.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007307/2.101, allocations: 2.817 MB / 0.7336 GB, free: 52.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009928/2.111, allocations: 6.577 MB / 0.74 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00992/2.121, allocations: 4.267 MB / 0.7442 GB, free: 41.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/2.122, allocations: 36 kB / 0.7442 GB, free: 41.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02912/2.151, allocations: 9.926 MB / 0.7539 GB, free: 32.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/2.151, allocations: 64 kB / 0.754 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/2.151, allocations: 132 kB / 0.7541 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005073/2.156, allocations: 1.126 MB / 0.7552 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0114/2.168, allocations: 1.633 MB / 0.7568 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/2.179, allocations: 5.936 MB / 0.7626 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008956/2.188, allocations: 403.2 kB / 0.763 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/2.19, allocations: 412.5 kB / 0.7633 GB, free: 24.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 44 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (817): * Single equations (assignments): 813 * 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.002776/2.193, allocations: 0.6003 MB / 0.7639 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/2.194, allocations: 402.6 kB / 0.7643 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/2.211, allocations: 5.221 MB / 0.7694 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.909e-05/2.211, allocations: 24 kB / 0.7694 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/2.211, allocations: 10.64 kB / 0.7695 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.626e-05/2.211, allocations: 10.64 kB / 0.7695 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03664/2.248, allocations: 11.58 MB / 0.7808 GB, free: 8.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/2.248, allocations: 4 kB / 0.7808 GB, free: 8.777 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005058/2.253, allocations: 483.6 kB / 0.7812 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004522/2.258, allocations: 0.9372 MB / 0.7822 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007023/2.258, allocations: 51.73 kB / 0.7822 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01105/2.27, allocations: 5.63 MB / 0.7877 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/2.27, allocations: 7.984 kB / 0.7877 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02523/2.295, allocations: 9.259 MB / 0.7967 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003766/2.299, allocations: 0.8629 MB / 0.7976 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/2.3, allocations: 43.81 kB / 0.7976 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004701/2.305, allocations: 175.8 kB / 0.7978 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/2.306, allocations: 149.6 kB / 0.7979 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003446/2.306, allocations: 64 kB / 0.798 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008305/2.315, allocations: 2.718 MB / 0.8007 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.062e-06/2.315, allocations: 0 / 0.8007 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009433/2.324, allocations: 1.21 MB / 0.8018 GB, free: 2.871 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.03578/2.36, allocations: 10.61 MB / 0.8122 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0249/2.385, allocations: 6.576 MB / 0.8186 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/2.385, allocations: 0 / 0.8186 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.3928/2.778, allocations: 2.527 MB / 0.8211 GB, free: 135.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/2.782, allocations: 448.9 kB / 0.8215 GB, free: 135.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04344/2.826, allocations: 11.24 MB / 0.8325 GB, free: 133.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/2.836, allocations: 3.767 MB / 0.8362 GB, free: 132.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0118/2.848, allocations: 2.201 MB / 0.8383 GB, free: 132.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006303/2.855, allocations: 2.237 MB / 0.8405 GB, free: 132.9 MB / 0.5417 GB Notification: Performance of SimCode: time 3.346e-06/2.855, allocations: 0 / 0.8405 GB, free: 132.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2076/3.062, allocations: 92.63 MB / 0.931 GB, free: 92.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/3.062, allocations: 174.7 kB / 0.9311 GB, free: 92.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.196/9.259, allocations: 0 / 0.9311 GB, free: 92.71 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat does not exist to compare? outputFormat=mat