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.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001222/0.001222, allocations: 190.9 kB / 16.14 MB, free: 6.707 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.48/1.48, allocations: 205.1 MB / 222 MB, free: 4.742 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.001192/0.001192, allocations: 55.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2815, allocations: 46.63 MB / 324.7 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.04253/0.3241, allocations: 42.19 MB / 366.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02464/0.3488, allocations: 9.173 MB / 376 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01156/0.3604, allocations: 175.6 kB / 376.2 MB, free: 428 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005976/0.3664, allocations: 2.579 MB / 378.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005883/0.3724, allocations: 1.627 MB / 380.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.3741, allocations: 0.6241 MB / 381 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006687/0.3808, allocations: 5.351 MB / 386.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004508/0.3853, allocations: 3.533 MB / 389.9 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.3874, allocations: 1.32 MB / 391.3 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.3901, allocations: 2.091 MB / 393.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004836/0.3906, allocations: 224 kB / 393.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.3928, allocations: 1.123 MB / 394.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.3944, allocations: 1.769 MB / 396.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.3965, allocations: 2.062 MB / 398.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007608/0.4041, allocations: 6.417 MB / 404.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4041, allocations: 0 / 404.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4042, allocations: 0 / 404.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002018/0.4044, allocations: 0 / 404.9 MB, free: 3.555 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.009378/0.4137, allocations: 4.565 MB / 409.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4138, allocations: 8.031 kB / 409.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006536/0.4203, allocations: 1.875 MB / 411.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/0.4245, allocations: 2.052 MB / 413.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.4247, allocations: 246.2 kB / 413.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007921/0.4255, allocations: 395.7 kB / 414.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/0.4452, allocations: 10.08 MB / 424.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.4453, allocations: 35.69 kB / 424.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004455/0.4457, allocations: 151.9 kB / 424.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002722/0.4485, allocations: 1.861 MB / 426.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02282/0.4713, allocations: 8.32 MB / 434.5 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2871/0.7585, allocations: 39.4 MB / 473.9 MB, free: 87.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009913/0.7685, allocations: 3.999 MB / 477.9 MB, free: 85.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/0.7702, allocations: 1.431 MB / 479.3 MB, free: 85.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008916/0.7791, allocations: 7.623 MB / 487 MB, free: 80.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.7792, allocations: 54.31 kB / 487 MB, free: 80.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.368e-06/0.7792, allocations: 3.469 kB / 487 MB, free: 80.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.02958/0.8088, allocations: 12.39 MB / 499.4 MB, free: 70.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009184/0.8098, allocations: 1.595 MB / 0.4893 GB, free: 68.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004369/0.8141, allocations: 3.831 MB / 0.493 GB, free: 64.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002532/0.8144, allocations: 45.7 kB / 0.493 GB, free: 64.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.8156, allocations: 3.115 MB / 0.4961 GB, free: 61.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.8161, allocations: 0.6501 MB / 0.4967 GB, free: 60.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/0.8172, allocations: 1.257 MB / 0.4979 GB, free: 59.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.8173, allocations: 305.1 kB / 0.4982 GB, free: 59.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002326/0.8196, allocations: 2.034 MB / 0.5002 GB, free: 57.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003749/0.8234, allocations: 5.968 MB / 0.506 GB, free: 49.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00716/0.8305, allocations: 8.624 MB / 0.5145 GB, free: 38.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.187e-05/0.8306, allocations: 40 kB / 0.5145 GB, free: 38.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01894/0.8496, allocations: 9.725 MB / 0.524 GB, free: 29.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.211e-05/0.8497, allocations: 64 kB / 0.5241 GB, free: 29.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01031/0.86, allocations: 3.746 MB / 0.5277 GB, free: 25.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/0.8709, allocations: 2.62 MB / 0.5303 GB, free: 22.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003962/0.8749, allocations: 1.365 MB / 0.5316 GB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008252/0.8832, allocations: 7.174 MB / 0.5386 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005203/0.8885, allocations: 402.8 kB / 0.539 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006993/0.8892, allocations: 388 kB / 0.5394 GB, free: 13 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 (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.002995/0.8922, allocations: 2.013 MB / 0.5413 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005998/0.8928, allocations: 323.8 kB / 0.5417 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005855/0.8987, allocations: 3.136 MB / 0.5447 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004911/0.9036, allocations: 2.68 MB / 0.5473 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.9036, allocations: 4 kB / 0.5473 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.9036, allocations: 7.922 kB / 0.5473 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.9182, allocations: 8.568 MB / 0.5557 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.9183, allocations: 4 kB / 0.5557 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009287/0.9192, allocations: 191.7 kB / 0.5559 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004493/0.9237, allocations: 1.44 MB / 0.5573 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.9239, allocations: 35.98 kB / 0.5573 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006131/0.93, allocations: 5.703 MB / 0.5629 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001014/0.9311, allocations: 1.456 MB / 0.5643 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009168/0.9402, allocations: 5.315 MB / 0.5695 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009353/0.9412, allocations: 368.7 kB / 0.5699 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003608/0.9416, allocations: 35.81 kB / 0.5699 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.9429, allocations: 115.8 kB / 0.57 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.9432, allocations: 101 kB / 0.5701 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.9433, allocations: 43.97 kB / 0.5702 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003427/0.9467, allocations: 2.349 MB / 0.5724 GB, free: 10.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.9467, allocations: 0 / 0.5724 GB, free: 10.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005069/0.9518, allocations: 1.025 MB / 0.5734 GB, free: 9.492 MB / 414.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.0004036/0.9522, allocations: 169.1 kB / 0.5736 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009299/0.9615, allocations: 5.477 MB / 0.579 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.9616, allocations: 0 / 0.579 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003681/0.9652, allocations: 2.026 MB / 0.5809 GB, free: 1.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002386/0.9676, allocations: 374.1 kB / 0.5813 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/0.9827, allocations: 10.97 MB / 0.592 GB, free: 6.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/0.9857, allocations: 3.111 MB / 0.595 GB, free: 3.176 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004397/0.9901, allocations: 1.804 MB / 0.5968 GB, free: 1.363 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000687/0.9908, allocations: 219.4 kB / 0.597 GB, free: 1.148 MB / 430.1 MB Notification: Performance of SimCode: time 1.212e-06/0.9908, allocations: 0 / 0.597 GB, free: 1.148 MB / 430.1 MB Notification: Performance of Templates: time 0.2376/1.228, allocations: 37.16 MB / 0.6333 GB, free: 152.7 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (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)