Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001001, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008872/0.0008873, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.4 MB / 222.1 MB, free: 5.625 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004227, allocations: 8 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2114, allocations: 47.59 MB / 326.5 MB, free: 1.613 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04097/0.2524, allocations: 46.02 MB / 372.5 MB, free: 5.512 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02505/0.2775, allocations: 10.36 MB / 382.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008165/0.2857, allocations: 223.4 kB / 383.1 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006594/0.2923, allocations: 2.387 MB / 385.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01788/0.3102, allocations: 7.113 MB / 392.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.3133, allocations: 0.6981 MB / 393.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.04449/0.3578, allocations: 34.14 MB / 427.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007393/0.3652, allocations: 4.682 MB / 432.1 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.3678, allocations: 1.428 MB / 433.5 MB, free: 8.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.3711, allocations: 2.22 MB / 435.7 MB, free: 6.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006756/0.3717, allocations: 156 kB / 435.9 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.3737, allocations: 0.9401 MB / 436.8 MB, free: 4.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00206/0.3758, allocations: 1.925 MB / 438.8 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.377, allocations: 0.909 MB / 439.7 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005679/0.3827, allocations: 6.137 MB / 445.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3827, allocations: 0 / 445.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3827, allocations: 0 / 445.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001172/0.3828, allocations: 0 / 445.8 MB, free: 11.98 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.008024/0.3908, allocations: 4.473 MB / 450.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3909, allocations: 12.03 kB / 450.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02179/0.4127, allocations: 3.278 MB / 453.6 MB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007679/0.4204, allocations: 3.61 MB / 457.2 MB, free: 480 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.4206, allocations: 250.3 kB / 457.4 MB, free: 228 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1489/0.5695, allocations: 326.8 kB / 457.7 MB, free: 116.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01551/0.5851, allocations: 10.34 MB / 468.1 MB, free: 111.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.5852, allocations: 55.83 kB / 468.1 MB, free: 111.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003539/0.5856, allocations: 152.1 kB / 468.3 MB, free: 111.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002945/0.5885, allocations: 2.03 MB / 470.3 MB, free: 110.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/0.6013, allocations: 8.878 MB / 479.2 MB, free: 101.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04358/0.6449, allocations: 39.83 MB / 0.5069 GB, free: 61.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/0.6552, allocations: 4.052 MB / 0.5108 GB, free: 57.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002439/0.6576, allocations: 2.228 MB / 0.513 GB, free: 54.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005258/0.6582, allocations: 0.6545 MB / 0.5136 GB, free: 54.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.6583, allocations: 55.5 kB / 0.5137 GB, free: 54.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 6.322e-06/0.6583, allocations: 0 / 0.5137 GB, free: 54.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05279/0.7111, allocations: 22.93 MB / 0.5361 GB, free: 30.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.7112, allocations: 248.6 kB / 0.5363 GB, free: 30.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00454/0.7157, allocations: 4.24 MB / 0.5405 GB, free: 26.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002396/0.716, allocations: 61.7 kB / 0.5405 GB, free: 26.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.7174, allocations: 3.206 MB / 0.5436 GB, free: 23.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005817/0.718, allocations: 0.7957 MB / 0.5444 GB, free: 22.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.7183, allocations: 128 kB / 0.5445 GB, free: 22.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002441/0.7186, allocations: 0.5705 MB / 0.5451 GB, free: 21.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003033/0.7216, allocations: 2.526 MB / 0.5476 GB, free: 19.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004324/0.7259, allocations: 6.107 MB / 0.5535 GB, free: 11.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004192/0.7301, allocations: 3.854 MB / 0.5573 GB, free: 7.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.067e-05/0.7302, allocations: 36 kB / 0.5573 GB, free: 7.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.0166/0.7468, allocations: 10.7 MB / 0.5678 GB, free: 12.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/0.7469, allocations: 60 kB / 0.5678 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/0.7471, allocations: 124 kB / 0.568 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00697/0.754, allocations: 2.613 MB / 0.5705 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003861/0.7579, allocations: 1.357 MB / 0.5718 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02392/0.7818, allocations: 17.26 MB / 0.5887 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005486/0.7874, allocations: 377.3 kB / 0.5891 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000833/0.7882, allocations: 379.9 kB / 0.5894 GB, free: 6.074 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (731): * Single equations (assignments): 725 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 35,(2,100.0%) 12} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.003612/0.7919, allocations: 2.224 MB / 0.5916 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006937/0.7926, allocations: 388.5 kB / 0.592 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009636/0.8022, allocations: 5.133 MB / 0.597 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-05/0.8023, allocations: 25.95 kB / 0.597 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.8023, allocations: 12 kB / 0.597 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.8023, allocations: 7.969 kB / 0.597 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/0.821, allocations: 11.11 MB / 0.6079 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.8211, allocations: 0 / 0.6079 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.8225, allocations: 303.5 kB / 0.6081 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004862/0.8273, allocations: 1.854 MB / 0.61 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/0.8276, allocations: 36 kB / 0.61 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1878/1.015, allocations: 9.686 MB / 0.6195 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.015, allocations: 7.375 kB / 0.6195 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/1.027, allocations: 8.328 MB / 0.6276 GB, free: 138.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.028, allocations: 0.7739 MB / 0.6283 GB, free: 138 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005161/1.029, allocations: 36.62 kB / 0.6284 GB, free: 137.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.03, allocations: 150.1 kB / 0.6285 GB, free: 137.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/1.031, allocations: 114.7 kB / 0.6286 GB, free: 137.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.031, allocations: 56.77 kB / 0.6287 GB, free: 137.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00362/1.034, allocations: 2.661 MB / 0.6313 GB, free: 137 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.034, allocations: 0 / 0.6313 GB, free: 137 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004882/1.039, allocations: 1.213 MB / 0.6325 GB, free: 136.8 MB / 430.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 153 * 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,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004216/1.04, allocations: 174.5 kB / 0.6326 GB, free: 136.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008164/1.048, allocations: 6.598 MB / 0.6391 GB, free: 132.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.048, allocations: 0 / 0.6391 GB, free: 132.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002704/1.051, allocations: 2.235 MB / 0.6413 GB, free: 131 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/1.054, allocations: 0.5255 MB / 0.6418 GB, free: 130.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/1.07, allocations: 12.54 MB / 0.654 GB, free: 118.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003022/1.073, allocations: 3.528 MB / 0.6575 GB, free: 114.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004807/1.078, allocations: 1.928 MB / 0.6593 GB, free: 113 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008453/1.078, allocations: 251.4 kB / 0.6596 GB, free: 112.7 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/1.078, allocations: 0 / 0.6596 GB, free: 112.7 MB / 430.1 MB Notification: Performance of Templates: time 0.06472/1.143, allocations: 48.82 MB / 0.7073 GB, free: 63.91 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1)