Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00158/0.00158, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.436/1.436, 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.001108/0.001108, allocations: 52.31 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2722, allocations: 46.61 MB / 324.7 MB, free: 2.164 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.04212/0.3143, allocations: 46.98 MB / 371.6 MB, free: 5.172 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02376/0.3382, allocations: 9.978 MB / 381.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008892/0.3472, allocations: 199.5 kB / 381.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005349/0.3526, allocations: 2.735 MB / 384.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0055/0.3581, allocations: 1.833 MB / 386.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.3601, allocations: 0.7489 MB / 387.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007967/0.3681, allocations: 6.539 MB / 393.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004901/0.373, allocations: 3.535 MB / 397.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.3761, allocations: 1.518 MB / 398.7 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004244/0.3804, allocations: 2.508 MB / 401.2 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.3815, allocations: 267.9 kB / 401.5 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.3842, allocations: 1.236 MB / 402.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002271/0.3865, allocations: 2.053 MB / 404.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003131/0.3896, allocations: 2.361 MB / 407.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008208/0.3979, allocations: 7.192 MB / 414.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3979, allocations: 0 / 414.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3979, allocations: 4 kB / 414.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002322/0.3981, allocations: 0 / 414.3 MB, free: 10.3 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01206/0.4102, allocations: 5.278 MB / 419.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4103, allocations: 8.031 kB / 419.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007805/0.4181, allocations: 2.116 MB / 421.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005779/0.4239, allocations: 2.583 MB / 424.3 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.4242, allocations: 278.9 kB / 424.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.4252, allocations: 427.7 kB / 425 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0259/0.4511, allocations: 12.22 MB / 437.2 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001403/0.4513, allocations: 55.61 kB / 437.3 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005235/0.4518, allocations: 171.8 kB / 437.5 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00375/0.4556, allocations: 2.17 MB / 439.6 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02254/0.4782, allocations: 10.2 MB / 449.8 MB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2608/0.739, allocations: 44.33 MB / 494.2 MB, free: 79.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.7495, allocations: 4.609 MB / 498.8 MB, free: 76.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002233/0.7518, allocations: 1.718 MB / 0.4888 GB, free: 74.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01023/0.7621, allocations: 8.228 MB / 0.4968 GB, free: 66.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.7622, allocations: 51.86 kB / 0.4968 GB, free: 66.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=183): time 6.372e-06/0.7622, allocations: 4 kB / 0.4968 GB, free: 66.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.03588/0.7981, allocations: 15.96 MB / 0.5124 GB, free: 50.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009762/0.7991, allocations: 1.609 MB / 0.514 GB, free: 48.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004804/0.8039, allocations: 4.222 MB / 0.5181 GB, free: 44.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004094/0.8043, allocations: 53.7 kB / 0.5182 GB, free: 44.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/0.8059, allocations: 3.395 MB / 0.5215 GB, free: 40.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006709/0.8065, allocations: 0.7996 MB / 0.5223 GB, free: 39.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/0.808, allocations: 1.365 MB / 0.5236 GB, free: 38.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.359e-05/0.808, allocations: 305.2 kB / 0.5239 GB, free: 38.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/0.811, allocations: 2.262 MB / 0.5261 GB, free: 35.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004665/0.8157, allocations: 6.394 MB / 0.5324 GB, free: 27.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008544/0.8242, allocations: 9.316 MB / 0.5415 GB, free: 16.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/0.8244, allocations: 40 kB / 0.5415 GB, free: 16.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.0217/0.8461, allocations: 10.07 MB / 0.5513 GB, free: 5.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.8463, allocations: 68.03 kB / 0.5514 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01034/0.8567, allocations: 3.8 MB / 0.5551 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008912/0.8656, allocations: 2.168 MB / 0.5572 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005257/0.8709, allocations: 1.579 MB / 0.5588 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008823/0.8798, allocations: 6.075 MB / 0.5647 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006004/0.8858, allocations: 425.6 kB / 0.5651 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/0.8874, allocations: 412 kB / 0.5655 GB, free: 7.148 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005175/0.8926, allocations: 2.218 MB / 0.5677 GB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/0.8937, allocations: 379.1 kB / 0.568 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007541/0.9013, allocations: 3.295 MB / 0.5712 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00539/0.9067, allocations: 2.742 MB / 0.5739 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.9068, allocations: 4 kB / 0.5739 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-05/0.9068, allocations: 11.97 kB / 0.5739 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/0.9259, allocations: 10.35 MB / 0.584 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/0.926, allocations: 12.22 kB / 0.584 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001521/0.9275, allocations: 375.4 kB / 0.5844 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/0.9305, allocations: 0.9825 MB / 0.5854 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003014/0.9308, allocations: 63.97 kB / 0.5854 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004859/0.9356, allocations: 4.585 MB / 0.5899 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001025/0.9367, allocations: 1.482 MB / 0.5913 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009116/0.9458, allocations: 5.902 MB / 0.5971 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/0.9478, allocations: 0.6561 MB / 0.5978 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006858/0.9485, allocations: 55.98 kB / 0.5978 GB, free: 5.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.9503, allocations: 151.7 kB / 0.598 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/0.9506, allocations: 172.5 kB / 0.5981 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.9508, allocations: 79.92 kB / 0.5982 GB, free: 4.676 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004462/0.9553, allocations: 2.609 MB / 0.6007 GB, free: 2.059 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9553, allocations: 0 / 0.6007 GB, free: 2.059 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007685/0.963, allocations: 1.161 MB / 0.6019 GB, free: 0.9023 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007073/0.9637, allocations: 215.9 kB / 0.6021 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.1955/1.159, allocations: 5.976 MB / 0.6079 GB, free: 146.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/1.159, allocations: 2.375 kB / 0.6079 GB, free: 146.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003502/1.163, allocations: 2.196 MB / 0.6101 GB, free: 145.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/1.166, allocations: 485.2 kB / 0.6105 GB, free: 145.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01682/1.183, allocations: 12.95 MB / 0.6232 GB, free: 138 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003344/1.186, allocations: 3.459 MB / 0.6265 GB, free: 136.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004827/1.191, allocations: 2.021 MB / 0.6285 GB, free: 135.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006476/1.192, allocations: 277.4 kB / 0.6288 GB, free: 135.6 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/1.192, allocations: 4 kB / 0.6288 GB, free: 135.5 MB / 430.1 MB Notification: Performance of Templates: time 0.06173/1.254, allocations: 40.68 MB / 0.6685 GB, free: 95.05 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)