Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.416e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.247, allocations: 44.5 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.3764, allocations: 84.05 MB / 378.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.3768, allocations: 87.95 kB / 378.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4255/0.8023, allocations: 55.84 MB / 434.1 MB, free: 90.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.038e-06/0.8024, allocations: 3.828 kB / 434.1 MB, free: 90.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.422e-05/0.8025, allocations: 51.48 kB / 434.1 MB, free: 90.79 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: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.006596/0.8091, allocations: 2.517 MB / 436.7 MB, free: 89.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.8091, allocations: 11.5 kB / 436.7 MB, free: 89.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.8199, allocations: 1.967 MB / 438.6 MB, free: 89.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009635/0.8296, allocations: 3.269 MB / 441.9 MB, free: 89.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.8298, allocations: 77.81 kB / 442 MB, free: 89.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000913/0.8307, allocations: 138.2 kB / 442.1 MB, free: 89.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007575/0.8383, allocations: 3.908 MB / 446 MB, free: 89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.8498, allocations: 6.184 MB / 452.2 MB, free: 86.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.85, allocations: 45.47 kB / 452.3 MB, free: 86.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005874/0.8506, allocations: 24.84 kB / 452.3 MB, free: 86.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001121/0.8518, allocations: 0.7118 MB / 453 MB, free: 86.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0333/0.8851, allocations: 31.97 MB / 485 MB, free: 60.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.8878, allocations: 2.017 MB / 487 MB, free: 58.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.8892, allocations: 0.9877 MB / 488 MB, free: 57.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.398e-05/0.8893, allocations: 12.38 kB / 488 MB, free: 57.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.8893, allocations: 50.5 kB / 488 MB, free: 57.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 4.976e-06/0.8893, allocations: 0 / 488 MB, free: 57.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.01805/0.9074, allocations: 8.183 MB / 496.2 MB, free: 49.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.9075, allocations: 140.5 kB / 496.3 MB, free: 49.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003407/0.9109, allocations: 2.151 MB / 498.5 MB, free: 47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.9111, allocations: 25.7 kB / 498.5 MB, free: 46.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.9123, allocations: 2.142 MB / 0.4889 GB, free: 44.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.9127, allocations: 426.6 kB / 0.4893 GB, free: 44.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.913, allocations: 0 / 0.4893 GB, free: 44.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002724/0.9132, allocations: 0.4969 MB / 0.4898 GB, free: 43.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.9155, allocations: 1.313 MB / 0.4911 GB, free: 42.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003579/0.9191, allocations: 4.212 MB / 0.4952 GB, free: 36.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00393/0.923, allocations: 2.342 MB / 0.4975 GB, free: 34.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-05/0.9232, allocations: 32 kB / 0.4975 GB, free: 34.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01247/0.9356, allocations: 5.443 MB / 0.5029 GB, free: 29.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.017e-05/0.9358, allocations: 51.95 kB / 0.5029 GB, free: 28.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001047/0.9359, allocations: 108 kB / 0.503 GB, free: 28.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00273/0.9386, allocations: 0.7969 MB / 0.5038 GB, free: 28.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003761/0.9424, allocations: 1.041 MB / 0.5048 GB, free: 27.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006075/0.9485, allocations: 3.962 MB / 0.5087 GB, free: 22.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/0.9529, allocations: 204 kB / 0.5089 GB, free: 22.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008034/0.9537, allocations: 284 kB / 0.5091 GB, free: 22.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (552): * Single equations (assignments): 548 * 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%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006869/0.9545, allocations: 358.9 kB / 0.5095 GB, free: 22.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/0.9549, allocations: 213.2 kB / 0.5097 GB, free: 21.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/0.9591, allocations: 1.781 MB / 0.5114 GB, free: 20.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.684e-05/0.9592, allocations: 15.98 kB / 0.5114 GB, free: 20.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.104e-06/0.9592, allocations: 4 kB / 0.5114 GB, free: 20.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.9593, allocations: 7.984 kB / 0.5114 GB, free: 20.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009724/0.969, allocations: 4.305 MB / 0.5157 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.969, allocations: 8.062 kB / 0.5157 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/0.9698, allocations: 139.8 kB / 0.5158 GB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002433/0.9723, allocations: 0.6365 MB / 0.5164 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/0.9725, allocations: 4 kB / 0.5164 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005152/0.9776, allocations: 3.509 MB / 0.5198 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.338e-06/0.9777, allocations: 4.031 kB / 0.5198 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006499/0.9842, allocations: 3.671 MB / 0.5234 GB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.9852, allocations: 414.1 kB / 0.5238 GB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003331/0.9856, allocations: 0 / 0.5238 GB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.9869, allocations: 59.89 kB / 0.5239 GB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.9871, allocations: 59.95 kB / 0.5239 GB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.9872, allocations: 35.98 kB / 0.524 GB, free: 7.008 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002434/0.9896, allocations: 1.408 MB / 0.5254 GB, free: 5.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.021e-06/0.9897, allocations: 288 / 0.5254 GB, free: 5.586 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004552/0.9942, allocations: 0.5546 MB / 0.5259 GB, free: 5.031 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003815/0.9946, allocations: 139 kB / 0.526 GB, free: 4.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005811/1, allocations: 3.167 MB / 0.5291 GB, free: 1.734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.001, allocations: 0 / 0.5291 GB, free: 1.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/1.002, allocations: 0.9012 MB / 0.53 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/1.003, allocations: 195.8 kB / 0.5302 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.015, allocations: 4.627 MB / 0.5347 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004026/1.019, allocations: 2.242 MB / 0.5369 GB, free: 9.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007728/1.02, allocations: 187.4 kB / 0.5371 GB, free: 9.504 MB / 378.7 MB Notification: Performance of SimCode: time 1.897e-06/1.02, allocations: 4 kB / 0.5371 GB, free: 9.5 MB / 378.7 MB Notification: Performance of Templates: time 0.2976/1.317, allocations: 43.91 MB / 0.58 GB, free: 100 MB / 394.7 MB