Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0009518/0.0009518, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.0009844/0.0009844, allocations: 177.3 kB / 15.94 MB, free: 228 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.351/1.351, allocations: 205.4 MB / 222.1 MB, free: 5.488 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.0004843/0.0004844, allocations: 12 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 47.59 MB / 326.5 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.03943/0.251, allocations: 43.46 MB / 369.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02172/0.2728, allocations: 10.8 MB / 380.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006866/0.2797, allocations: 223.4 kB / 380.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006672/0.2864, allocations: 2.154 MB / 383.1 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01875/0.3051, allocations: 6.327 MB / 389.4 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.3081, allocations: 0.7254 MB / 390.1 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03813/0.3462, allocations: 26.54 MB / 416.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00698/0.3533, allocations: 4.639 MB / 421.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.3555, allocations: 1.176 MB / 422.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.3581, allocations: 1.55 MB / 424 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007096/0.3589, allocations: 160 kB / 424.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.3608, allocations: 0.9168 MB / 425.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001674/0.3625, allocations: 1.769 MB / 426.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.3636, allocations: 0.9206 MB / 427.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006144/0.3697, allocations: 6.457 MB / 434.3 MB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3698, allocations: 0 / 434.3 MB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3698, allocations: 0 / 434.3 MB, free: 7.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002025/0.37, allocations: 0 / 434.3 MB, free: 7.414 MB / 366.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.0115/0.3815, allocations: 4.82 MB / 439.1 MB, free: 2.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3816, allocations: 12.03 kB / 439.1 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1656/0.5472, allocations: 14.58 MB / 453.7 MB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1941/0.7413, allocations: 4 MB / 457.7 MB, free: 114.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004637/0.7419, allocations: 242.3 kB / 457.9 MB, free: 114.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/0.7442, allocations: 335.6 kB / 458.2 MB, free: 114.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01838/0.7625, allocations: 10.29 MB / 468.5 MB, free: 109.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/0.7627, allocations: 50.27 kB / 468.6 MB, free: 109.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004292/0.7631, allocations: 156.2 kB / 468.7 MB, free: 109.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003056/0.7662, allocations: 2.027 MB / 470.8 MB, free: 108.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.7806, allocations: 8.731 MB / 479.5 MB, free: 100.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03946/0.8201, allocations: 39.45 MB / 0.5068 GB, free: 60.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007656/0.8278, allocations: 4.009 MB / 0.5107 GB, free: 56.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005839/0.8284, allocations: 0.6586 MB / 0.5113 GB, free: 55.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.8284, allocations: 47.64 kB / 0.5114 GB, free: 55.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 5.059e-06/0.8284, allocations: 0 / 0.5114 GB, free: 55.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05107/0.8795, allocations: 21.84 MB / 0.5327 GB, free: 33.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.8796, allocations: 256.6 kB / 0.533 GB, free: 33.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004552/0.8842, allocations: 4.506 MB / 0.5374 GB, free: 28.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003261/0.8845, allocations: 57.64 kB / 0.5374 GB, free: 28.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.886, allocations: 3.239 MB / 0.5406 GB, free: 25.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006127/0.8866, allocations: 0.8076 MB / 0.5414 GB, free: 24.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.8868, allocations: 116 kB / 0.5415 GB, free: 24.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.8871, allocations: 0.5581 MB / 0.542 GB, free: 23.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/0.8898, allocations: 2.311 MB / 0.5443 GB, free: 21.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003755/0.8935, allocations: 5.846 MB / 0.55 GB, free: 13.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003898/0.8974, allocations: 3.621 MB / 0.5535 GB, free: 10.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.437e-05/0.8975, allocations: 32 kB / 0.5536 GB, free: 10.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01497/0.9125, allocations: 9.714 MB / 0.563 GB, free: 480 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.341e-05/0.9126, allocations: 60 kB / 0.5631 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.065e-05/0.9127, allocations: 130.3 kB / 0.5632 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005736/0.9184, allocations: 2.119 MB / 0.5653 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004435/0.9229, allocations: 1.287 MB / 0.5665 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02242/0.9453, allocations: 16.37 MB / 0.5825 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004542/0.9499, allocations: 366.9 kB / 0.5829 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008229/0.9508, allocations: 360 kB / 0.5832 GB, free: 11.39 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 (693): * Single equations (assignments): 687 * 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,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.004183/0.9549, allocations: 2.22 MB / 0.5854 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008824/0.9558, allocations: 390.9 kB / 0.5858 GB, free: 8.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008281/0.9641, allocations: 4.404 MB / 0.5901 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.401e-05/0.9642, allocations: 32.08 kB / 0.5901 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.9642, allocations: 8 kB / 0.5901 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.9642, allocations: 8.25 kB / 0.5901 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/0.9834, allocations: 10.39 MB / 0.6003 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.9835, allocations: 4 kB / 0.6003 GB, free: 9.852 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.985, allocations: 311.5 kB / 0.6006 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004001/0.989, allocations: 1.348 MB / 0.6019 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/0.9892, allocations: 39.95 kB / 0.6019 GB, free: 8.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1978/1.187, allocations: 8.661 MB / 0.6104 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.187, allocations: 1.719 kB / 0.6104 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.199, allocations: 7.548 MB / 0.6177 GB, free: 139.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00209/1.202, allocations: 0.7544 MB / 0.6185 GB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004807/1.202, allocations: 36.38 kB / 0.6185 GB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.204, allocations: 129.9 kB / 0.6186 GB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/1.204, allocations: 132 kB / 0.6188 GB, free: 139.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.204, allocations: 51.7 kB / 0.6188 GB, free: 139.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003726/1.208, allocations: 2.887 MB / 0.6216 GB, free: 138.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.208, allocations: 0 / 0.6216 GB, free: 138.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00468/1.212, allocations: 1.178 MB / 0.6228 GB, free: 138.3 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 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004864/1.213, allocations: 182.8 kB / 0.623 GB, free: 138.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00849/1.221, allocations: 6.17 MB / 0.629 GB, free: 135.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.221, allocations: 0 / 0.629 GB, free: 135.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003467/1.225, allocations: 2.259 MB / 0.6312 GB, free: 135 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.227, allocations: 0.5146 MB / 0.6317 GB, free: 134.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/1.243, allocations: 12.25 MB / 0.6437 GB, free: 125.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003143/1.246, allocations: 3.62 MB / 0.6472 GB, free: 123.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004348/1.251, allocations: 1.943 MB / 0.6491 GB, free: 121.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/1.251, allocations: 259.4 kB / 0.6493 GB, free: 121.1 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/1.251, allocations: 4 kB / 0.6493 GB, free: 121.1 MB / 430.1 MB Notification: Performance of Templates: time 0.1052/1.356, allocations: 47.93 MB / 0.6961 GB, free: 73.16 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) Environment - environmentSimulation: