Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001682/0.001682, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.589/1.589, allocations: 205.4 MB / 223.4 MB, free: 5.316 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.0005386/0.0005387, allocations: 12 kB / 280.1 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3093, allocations: 47.57 MB / 327.7 MB, free: 1.473 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.04209/0.3514, allocations: 36.08 MB / 363.8 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0222/0.3737, allocations: 9.025 MB / 372.8 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008216/0.3819, allocations: 175.6 kB / 373 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005706/0.3877, allocations: 1.773 MB / 374.8 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01634/0.404, allocations: 5.229 MB / 380 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002746/0.4068, allocations: 0.5615 MB / 380.5 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004259/0.4111, allocations: 2.118 MB / 382.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005638/0.4167, allocations: 4.164 MB / 386.8 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.4184, allocations: 0.9888 MB / 387.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.4201, allocations: 1.273 MB / 389.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003917/0.4205, allocations: 136 kB / 389.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.4222, allocations: 0.8699 MB / 390.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.4236, allocations: 1.488 MB / 391.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000819/0.4245, allocations: 0.8038 MB / 392.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004997/0.4295, allocations: 5.12 MB / 397.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4295, allocations: 0 / 397.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4295, allocations: 0 / 397.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001183/0.4296, allocations: 0 / 397.5 MB, free: 13.46 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.0069/0.4365, allocations: 3.816 MB / 401.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.4366, allocations: 11.97 kB / 401.3 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007521/0.4441, allocations: 2.225 MB / 403.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004699/0.4488, allocations: 2.196 MB / 405.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.4491, allocations: 246.2 kB / 406 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009077/0.45, allocations: 399.6 kB / 406.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01832/0.4683, allocations: 10.17 MB / 416.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-05/0.4685, allocations: 39.62 kB / 416.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/0.4688, allocations: 159.9 kB / 416.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003165/0.472, allocations: 1.853 MB / 418.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/0.4918, allocations: 8.441 MB / 427 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2842/0.7761, allocations: 39.48 MB / 466.5 MB, free: 85.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00983/0.786, allocations: 4.008 MB / 470.5 MB, free: 84.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/0.7974, allocations: 7.704 MB / 478.2 MB, free: 81.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.7975, allocations: 46.56 kB / 478.3 MB, free: 81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.849e-06/0.7975, allocations: 0 / 478.3 MB, free: 81 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.02998/0.8275, allocations: 12.71 MB / 491 MB, free: 73.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009427/0.8285, allocations: 1.602 MB / 492.6 MB, free: 71.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004374/0.8329, allocations: 3.927 MB / 496.5 MB, free: 67.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003005/0.8332, allocations: 45.7 kB / 496.6 MB, free: 67.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.8347, allocations: 3.116 MB / 499.7 MB, free: 64.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006529/0.8353, allocations: 0.654 MB / 0.4886 GB, free: 63.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.8355, allocations: 121.2 kB / 0.4887 GB, free: 63.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002561/0.8358, allocations: 0.5665 MB / 0.4893 GB, free: 63.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/0.8382, allocations: 2.023 MB / 0.4913 GB, free: 61.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/0.8418, allocations: 5.936 MB / 0.497 GB, free: 53.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003614/0.8454, allocations: 3.379 MB / 0.5003 GB, free: 50.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.965e-05/0.8455, allocations: 40 kB / 0.5004 GB, free: 50.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01937/0.8649, allocations: 9.716 MB / 0.5099 GB, free: 40.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.34e-05/0.865, allocations: 64 kB / 0.5099 GB, free: 40.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01056/0.8756, allocations: 3.75 MB / 0.5136 GB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01119/0.8868, allocations: 2.63 MB / 0.5162 GB, free: 33.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004094/0.8909, allocations: 1.365 MB / 0.5175 GB, free: 32.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008334/0.8993, allocations: 7.48 MB / 0.5248 GB, free: 24.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004975/0.9043, allocations: 400 kB / 0.5252 GB, free: 24.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007904/0.9051, allocations: 388.7 kB / 0.5256 GB, free: 23.97 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.002925/0.908, allocations: 2.011 MB / 0.5275 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005414/0.9086, allocations: 327.7 kB / 0.5278 GB, free: 21.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005749/0.9143, allocations: 3.133 MB / 0.5309 GB, free: 18.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004822/0.9192, allocations: 2.674 MB / 0.5335 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.9192, allocations: 7.984 kB / 0.5335 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.9192, allocations: 11.97 kB / 0.5335 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.9345, allocations: 8.569 MB / 0.5419 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/0.9346, allocations: 4 kB / 0.5419 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009293/0.9355, allocations: 195.7 kB / 0.5421 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004315/0.9398, allocations: 1.433 MB / 0.5435 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002803/0.9401, allocations: 39.97 kB / 0.5435 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006628/0.9468, allocations: 5.782 MB / 0.5492 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001126/0.948, allocations: 1.468 MB / 0.5506 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.9584, allocations: 5.352 MB / 0.5558 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/0.96, allocations: 392.6 kB / 0.5562 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004605/0.9605, allocations: 24 kB / 0.5562 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.9618, allocations: 129.2 kB / 0.5563 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/0.9621, allocations: 97.06 kB / 0.5564 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.9622, allocations: 43.98 kB / 0.5565 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004062/0.9663, allocations: 2.424 MB / 0.5588 GB, free: 5.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.9663, allocations: 0 / 0.5588 GB, free: 5.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005743/0.9721, allocations: 1.043 MB / 0.5599 GB, free: 4.195 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005633/0.9727, allocations: 195.6 kB / 0.5601 GB, free: 4.004 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0102/0.9829, allocations: 5.427 MB / 0.5654 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.9829, allocations: 0 / 0.5654 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004079/0.987, allocations: 2.016 MB / 0.5673 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.9892, allocations: 380.2 kB / 0.5677 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/1.007, allocations: 10.65 MB / 0.5781 GB, free: 1.375 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003553/1.01, allocations: 3.2 MB / 0.5812 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004896/1.015, allocations: 1.804 MB / 0.583 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/1.016, allocations: 219.4 kB / 0.5832 GB, free: 12.11 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/1.016, allocations: 0 / 0.5832 GB, free: 12.11 MB / 430.1 MB Notification: Performance of Templates: time 0.2647/1.281, allocations: 36.74 MB / 0.6191 GB, free: 151.3 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) Environment - environmentSimulation: