Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.369/2.369, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.708e-05, allocations: 3.469 kB / 249.8 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4657/0.57, allocations: 86.01 MB / 380.3 MB, free: 6.102 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/0.5703, allocations: 84.08 kB / 380.4 MB, free: 6.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4796/1.05, allocations: 81.05 MB / 461.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.935e-06/1.05, allocations: 4 kB / 461.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003826/1.05, allocations: 71.67 kB / 461.5 MB, free: 9.621 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1299 * Number of variables: 1299 Notification: Performance of Generate backend data structure: time 0.02069/1.071, allocations: 3.96 MB / 465.5 MB, free: 5.605 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.424e-05/1.071, allocations: 8.031 kB / 465.5 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0632/1.134, allocations: 6.617 MB / 472.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02661/1.161, allocations: 5.824 MB / 477.9 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/1.161, allocations: 116 kB / 478 MB, free: 9.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002305/1.164, allocations: 211.9 kB / 478.2 MB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01652/1.18, allocations: 5.234 MB / 483.5 MB, free: 3.582 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02636/1.207, allocations: 8.176 MB / 491.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000327/1.207, allocations: 71.42 kB / 491.7 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001519/1.209, allocations: 24 kB / 491.7 MB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002621/1.211, allocations: 0.892 MB / 492.6 MB, free: 9.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4112/1.623, allocations: 40.59 MB / 0.5207 GB, free: 60.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006986/1.63, allocations: 3.042 MB / 0.5237 GB, free: 59.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003977/1.634, allocations: 1.906 MB / 0.5256 GB, free: 59.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/1.634, allocations: 334.3 kB / 0.5259 GB, free: 59.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/1.634, allocations: 54.86 kB / 0.5259 GB, free: 59.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=160): time 6.141e-06/1.634, allocations: 0 / 0.5259 GB, free: 59.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=189): time 0.06915/1.704, allocations: 16.8 MB / 0.5423 GB, free: 56.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/1.704, allocations: 260.1 kB / 0.5426 GB, free: 56.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007814/1.712, allocations: 3.002 MB / 0.5455 GB, free: 56.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005765/1.712, allocations: 28.89 kB / 0.5455 GB, free: 56.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00305/1.715, allocations: 2.872 MB / 0.5484 GB, free: 54.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/1.717, allocations: 0.702 MB / 0.549 GB, free: 54.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007538/1.717, allocations: 0 / 0.549 GB, free: 54.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004352/1.718, allocations: 0.5427 MB / 0.5496 GB, free: 53.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005234/1.723, allocations: 1.966 MB / 0.5515 GB, free: 53.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007869/1.731, allocations: 5.301 MB / 0.5567 GB, free: 47.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008059/1.739, allocations: 3.218 MB / 0.5598 GB, free: 46.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001383/1.739, allocations: 35.28 kB / 0.5598 GB, free: 46.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=735) (initialization): time 0.02683/1.766, allocations: 7.707 MB / 0.5674 GB, free: 44.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.766, allocations: 59.22 kB / 0.5674 GB, free: 44.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001972/1.767, allocations: 117.4 kB / 0.5675 GB, free: 44.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008042/1.775, allocations: 1.379 MB / 0.5689 GB, free: 44.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009241/1.784, allocations: 1.266 MB / 0.5701 GB, free: 44.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/1.804, allocations: 7.85 MB / 0.5778 GB, free: 40.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007447/1.812, allocations: 203.9 kB / 0.578 GB, free: 40.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00157/1.813, allocations: 340.8 kB / 0.5783 GB, free: 40.38 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 27 (boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (674): * Single equations (assignments): 670 * 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 {(4,87.5%) 34} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001487/1.815, allocations: 406 kB / 0.5787 GB, free: 40.05 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01432/1.829, allocations: 4.044 MB / 0.5826 GB, free: 37.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.83, allocations: 327.8 kB / 0.583 GB, free: 37.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/1.844, allocations: 3.742 MB / 0.5866 GB, free: 34.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-05/1.844, allocations: 21.41 kB / 0.5866 GB, free: 34.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/1.844, allocations: 8 kB / 0.5866 GB, free: 34.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.322e-05/1.844, allocations: 6.609 kB / 0.5866 GB, free: 34.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02606/1.87, allocations: 8.164 MB / 0.5946 GB, free: 27.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-05/1.87, allocations: 0 / 0.5946 GB, free: 27.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003007/1.873, allocations: 262 kB / 0.5949 GB, free: 27.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00723/1.88, allocations: 1.197 MB / 0.596 GB, free: 26.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004408/1.881, allocations: 11.23 kB / 0.596 GB, free: 26.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/1.898, allocations: 7.036 MB / 0.6029 GB, free: 20.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.898, allocations: 0 / 0.6029 GB, free: 20.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/1.917, allocations: 6.607 MB / 0.6094 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002559/1.919, allocations: 0.6481 MB / 0.61 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/1.92, allocations: 4 kB / 0.61 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003238/1.924, allocations: 86.44 kB / 0.6101 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006236/1.924, allocations: 108.2 kB / 0.6102 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/1.925, allocations: 49.8 kB / 0.6102 GB, free: 14.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004997/1.93, allocations: 2.041 MB / 0.6122 GB, free: 12.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.93, allocations: 0 / 0.6122 GB, free: 12.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00779/1.937, allocations: 0.8552 MB / 0.6131 GB, free: 11.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 131 * 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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01933/1.957, allocations: 7.51 MB / 0.6204 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01348/1.97, allocations: 5.003 MB / 0.6253 GB, free: 500 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.97, allocations: 0 / 0.6253 GB, free: 500 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0122/1.983, allocations: 2.189 MB / 0.6274 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004142/1.987, allocations: 383.4 kB / 0.6278 GB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03442/2.021, allocations: 8.573 MB / 0.6362 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009037/2.03, allocations: 3.171 MB / 0.6393 GB, free: 4.418 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01223/2.043, allocations: 1.854 MB / 0.6411 GB, free: 2.562 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005942/2.049, allocations: 1.745 MB / 0.6428 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of SimCode: time 2.154e-06/2.049, allocations: 4 kB / 0.6428 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5466/2.595, allocations: 73.69 MB / 0.7147 GB, free: 70.04 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003306/2.596, allocations: 166.1 kB / 0.7149 GB, free: 69.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.412/9.008, allocations: 0 / 0.7149 GB, free: 69.84 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat does not exist to compare? outputFormat=mat