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.001478/0.001478, allocations: 113.5 kB / 16.63 MB, free: 6.812 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.001176/0.001176, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.403/1.403, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001239/0.001239, allocations: 51.92 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1066, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.04429/0.1509, allocations: 42.2 MB / 368.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02262/0.1736, allocations: 9.059 MB / 377.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009819/0.1836, allocations: 183.5 kB / 377.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.203/0.3866, allocations: 2.475 MB / 380.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006394/0.393, allocations: 1.626 MB / 381.7 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.395, allocations: 0.6397 MB / 382.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00657/0.4016, allocations: 3.725 MB / 386 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00583/0.4074, allocations: 3.751 MB / 389.8 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003295/0.4108, allocations: 1.51 MB / 391.3 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004205/0.415, allocations: 2.171 MB / 393.5 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00153/0.4166, allocations: 314.9 kB / 393.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.4197, allocations: 1.17 MB / 395 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00259/0.4223, allocations: 1.851 MB / 396.8 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002725/0.4251, allocations: 2.166 MB / 399 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00763/0.4327, allocations: 6.512 MB / 405.5 MB, free: 3.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4327, allocations: 4 kB / 405.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4328, allocations: 0 / 405.5 MB, free: 3.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002592/0.433, allocations: 0 / 405.5 MB, free: 3.762 MB / 318.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.008972/0.442, allocations: 4.572 MB / 410.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4421, allocations: 8.938 kB / 410.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006538/0.4486, allocations: 1.876 MB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005795/0.4544, allocations: 2.037 MB / 414 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.4547, allocations: 250.1 kB / 414.2 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/0.4558, allocations: 395.7 kB / 414.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0221/0.4779, allocations: 10.07 MB / 424.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.4781, allocations: 36.44 kB / 424.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005099/0.4787, allocations: 163 kB / 424.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002996/0.4817, allocations: 1.851 MB / 426.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/0.4996, allocations: 8.34 MB / 435.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04995/0.5497, allocations: 39.38 MB / 474.5 MB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009967/0.5597, allocations: 4.007 MB / 478.5 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002163/0.5619, allocations: 1.423 MB / 479.9 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/0.5735, allocations: 7.64 MB / 487.5 MB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.5736, allocations: 48.52 kB / 487.6 MB, free: 3.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=152): time 5.239e-06/0.5736, allocations: 2.625 kB / 487.6 MB, free: 3.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.0332/0.6068, allocations: 12.41 MB / 500 MB, free: 7.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001649/0.6086, allocations: 1.679 MB / 0.4899 GB, free: 5.367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006548/0.6151, allocations: 3.824 MB / 0.4936 GB, free: 1.555 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004353/0.6156, allocations: 45.7 kB / 0.4937 GB, free: 1.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00299/0.6186, allocations: 3.11 MB / 0.4967 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001227/0.6198, allocations: 0.6502 MB / 0.4974 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002107/0.6219, allocations: 1.254 MB / 0.4986 GB, free: 12.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6221, allocations: 313.2 kB / 0.4989 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003432/0.6255, allocations: 2.03 MB / 0.5009 GB, free: 10.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006403/0.6319, allocations: 5.969 MB / 0.5067 GB, free: 2.277 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/0.6428, allocations: 8.617 MB / 0.5151 GB, free: 8.258 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/0.6429, allocations: 40 kB / 0.5151 GB, free: 8.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02584/0.6688, allocations: 9.735 MB / 0.5246 GB, free: 14.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.6689, allocations: 68.03 kB / 0.5247 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01203/0.681, allocations: 3.76 MB / 0.5284 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01191/0.6929, allocations: 2.61 MB / 0.5309 GB, free: 8.125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004829/0.6978, allocations: 1.368 MB / 0.5323 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2274/0.9253, allocations: 7.712 MB / 0.5398 GB, free: 169.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0055/0.9308, allocations: 400.4 kB / 0.5402 GB, free: 169.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/0.932, allocations: 390.5 kB / 0.5406 GB, free: 169.3 MB / 462.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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.003373/0.9354, allocations: 2.022 MB / 0.5425 GB, free: 169.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006329/0.936, allocations: 326.7 kB / 0.5428 GB, free: 169.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006579/0.9426, allocations: 3.12 MB / 0.5459 GB, free: 168.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006095/0.9487, allocations: 2.683 MB / 0.5485 GB, free: 167.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.891e-05/0.9488, allocations: 6.656 kB / 0.5485 GB, free: 167.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-05/0.9488, allocations: 7.578 kB / 0.5485 GB, free: 167.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.9649, allocations: 8.554 MB / 0.5569 GB, free: 164.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.9649, allocations: 1.75 kB / 0.5569 GB, free: 164.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008883/0.9658, allocations: 190.3 kB / 0.5571 GB, free: 164.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004307/0.9701, allocations: 1.447 MB / 0.5585 GB, free: 164.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/0.9704, allocations: 38.53 kB / 0.5585 GB, free: 164.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005225/0.9756, allocations: 6.01 MB / 0.5644 GB, free: 160.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007448/0.9764, allocations: 1.547 MB / 0.5659 GB, free: 159.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007862/0.9842, allocations: 5.302 MB / 0.5711 GB, free: 157.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.9854, allocations: 372.2 kB / 0.5714 GB, free: 157.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003624/0.9858, allocations: 34.14 kB / 0.5715 GB, free: 157.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.9871, allocations: 125.4 kB / 0.5716 GB, free: 157.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.9873, allocations: 87.75 kB / 0.5717 GB, free: 157.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.9875, allocations: 50.94 kB / 0.5717 GB, free: 157.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003144/0.9906, allocations: 2.344 MB / 0.574 GB, free: 156.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.9906, allocations: 7.781 kB / 0.574 GB, free: 156.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005707/0.9963, allocations: 1.029 MB / 0.575 GB, free: 156.2 MB / 462.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 (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004161/0.9968, allocations: 168.6 kB / 0.5752 GB, free: 156.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009489/1.006, allocations: 5.986 MB / 0.581 GB, free: 153.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.006, allocations: 0 / 0.581 GB, free: 153.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003514/1.01, allocations: 2.04 MB / 0.583 GB, free: 151.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/1.012, allocations: 382.4 kB / 0.5834 GB, free: 150.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/1.027, allocations: 10.99 MB / 0.5941 GB, free: 139.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002563/1.03, allocations: 3.103 MB / 0.5971 GB, free: 136.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003754/1.034, allocations: 1.811 MB / 0.5989 GB, free: 134.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005284/1.034, allocations: 219.4 kB / 0.5991 GB, free: 134.6 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/1.034, allocations: 0 / 0.5991 GB, free: 134.6 MB / 462.1 MB Notification: Performance of Templates: time 0.05935/1.094, allocations: 38.78 MB / 0.637 GB, free: 95.88 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (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)