Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001022/0.001022, allocations: 99.86 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.001118/0.001118, 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.458/1.458, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.0007249/0.0007253, allocations: 12 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3274, allocations: 47.59 MB / 326.5 MB, free: 1.469 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03446/0.3619, allocations: 36.08 MB / 362.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02177/0.3837, allocations: 9.025 MB / 371.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008181/0.392, allocations: 175.6 kB / 371.7 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009354/0.4014, allocations: 1.777 MB / 373.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02799/0.4294, allocations: 5.225 MB / 378.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005166/0.4347, allocations: 0.5576 MB / 379.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007009/0.4417, allocations: 2.114 MB / 381.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009963/0.4517, allocations: 4.167 MB / 385.6 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.4547, allocations: 0.9966 MB / 386.6 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003286/0.4581, allocations: 1.265 MB / 387.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008835/0.459, allocations: 136 kB / 388 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/0.4623, allocations: 0.8738 MB / 388.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003065/0.4654, allocations: 1.492 MB / 390.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.4674, allocations: 0.8038 MB / 391.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009691/0.4771, allocations: 5.113 MB / 396.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4772, allocations: 4 kB / 396.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4772, allocations: 0 / 396.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002637/0.4775, allocations: 0 / 396.2 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.01456/0.4921, allocations: 3.812 MB / 400.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.4921, allocations: 8.031 kB / 400.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01659/0.5087, allocations: 2.237 MB / 402.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008829/0.5176, allocations: 2.188 MB / 404.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004549/0.5181, allocations: 250.2 kB / 404.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002563/0.5207, allocations: 403.6 kB / 405.1 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03361/0.5544, allocations: 10.17 MB / 415.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002419/0.5546, allocations: 39.62 kB / 415.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001645/0.5563, allocations: 155.9 kB / 415.5 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004905/0.5613, allocations: 1.853 MB / 417.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03461/0.5959, allocations: 8.449 MB / 425.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2666/0.8626, allocations: 39.48 MB / 465.3 MB, free: 85.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/0.8727, allocations: 4.018 MB / 469.3 MB, free: 84.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.8838, allocations: 7.693 MB / 477 MB, free: 81.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.8839, allocations: 46.44 kB / 477 MB, free: 81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.809e-06/0.8839, allocations: 0 / 477 MB, free: 81 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.03094/0.9148, allocations: 12.71 MB / 489.7 MB, free: 73.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001018/0.9159, allocations: 1.604 MB / 491.3 MB, free: 71.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005647/0.9216, allocations: 3.922 MB / 495.3 MB, free: 67.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003381/0.9219, allocations: 49.7 kB / 495.3 MB, free: 67.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.9233, allocations: 3.113 MB / 498.4 MB, free: 64.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005473/0.9238, allocations: 0.6461 MB / 499.1 MB, free: 63.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.9241, allocations: 124.9 kB / 499.2 MB, free: 63.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002655/0.9244, allocations: 0.5718 MB / 499.8 MB, free: 63.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/0.9269, allocations: 2.023 MB / 0.49 GB, free: 61.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/0.9308, allocations: 5.942 MB / 0.4958 GB, free: 53.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003732/0.9346, allocations: 3.371 MB / 0.4991 GB, free: 50.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.965e-05/0.9347, allocations: 44 kB / 0.4992 GB, free: 50.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01945/0.9541, allocations: 9.717 MB / 0.5086 GB, free: 40.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-05/0.9543, allocations: 68.22 kB / 0.5087 GB, free: 40.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01068/0.9649, allocations: 3.751 MB / 0.5124 GB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/0.9762, allocations: 2.629 MB / 0.5149 GB, free: 33.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004199/0.9804, allocations: 1.361 MB / 0.5163 GB, free: 32.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00829/0.9887, allocations: 7.487 MB / 0.5236 GB, free: 24.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005232/0.994, allocations: 401.2 kB / 0.524 GB, free: 24.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/0.9953, allocations: 391.9 kB / 0.5243 GB, free: 23.99 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.004438/0.9998, allocations: 2.004 MB / 0.5263 GB, free: 21.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006319/1, allocations: 331.7 kB / 0.5266 GB, free: 21.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00585/1.006, allocations: 3.131 MB / 0.5297 GB, free: 18.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004854/1.011, allocations: 2.672 MB / 0.5323 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/1.011, allocations: 7.984 kB / 0.5323 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/1.011, allocations: 3.984 kB / 0.5323 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/1.027, allocations: 8.575 MB / 0.5407 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.027, allocations: 4 kB / 0.5407 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008795/1.028, allocations: 195.7 kB / 0.5409 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004157/1.032, allocations: 1.437 MB / 0.5423 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002073/1.032, allocations: 39.97 kB / 0.5423 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005284/1.038, allocations: 5.782 MB / 0.5479 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001112/1.039, allocations: 1.465 MB / 0.5494 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009314/1.048, allocations: 5.355 MB / 0.5546 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.049, allocations: 396.6 kB / 0.555 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008732/1.05, allocations: 31.98 kB / 0.555 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.052, allocations: 120.5 kB / 0.5551 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/1.052, allocations: 92.78 kB / 0.5552 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/1.053, allocations: 44.69 kB / 0.5553 GB, free: 7.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.005847/1.059, allocations: 2.424 MB / 0.5576 GB, free: 5.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.91e-07/1.059, allocations: 4 kB / 0.5576 GB, free: 5.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.007113/1.066, allocations: 1.042 MB / 0.5586 GB, free: 4.215 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.0008057/1.066, allocations: 193.6 kB / 0.5588 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0109/1.077, allocations: 5.42 MB / 0.5641 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.077, allocations: 0 / 0.5641 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004256/1.082, allocations: 2.021 MB / 0.5661 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/1.084, allocations: 370 kB / 0.5665 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/1.104, allocations: 10.66 MB / 0.5769 GB, free: 1.398 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005147/1.109, allocations: 3.193 MB / 0.58 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005121/1.114, allocations: 1.815 MB / 0.5818 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008342/1.115, allocations: 219.4 kB / 0.582 GB, free: 12.13 MB / 430.1 MB Notification: Performance of SimCode: time 1.523e-06/1.115, allocations: 0 / 0.582 GB, free: 12.13 MB / 430.1 MB Notification: Performance of Templates: time 0.2648/1.38, allocations: 36.73 MB / 0.6178 GB, free: 154.1 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) Environment - environmentSimulation: