Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 194.9 MB / 208 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.834e-05/3.853e-05, allocations: 0 / 255.5 MB, free: 2.59 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09666, allocations: 44.51 MB / 300 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4191/0.5158, allocations: 86.67 MB / 386.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.5162, allocations: 87.2 kB / 386.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3571/0.8732, allocations: 82.52 MB / 469.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8733, allocations: 0 / 469.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003228/0.8736, allocations: 68 kB / 469.3 MB, free: 12.8 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.01707/0.8907, allocations: 3.966 MB / 473.3 MB, free: 8.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.8908, allocations: 12.03 kB / 473.3 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002885/0.8937, allocations: 0.6577 MB / 473.9 MB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05027/0.944, allocations: 6.617 MB / 480.6 MB, free: 1.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02348/0.9676, allocations: 5.825 MB / 486.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004251/0.968, allocations: 271.9 kB / 486.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002161/0.9702, allocations: 365.1 kB / 487 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0292/0.9995, allocations: 9.024 MB / 496 MB, free: 1.266 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002813/0.9998, allocations: 59.44 kB / 496.1 MB, free: 1.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001371/1.001, allocations: 178.4 kB / 496.3 MB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002198/1.003, allocations: 0.8879 MB / 497.1 MB, free: 176 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/1.028, allocations: 7.476 MB / 0.4928 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3583/1.387, allocations: 42.19 MB / 0.534 GB, free: 65.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01523/1.402, allocations: 3.725 MB / 0.5376 GB, free: 65.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004294/1.406, allocations: 1.951 MB / 0.5395 GB, free: 65.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006379/1.407, allocations: 329.1 kB / 0.5399 GB, free: 64.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/1.407, allocations: 49.36 kB / 0.5399 GB, free: 64.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 5.711e-06/1.407, allocations: 1.312 kB / 0.5399 GB, free: 64.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=189): time 0.0825/1.49, allocations: 17.19 MB / 0.5567 GB, free: 62.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.49, allocations: 257.3 kB / 0.5569 GB, free: 61.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008437/1.498, allocations: 3.419 MB / 0.5603 GB, free: 61.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005315/1.499, allocations: 52.36 kB / 0.5603 GB, free: 61.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002729/1.502, allocations: 2.827 MB / 0.5631 GB, free: 60.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001209/1.503, allocations: 0.7205 MB / 0.5638 GB, free: 59.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007727/1.504, allocations: 104.7 kB / 0.5639 GB, free: 59.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004755/1.504, allocations: 0.5426 MB / 0.5644 GB, free: 59.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005214/1.51, allocations: 2.033 MB / 0.5664 GB, free: 59.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007826/1.517, allocations: 5.258 MB / 0.5715 GB, free: 55.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007462/1.525, allocations: 3.264 MB / 0.5747 GB, free: 55.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001784/1.525, allocations: 34.41 kB / 0.5748 GB, free: 55.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.03337/1.559, allocations: 8.313 MB / 0.5829 GB, free: 53.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/1.559, allocations: 58.25 kB / 0.5829 GB, free: 53.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002551/1.559, allocations: 112.9 kB / 0.583 GB, free: 53.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/1.57, allocations: 1.376 MB / 0.5844 GB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/1.582, allocations: 1.224 MB / 0.5856 GB, free: 53.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02862/1.61, allocations: 8.391 MB / 0.5938 GB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01195/1.622, allocations: 310.7 kB / 0.5941 GB, free: 49.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/1.624, allocations: 329.9 kB / 0.5944 GB, free: 49.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * 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 (650): * Single equations (assignments): 646 * 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 {(2,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002935/1.627, allocations: 0.5236 MB / 0.5949 GB, free: 48.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/1.629, allocations: 356.9 kB / 0.5952 GB, free: 48.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/1.643, allocations: 3.882 MB / 0.599 GB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.296e-05/1.643, allocations: 24.72 kB / 0.599 GB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/1.643, allocations: 7.5 kB / 0.5991 GB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-05/1.644, allocations: 7.172 kB / 0.5991 GB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02723/1.671, allocations: 8.887 MB / 0.6077 GB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.261e-05/1.671, allocations: 4 kB / 0.6077 GB, free: 41.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002518/1.673, allocations: 263.2 kB / 0.608 GB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006292/1.68, allocations: 1.211 MB / 0.6092 GB, free: 40.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004848/1.68, allocations: 38.23 kB / 0.6092 GB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01667/1.697, allocations: 7.549 MB / 0.6166 GB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.697, allocations: 8 kB / 0.6166 GB, free: 34.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/1.714, allocations: 6.762 MB / 0.6232 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002619/1.717, allocations: 0.6758 MB / 0.6239 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/1.718, allocations: 32.7 kB / 0.6239 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/1.721, allocations: 112.7 kB / 0.624 GB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007333/1.722, allocations: 113.9 kB / 0.6241 GB, free: 27.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/1.722, allocations: 48 kB / 0.6242 GB, free: 27.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006442/1.729, allocations: 2.42 MB / 0.6265 GB, free: 25.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.263e-06/1.729, allocations: 0 / 0.6265 GB, free: 25.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006643/1.735, allocations: 0.9903 MB / 0.6275 GB, free: 24.47 MB / 410.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.01781/1.753, allocations: 7.693 MB / 0.635 GB, free: 17.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01161/1.765, allocations: 5.118 MB / 0.64 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.765, allocations: 0 / 0.64 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005187/1.77, allocations: 1.956 MB / 0.6419 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003761/1.774, allocations: 456.1 kB / 0.6423 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02743/1.801, allocations: 8.788 MB / 0.6509 GB, free: 3.246 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006354/1.808, allocations: 3.173 MB / 0.654 GB, free: 0.832 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01131/1.819, allocations: 1.981 MB / 0.656 GB, free: 0 / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01147/1.831, allocations: 2.173 MB / 0.6581 GB, free: 15.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/1.831, allocations: 4 kB / 0.6581 GB, free: 15.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5319/2.363, allocations: 79.04 MB / 0.7353 GB, free: 90.75 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/2.363, allocations: 190.8 kB / 0.7354 GB, free: 90.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.793/8.156, allocations: 0 / 0.7354 GB, free: 90.53 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat does not exist to compare? outputFormat=mat