Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0007896/0.0007896, allocations: 92.66 kB / 16.65 MB, free: 6.59 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.0008925/0.0008925, allocations: 182.8 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.0004332/0.0004332, allocations: 11.94 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0836/0.08405, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04269/0.1268, allocations: 49.46 MB / 377.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2055/0.3323, allocations: 10.85 MB / 388.6 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009379/0.3417, allocations: 221.8 kB / 388.8 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.3436, allocations: 495.7 kB / 389.3 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005394/0.3491, allocations: 1.912 MB / 391.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.351, allocations: 0.7464 MB / 392 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008306/0.3593, allocations: 7.504 MB / 399.5 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006593/0.3659, allocations: 5.42 MB / 404.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.3687, allocations: 1.309 MB / 406.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/0.3719, allocations: 2.23 MB / 408.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006691/0.3726, allocations: 154.2 kB / 408.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.3746, allocations: 1.106 MB / 409.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.376, allocations: 1.95 MB / 411.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.3777, allocations: 2.194 MB / 413.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006892/0.3846, allocations: 7.424 MB / 421.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3846, allocations: 0 / 421.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3846, allocations: 0 / 421.3 MB, free: 8.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.846e-05/0.3847, allocations: 0 / 421.3 MB, free: 8.84 MB / 334.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.008115/0.3929, allocations: 4.42 MB / 425.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3929, allocations: 12.03 kB / 425.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02749/0.4204, allocations: 3.277 MB / 429 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007742/0.4282, allocations: 3.667 MB / 432.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.4284, allocations: 252.8 kB / 432.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006749/0.429, allocations: 336.7 kB / 433.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.444, allocations: 10.37 MB / 443.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.4441, allocations: 55.58 kB / 443.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003853/0.4445, allocations: 158.8 kB / 443.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003314/0.4479, allocations: 2.025 MB / 445.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01559/0.4635, allocations: 8.919 MB / 454.8 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04607/0.5095, allocations: 39.86 MB / 494.6 MB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008749/0.5183, allocations: 4.06 MB / 498.7 MB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002761/0.5211, allocations: 2.236 MB / 0.4892 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.5218, allocations: 0.6551 MB / 0.4898 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.5218, allocations: 51.5 kB / 0.4899 GB, free: 6.777 MB / 414.1 MB Notification: Performance of pre-optimization done (n=175): time 3.717e-06/0.5218, allocations: 0 / 0.4899 GB, free: 6.777 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.05896/0.5808, allocations: 22.95 MB / 0.5123 GB, free: 15.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.5809, allocations: 248.6 kB / 0.5125 GB, free: 15.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005561/0.5865, allocations: 4.267 MB / 0.5167 GB, free: 11.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000264/0.5868, allocations: 53.7 kB / 0.5167 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002157/0.589, allocations: 3.198 MB / 0.5198 GB, free: 7.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008059/0.5898, allocations: 0.7984 MB / 0.5206 GB, free: 7.059 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006821/0.5905, allocations: 0.5429 MB / 0.5212 GB, free: 6.508 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.26e-05/0.5906, allocations: 309.1 kB / 0.5215 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003749/0.5943, allocations: 2.55 MB / 0.5239 GB, free: 3.648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006114/0.6004, allocations: 6.134 MB / 0.5299 GB, free: 11.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/0.6118, allocations: 9.287 MB / 0.539 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.612, allocations: 36 kB / 0.539 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.1942/0.8062, allocations: 10.76 MB / 0.5495 GB, free: 172.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.637e-05/0.8063, allocations: 61.59 kB / 0.5496 GB, free: 172.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001527/0.8065, allocations: 123.7 kB / 0.5497 GB, free: 172.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007187/0.8137, allocations: 2.614 MB / 0.5523 GB, free: 172.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003762/0.8175, allocations: 1.359 MB / 0.5536 GB, free: 172.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01958/0.8371, allocations: 17.2 MB / 0.5704 GB, free: 163.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005518/0.8426, allocations: 374 kB / 0.5708 GB, free: 163.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009027/0.8436, allocations: 371.1 kB / 0.5711 GB, free: 163.2 MB / 462.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003506/0.8471, allocations: 2.227 MB / 0.5733 GB, free: 161.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007104/0.8478, allocations: 384.9 kB / 0.5736 GB, free: 161.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008664/0.8565, allocations: 5.152 MB / 0.5787 GB, free: 155.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.108e-05/0.8565, allocations: 21.09 kB / 0.5787 GB, free: 155.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.8565, allocations: 8 kB / 0.5787 GB, free: 155.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/0.8566, allocations: 13.05 kB / 0.5787 GB, free: 155.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/0.8746, allocations: 11.12 MB / 0.5896 GB, free: 144.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.8747, allocations: 0 / 0.5896 GB, free: 144.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001943/0.8766, allocations: 308.8 kB / 0.5899 GB, free: 144.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007121/0.8838, allocations: 1.855 MB / 0.5917 GB, free: 142.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002952/0.8841, allocations: 36 kB / 0.5917 GB, free: 142.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/0.9003, allocations: 9.694 MB / 0.6012 GB, free: 132.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.9003, allocations: 7.938 kB / 0.6012 GB, free: 132.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/0.9138, allocations: 8.343 MB / 0.6093 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/0.9158, allocations: 0.7848 MB / 0.6101 GB, free: 123.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005167/0.9163, allocations: 33.25 kB / 0.6101 GB, free: 123.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/0.918, allocations: 144.7 kB / 0.6103 GB, free: 123.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003883/0.9184, allocations: 124.9 kB / 0.6104 GB, free: 123.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.9185, allocations: 56.69 kB / 0.6104 GB, free: 123.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003555/0.9221, allocations: 2.688 MB / 0.6131 GB, free: 120.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9221, allocations: 0 / 0.6131 GB, free: 120.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005218/0.9273, allocations: 1.207 MB / 0.6143 GB, free: 119.5 MB / 462.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004204/0.9278, allocations: 169.1 kB / 0.6144 GB, free: 119.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008188/0.936, allocations: 6.639 MB / 0.6209 GB, free: 112.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.936, allocations: 2.438 kB / 0.6209 GB, free: 112.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002588/0.9386, allocations: 2.243 MB / 0.6231 GB, free: 110.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/0.942, allocations: 0.528 MB / 0.6236 GB, free: 109.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.9567, allocations: 13.07 MB / 0.6364 GB, free: 96.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003053/0.9598, allocations: 3.531 MB / 0.6398 GB, free: 93.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004291/0.9641, allocations: 1.92 MB / 0.6417 GB, free: 91.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007061/0.9648, allocations: 255.4 kB / 0.6419 GB, free: 91.04 MB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/0.9648, allocations: 4 kB / 0.6419 GB, free: 91.03 MB / 462.1 MB Notification: Performance of Templates: time 0.07131/1.036, allocations: 49.92 MB / 0.6907 GB, free: 41.1 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1)