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.001284/0.001284, allocations: 99.62 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.001504/0.001504, allocations: 177.3 kB / 15.95 MB, free: 216 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.449/1.449, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004425/0.0004425, allocations: 10.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.241, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04084/0.2819, allocations: 43.46 MB / 369.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02375/0.3057, allocations: 10.8 MB / 380.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008623/0.3144, allocations: 223.4 kB / 380.9 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007203/0.3216, allocations: 2.142 MB / 383.1 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02071/0.3424, allocations: 6.335 MB / 389.4 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.3456, allocations: 0.7176 MB / 390.1 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03918/0.3849, allocations: 26.55 MB / 416.7 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007862/0.3928, allocations: 4.647 MB / 421.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002679/0.3955, allocations: 1.164 MB / 422.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002865/0.3984, allocations: 1.554 MB / 424 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001063/0.3995, allocations: 156 kB / 424.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.402, allocations: 0.9207 MB / 425.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002485/0.4045, allocations: 1.773 MB / 426.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001791/0.4063, allocations: 0.9168 MB / 427.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007774/0.4141, allocations: 6.453 MB / 434.3 MB, free: 7.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.4142, allocations: 4 kB / 434.3 MB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4142, allocations: 4 kB / 434.3 MB, free: 7.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003218/0.4145, allocations: 0 / 434.3 MB, free: 7.422 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.01383/0.4283, allocations: 4.816 MB / 439.1 MB, free: 2.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4284, allocations: 8.031 kB / 439.1 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1662/0.5946, allocations: 14.59 MB / 453.7 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2125/0.8071, allocations: 3.993 MB / 457.7 MB, free: 55.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004377/0.8076, allocations: 242.3 kB / 457.9 MB, free: 55.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002036/0.8097, allocations: 341.1 kB / 458.2 MB, free: 55.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01977/0.8295, allocations: 10.29 MB / 468.5 MB, free: 53.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.8297, allocations: 46.03 kB / 468.6 MB, free: 53.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004809/0.8302, allocations: 157.4 kB / 468.7 MB, free: 53.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003175/0.8333, allocations: 2.025 MB / 470.8 MB, free: 53.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/0.8494, allocations: 8.731 MB / 479.5 MB, free: 53.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04425/0.8937, allocations: 39.46 MB / 0.5068 GB, free: 24.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008114/0.9019, allocations: 4.004 MB / 0.5107 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/0.9025, allocations: 0.6527 MB / 0.5113 GB, free: 20.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.9026, allocations: 53.38 kB / 0.5114 GB, free: 20.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 4.709e-06/0.9026, allocations: 0 / 0.5114 GB, free: 20.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05249/0.9551, allocations: 21.85 MB / 0.5327 GB, free: 2.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.9552, allocations: 259.2 kB / 0.533 GB, free: 2.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005807/0.961, allocations: 4.509 MB / 0.5374 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005319/0.9616, allocations: 53.7 kB / 0.5374 GB, free: 14.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002287/0.9639, allocations: 3.243 MB / 0.5406 GB, free: 11.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001107/0.965, allocations: 0.8033 MB / 0.5414 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002951/0.9653, allocations: 116 kB / 0.5415 GB, free: 10.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003938/0.9657, allocations: 0.562 MB / 0.542 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/0.9693, allocations: 2.311 MB / 0.5443 GB, free: 7.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006369/0.9757, allocations: 5.842 MB / 0.55 GB, free: 15.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005875/0.9816, allocations: 3.615 MB / 0.5535 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.6e-05/0.9817, allocations: 36 kB / 0.5536 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01994/1.002, allocations: 9.714 MB / 0.563 GB, free: 3.441 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.002, allocations: 63.95 kB / 0.5631 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001797/1.002, allocations: 128.2 kB / 0.5632 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006355/1.008, allocations: 2.108 MB / 0.5653 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004431/1.013, allocations: 1.294 MB / 0.5665 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/1.035, allocations: 16.38 MB / 0.5825 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004706/1.04, allocations: 358.6 kB / 0.5829 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000919/1.041, allocations: 360 kB / 0.5832 GB, free: 14.57 MB / 446.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.00434/1.045, allocations: 2.232 MB / 0.5854 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009783/1.046, allocations: 383 kB / 0.5858 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008865/1.055, allocations: 4.407 MB / 0.5901 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.111e-05/1.055, allocations: 20 kB / 0.5901 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/1.055, allocations: 11.95 kB / 0.5901 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.195e-05/1.055, allocations: 14.05 kB / 0.5901 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02105/1.077, allocations: 10.39 MB / 0.6003 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.077, allocations: 0 / 0.6003 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/1.078, allocations: 309.5 kB / 0.6006 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004166/1.082, allocations: 1.351 MB / 0.6019 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004294/1.083, allocations: 37.75 kB / 0.6019 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01324/1.096, allocations: 8.659 MB / 0.6104 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.096, allocations: 0 / 0.6104 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.203/1.299, allocations: 7.546 MB / 0.6177 GB, free: 173.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/1.302, allocations: 0.7602 MB / 0.6185 GB, free: 173.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007425/1.303, allocations: 35.17 kB / 0.6185 GB, free: 173.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.304, allocations: 132.8 kB / 0.6186 GB, free: 173.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003963/1.305, allocations: 122.3 kB / 0.6188 GB, free: 173.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/1.305, allocations: 51.94 kB / 0.6188 GB, free: 173.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004004/1.309, allocations: 2.894 MB / 0.6216 GB, free: 172.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.309, allocations: 0 / 0.6216 GB, free: 172.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005085/1.314, allocations: 1.174 MB / 0.6228 GB, free: 172.1 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 (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.0005271/1.314, allocations: 186.5 kB / 0.623 GB, free: 172 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009358/1.324, allocations: 6.16 MB / 0.629 GB, free: 169.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/1.324, allocations: 6.812 kB / 0.629 GB, free: 169.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003579/1.327, allocations: 2.258 MB / 0.6312 GB, free: 168.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/1.331, allocations: 0.5296 MB / 0.6317 GB, free: 168.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/1.348, allocations: 12.24 MB / 0.6437 GB, free: 161 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00314/1.351, allocations: 3.617 MB / 0.6472 GB, free: 158.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004281/1.356, allocations: 1.938 MB / 0.6491 GB, free: 156.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007188/1.356, allocations: 263.4 kB / 0.6493 GB, free: 156.4 MB / 462.1 MB Notification: Performance of SimCode: time 6.72e-07/1.356, allocations: 4 kB / 0.6493 GB, free: 156.4 MB / 462.1 MB Notification: Performance of Templates: time 0.06973/1.426, allocations: 47.92 MB / 0.6961 GB, free: 108.5 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: