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.005446/0.005447, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001377/0.001377, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.46/1.46, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.001272/0.001272, allocations: 55.08 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09423/0.09551, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01123/0.1068, allocations: 10.73 MB / 383.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007341/0.1142, allocations: 3.936 MB / 387.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008524/0.1151, allocations: 63.81 kB / 387.9 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004356/0.1194, allocations: 2.581 MB / 390.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00348/0.1229, allocations: 1.794 MB / 392.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1243, allocations: 0.6941 MB / 393 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004238/0.1285, allocations: 3.693 MB / 396.7 MB, free: 9.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004076/0.1326, allocations: 3.566 MB / 400.2 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.1351, allocations: 1.48 MB / 401.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.1373, allocations: 1.954 MB / 403.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005323/0.1378, allocations: 316 kB / 404 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.1399, allocations: 1.151 MB / 405.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.1415, allocations: 1.843 MB / 407 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.1435, allocations: 2.148 MB / 409.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0073/0.1509, allocations: 6.719 MB / 415.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1509, allocations: 0 / 415.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1509, allocations: 0 / 415.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001567/0.1511, allocations: 0 / 415.8 MB, free: 6.449 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.00934/0.1604, allocations: 4.69 MB / 420.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1605, allocations: 8.031 kB / 420.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0066/0.1671, allocations: 1.909 MB / 422.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00446/0.1715, allocations: 2.072 MB / 424.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.1718, allocations: 250.2 kB / 424.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009142/0.1727, allocations: 399.7 kB / 425.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.1905, allocations: 10.06 MB / 435.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.435e-05/0.1906, allocations: 39.69 kB / 435.3 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004034/0.191, allocations: 159.9 kB / 435.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002667/0.1937, allocations: 1.857 MB / 437.3 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.2111, allocations: 8.335 MB / 445.6 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2901/0.5013, allocations: 39.3 MB / 484.9 MB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.5114, allocations: 3.989 MB / 488.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.5132, allocations: 1.439 MB / 490.3 MB, free: 36.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.5235, allocations: 7.656 MB / 498 MB, free: 31.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.5235, allocations: 53.59 kB / 498 MB, free: 31.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 5.06e-06/0.5235, allocations: 0 / 498 MB, free: 31.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.0282/0.5518, allocations: 12.6 MB / 0.4987 GB, free: 21.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001046/0.5529, allocations: 1.683 MB / 0.5003 GB, free: 19.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004461/0.5573, allocations: 3.836 MB / 0.5041 GB, free: 16.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002495/0.5576, allocations: 45.7 kB / 0.5041 GB, free: 16.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.559, allocations: 3.247 MB / 0.5073 GB, free: 12.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005198/0.5595, allocations: 0.6821 MB / 0.5079 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/0.5607, allocations: 1.266 MB / 0.5092 GB, free: 11.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.769e-05/0.5608, allocations: 301.1 kB / 0.5095 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/0.5631, allocations: 2.034 MB / 0.5115 GB, free: 8.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003717/0.5668, allocations: 5.969 MB / 0.5173 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.5776, allocations: 8.631 MB / 0.5257 GB, free: 6.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001787/0.5779, allocations: 40 kB / 0.5257 GB, free: 6.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02319/0.6011, allocations: 9.743 MB / 0.5353 GB, free: 12.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.214e-05/0.6012, allocations: 67.98 kB / 0.5353 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01154/0.6127, allocations: 3.737 MB / 0.539 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.012/0.6247, allocations: 2.613 MB / 0.5415 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004515/0.6293, allocations: 1.372 MB / 0.5429 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.64, allocations: 7.715 MB / 0.5504 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005418/0.6455, allocations: 410.9 kB / 0.5508 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008341/0.6463, allocations: 391.9 kB / 0.5512 GB, free: 11.75 MB / 430.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.003367/0.6497, allocations: 2.008 MB / 0.5531 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000655/0.6504, allocations: 341.7 kB / 0.5535 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007263/0.6576, allocations: 3.128 MB / 0.5565 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005866/0.6635, allocations: 2.679 MB / 0.5591 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.6635, allocations: 4 kB / 0.5591 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.6636, allocations: 11.97 kB / 0.5591 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/0.6804, allocations: 8.561 MB / 0.5675 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.6805, allocations: 4 kB / 0.5675 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008889/0.6814, allocations: 195.7 kB / 0.5677 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004723/0.6861, allocations: 1.435 MB / 0.5691 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.6863, allocations: 39.97 kB / 0.5691 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006456/0.6928, allocations: 5.993 MB / 0.575 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001071/0.6938, allocations: 1.559 MB / 0.5765 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009872/0.7037, allocations: 5.328 MB / 0.5817 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001385/0.7052, allocations: 390.6 kB / 0.5821 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004528/0.7057, allocations: 31.98 kB / 0.5821 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.707, allocations: 119.8 kB / 0.5822 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.7073, allocations: 88.86 kB / 0.5823 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.7074, allocations: 55.67 kB / 0.5824 GB, free: 11.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003696/0.7111, allocations: 2.345 MB / 0.5847 GB, free: 8.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.7111, allocations: 4 kB / 0.5847 GB, free: 8.816 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005515/0.7166, allocations: 1.035 MB / 0.5857 GB, free: 7.781 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.0004446/0.7171, allocations: 166.9 kB / 0.5858 GB, free: 7.613 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01/0.7271, allocations: 5.502 MB / 0.5912 GB, free: 2.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7272, allocations: 0 / 0.5912 GB, free: 2.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004004/0.7312, allocations: 2.03 MB / 0.5932 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/0.7337, allocations: 402.4 kB / 0.5936 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/0.7498, allocations: 9.111 MB / 0.6025 GB, free: 6.414 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003645/0.7535, allocations: 3.108 MB / 0.6055 GB, free: 3.27 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004172/0.7577, allocations: 1.807 MB / 0.6073 GB, free: 1.453 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006364/0.7584, allocations: 223.4 kB / 0.6075 GB, free: 1.234 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7584, allocations: 0 / 0.6075 GB, free: 1.234 MB / 478.1 MB Notification: Performance of Templates: time 0.279/1.037, allocations: 35.46 MB / 0.6421 GB, free: 157.5 MB / 494.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)