Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadModel(Modelica): time 2.19/2.19, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.424e-05/2.421e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 50.42 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.4137/0.5248, allocations: 66.71 MB / 411.7 MB, free: 3.074 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04408/0.569, allocations: 14.95 MB / 426.6 MB, free: 2.172 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0202/0.5893, allocations: 386.8 kB / 427 MB, free: 2.109 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01311/0.6024, allocations: 3.517 MB / 430.5 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03938/0.6418, allocations: 9.48 MB / 440 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008005/0.6499, allocations: 1.246 MB / 441.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.2351/0.885, allocations: 93.23 MB / 0.522 GB, free: 7.535 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02013/0.9052, allocations: 9.329 MB / 0.5311 GB, free: 14.47 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004638/0.9099, allocations: 1.594 MB / 0.5326 GB, free: 12.93 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005644/0.9157, allocations: 2.312 MB / 0.5349 GB, free: 10.64 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00479/0.9205, allocations: 1.208 MB / 0.5361 GB, free: 9.438 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002056/0.9226, allocations: 212 kB / 0.5363 GB, free: 9.23 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005087/0.9277, allocations: 2.844 MB / 0.539 GB, free: 6.395 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002941/0.9307, allocations: 492 kB / 0.5395 GB, free: 5.914 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01773/0.9485, allocations: 10.96 MB / 0.5502 GB, free: 11.22 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.9486, allocations: 0 / 0.5502 GB, free: 11.22 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.466e-06/0.9486, allocations: 7.938 kB / 0.5502 GB, free: 11.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004549/0.9491, allocations: 0 / 0.5502 GB, free: 11.21 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02651/0.9756, allocations: 7.336 MB / 0.5574 GB, free: 3.836 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.9757, allocations: 8.031 kB / 0.5574 GB, free: 3.828 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.9818/1.958, allocations: 35.86 MB / 0.5924 GB, free: 150.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02411/1.982, allocations: 6.912 MB / 0.5992 GB, free: 143.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005/1.982, allocations: 435.2 kB / 0.5996 GB, free: 142.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0033/1.986, allocations: 0.5785 MB / 0.6001 GB, free: 142.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05194/2.038, allocations: 17.09 MB / 0.6168 GB, free: 124.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003827/2.038, allocations: 79.27 kB / 0.6169 GB, free: 124.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002245/2.04, allocations: 280.2 kB / 0.6172 GB, free: 124.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007556/2.048, allocations: 2.652 MB / 0.6198 GB, free: 121.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04598/2.094, allocations: 14.67 MB / 0.6341 GB, free: 106.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1112/2.205, allocations: 64.18 MB / 0.6968 GB, free: 41.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04014/2.245, allocations: 8.857 MB / 0.7054 GB, free: 32.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04106/2.287, allocations: 18.27 MB / 0.7233 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/2.287, allocations: 72.5 kB / 0.7233 GB, free: 13.92 MB / 458.7 MB Notification: Performance of pre-optimization done (n=281): time 7.594e-06/2.287, allocations: 0 / 0.7233 GB, free: 13.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=374): time 0.77/3.057, allocations: 74.71 MB / 0.7963 GB, free: 120.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/3.057, allocations: 376.6 kB / 0.7966 GB, free: 119.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01339/3.07, allocations: 6.193 MB / 0.8027 GB, free: 113.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001247/3.072, allocations: 82.88 kB / 0.8028 GB, free: 113.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003883/3.075, allocations: 4.613 MB / 0.8073 GB, free: 109 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002466/3.078, allocations: 1.363 MB / 0.8086 GB, free: 107.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/3.079, allocations: 180 kB / 0.8088 GB, free: 107.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006391/3.08, allocations: 0.6829 MB / 0.8094 GB, free: 106.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01249/3.093, allocations: 5.625 MB / 0.8149 GB, free: 101.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01575/3.108, allocations: 10.55 MB / 0.8252 GB, free: 88.15 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01598/3.124, allocations: 7.522 MB / 0.8326 GB, free: 80.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/3.125, allocations: 48 kB / 0.8326 GB, free: 80.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.0703/3.195, allocations: 21.67 MB / 0.8538 GB, free: 58.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/3.195, allocations: 76 kB / 0.8539 GB, free: 58.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000272/3.195, allocations: 172 kB / 0.854 GB, free: 58.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03761/3.233, allocations: 6.923 MB / 0.8608 GB, free: 51.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01376/3.247, allocations: 2.074 MB / 0.8628 GB, free: 49.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08065/3.327, allocations: 35.22 MB / 0.8972 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01319/3.341, allocations: 0.7254 MB / 0.8979 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.317/3.658, allocations: 0.5068 MB / 0.8984 GB, free: 134.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1015): * Single equations (assignments): 1008 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,84.0%) 68,(2,100.0%) 18} * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.011/3.669, allocations: 3.371 MB / 0.9017 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002594/3.671, allocations: 0.5831 MB / 0.9023 GB, free: 134.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06926/3.741, allocations: 16.1 MB / 0.918 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001124/3.741, allocations: 48.33 kB / 0.918 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.152e-05/3.741, allocations: 15.56 kB / 0.9181 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-05/3.741, allocations: 22.92 kB / 0.9181 GB, free: 130 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09238/3.833, allocations: 31.45 MB / 0.9488 GB, free: 117.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.204e-05/3.834, allocations: 3.031 kB / 0.9488 GB, free: 117.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006277/3.84, allocations: 0.6116 MB / 0.9494 GB, free: 116.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03674/3.877, allocations: 6.573 MB / 0.9558 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001427/3.878, allocations: 66.02 kB / 0.9559 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1296/4.008, allocations: 33.47 MB / 0.9886 GB, free: 76.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/4.008, allocations: 4 kB / 0.9886 GB, free: 76.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06735/4.075, allocations: 23.95 MB / 1.012 GB, free: 52.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002078/4.077, allocations: 0.6592 MB / 1.013 GB, free: 52.13 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002749/4.08, allocations: 65.19 kB / 1.013 GB, free: 52.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008223/4.088, allocations: 435.2 kB / 1.013 GB, free: 51.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001728/4.09, allocations: 243.9 kB / 1.013 GB, free: 51.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006036/4.091, allocations: 95.98 kB / 1.013 GB, free: 51.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009684/4.1, allocations: 4.466 MB / 1.018 GB, free: 46.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.31e-07/4.1, allocations: 0 / 1.018 GB, free: 46.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01195/4.112, allocations: 2.222 MB / 1.02 GB, free: 44.65 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,84.0%) 62,(2,100.0%) 15} * Non-linear torn systems: 1 {2 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001912/4.114, allocations: 290.2 kB / 1.02 GB, free: 44.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.03253/4.147, allocations: 14.2 MB / 1.034 GB, free: 30.19 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/4.147, allocations: 4 kB / 1.034 GB, free: 30.19 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01672/4.164, allocations: 6.548 MB / 1.04 GB, free: 23.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007188/4.171, allocations: 0.8398 MB / 1.041 GB, free: 22.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04975/4.221, allocations: 23.2 MB / 1.064 GB, free: 15.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3119/4.533, allocations: 5.417 MB / 1.069 GB, free: 146 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00414/4.537, allocations: 449.4 kB / 1.07 GB, free: 146 MB / 474.7 MB Notification: Performance of SimCode: time 2.205e-06/4.537, allocations: 0 / 1.07 GB, free: 146 MB / 474.7 MB Notification: Performance of Templates: time 0.6664/5.203, allocations: 199.1 MB / 1.264 GB, free: 134.5 MB / 474.7 MB