Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001324/0.001324, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001561/0.001561, allocations: 192.3 kB / 16.25 MB, free: 6.617 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.506/1.506, allocations: 205.1 MB / 222.1 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.001125/0.001125, allocations: 55.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2854, allocations: 46.62 MB / 324.8 MB, free: 1.891 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03955/0.325, allocations: 42.2 MB / 367 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02367/0.3487, allocations: 9.071 MB / 376.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01031/0.3591, allocations: 175.6 kB / 376.3 MB, free: 488 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006173/0.3653, allocations: 2.497 MB / 378.8 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005255/0.3706, allocations: 1.631 MB / 380.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.3725, allocations: 0.6359 MB / 381 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005735/0.3782, allocations: 3.724 MB / 384.8 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005151/0.3834, allocations: 3.743 MB / 388.5 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.3861, allocations: 1.515 MB / 390 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003226/0.3893, allocations: 2.161 MB / 392.2 MB, free: 480 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.3904, allocations: 312 kB / 392.5 MB, free: 168 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.3934, allocations: 1.178 MB / 393.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002534/0.3959, allocations: 1.843 MB / 395.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003868/0.3998, allocations: 2.167 MB / 397.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007846/0.4077, allocations: 6.511 MB / 404.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.4077, allocations: 0 / 404.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.935e-06/0.4077, allocations: 4 kB / 404.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001856/0.4079, allocations: 4 kB / 404.2 MB, free: 4.418 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.008634/0.4166, allocations: 4.565 MB / 408.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.4166, allocations: 12.03 kB / 408.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006238/0.4229, allocations: 1.879 MB / 410.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/0.4261, allocations: 2.044 MB / 412.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.4263, allocations: 246.2 kB / 412.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007764/0.4271, allocations: 395.7 kB / 413.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01743/0.4445, allocations: 10.07 MB / 423.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.611e-05/0.4446, allocations: 39.69 kB / 423.4 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004061/0.4451, allocations: 159.8 kB / 423.6 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002703/0.4478, allocations: 1.857 MB / 425.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.4655, allocations: 8.328 MB / 433.8 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2439/0.7094, allocations: 39.39 MB / 473.2 MB, free: 87.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008962/0.7184, allocations: 4.014 MB / 477.2 MB, free: 86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.72, allocations: 1.425 MB / 478.6 MB, free: 85.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00852/0.7286, allocations: 7.629 MB / 486.2 MB, free: 80.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.7286, allocations: 54 kB / 486.3 MB, free: 80.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 3.476e-06/0.7286, allocations: 2 kB / 486.3 MB, free: 80.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.02741/0.756, allocations: 12.39 MB / 498.7 MB, free: 70.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001018/0.7571, allocations: 1.685 MB / 0.4886 GB, free: 68.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004823/0.7619, allocations: 3.824 MB / 0.4924 GB, free: 64.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003449/0.7623, allocations: 49.7 kB / 0.4924 GB, free: 64.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.7636, allocations: 3.111 MB / 0.4955 GB, free: 61.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/0.7642, allocations: 0.6497 MB / 0.4961 GB, free: 61.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/0.7654, allocations: 1.254 MB / 0.4973 GB, free: 59.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.7655, allocations: 305.1 kB / 0.4976 GB, free: 59.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/0.7679, allocations: 2.038 MB / 0.4996 GB, free: 57.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004042/0.772, allocations: 5.964 MB / 0.5054 GB, free: 49.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007356/0.7793, allocations: 8.631 MB / 0.5138 GB, free: 39.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.433e-05/0.7795, allocations: 40 kB / 0.5139 GB, free: 38.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01939/0.7989, allocations: 9.738 MB / 0.5234 GB, free: 29.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.799, allocations: 67.98 kB / 0.5235 GB, free: 29.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01036/0.8094, allocations: 3.74 MB / 0.5271 GB, free: 25.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/0.8203, allocations: 2.617 MB / 0.5297 GB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004021/0.8243, allocations: 1.372 MB / 0.531 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008236/0.8326, allocations: 7.714 MB / 0.5385 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005563/0.8382, allocations: 403.3 kB / 0.5389 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/0.8393, allocations: 387.5 kB / 0.5393 GB, free: 12.59 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.004017/0.8434, allocations: 2.009 MB / 0.5413 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007442/0.8441, allocations: 323.8 kB / 0.5416 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006421/0.8506, allocations: 3.132 MB / 0.5446 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005009/0.8556, allocations: 2.69 MB / 0.5473 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.037e-05/0.8557, allocations: 4 kB / 0.5473 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/0.8557, allocations: 7.969 kB / 0.5473 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01818/0.8739, allocations: 8.567 MB / 0.5556 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/0.8739, allocations: 4 kB / 0.5556 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/0.8749, allocations: 191.7 kB / 0.5558 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004615/0.8795, allocations: 1.44 MB / 0.5572 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/0.8798, allocations: 43.33 kB / 0.5573 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00737/0.8872, allocations: 6.006 MB / 0.5631 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001238/0.8885, allocations: 1.54 MB / 0.5646 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.8986, allocations: 5.308 MB / 0.5698 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.8999, allocations: 372.7 kB / 0.5702 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008987/0.9008, allocations: 31.98 kB / 0.5702 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.9024, allocations: 123.5 kB / 0.5703 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/0.9028, allocations: 92.84 kB / 0.5704 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.9029, allocations: 43.98 kB / 0.5705 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004156/0.9071, allocations: 2.349 MB / 0.5727 GB, free: 9.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.9071, allocations: 3.938 kB / 0.5727 GB, free: 9.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005353/0.9125, allocations: 1.033 MB / 0.5738 GB, free: 8.656 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.0005168/0.913, allocations: 169.3 kB / 0.5739 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01096/0.924, allocations: 5.986 MB / 0.5798 GB, free: 2.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.9241, allocations: 0 / 0.5798 GB, free: 2.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003929/0.928, allocations: 2.03 MB / 0.5817 GB, free: 384 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/0.9306, allocations: 409.4 kB / 0.5821 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.9473, allocations: 10.95 MB / 0.5928 GB, free: 4.977 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003272/0.9506, allocations: 3.122 MB / 0.5959 GB, free: 1.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004354/0.955, allocations: 1.807 MB / 0.5976 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.9555, allocations: 223.4 kB / 0.5979 GB, free: 15.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.9555, allocations: 0 / 0.5979 GB, free: 15.79 MB / 446.1 MB Notification: Performance of Templates: time 0.2381/1.194, allocations: 38.78 MB / 0.6357 GB, free: 151.8 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)