Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 92.53 kB / 16.3 MB, free: 5.523 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.001313/0.001314, allocations: 184.9 kB / 17.2 MB, free: 5.457 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.383/1.383, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.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.0004716/0.0004717, allocations: 12 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09458/0.09506, allocations: 47.58 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.03056/0.1257, allocations: 29.72 MB / 357.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.1417, allocations: 7.74 MB / 365.1 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00515/0.1469, allocations: 143.6 kB / 365.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005162/0.1521, allocations: 1.419 MB / 366.7 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01448/0.1666, allocations: 4.34 MB / 371 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.1689, allocations: 0.5616 MB / 371.6 MB, free: 8.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.1728, allocations: 1.942 MB / 373.6 MB, free: 6.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005115/0.1779, allocations: 3.345 MB / 376.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.1796, allocations: 0.8719 MB / 377.8 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.1815, allocations: 1.191 MB / 379 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000589/0.1821, allocations: 124 kB / 379.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1591/0.3412, allocations: 0.843 MB / 379.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001825/0.3431, allocations: 1.308 MB / 381.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009297/0.344, allocations: 0.7084 MB / 381.9 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005376/0.3494, allocations: 4.492 MB / 386.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3494, allocations: 2.875 kB / 386.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3495, allocations: 0 / 386.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001466/0.3496, allocations: 0 / 386.4 MB, free: 12.4 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.007206/0.3568, allocations: 3.493 MB / 389.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3569, allocations: 9.312 kB / 389.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00818/0.3651, allocations: 2.234 MB / 392.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004705/0.3698, allocations: 2.072 MB / 394.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.37, allocations: 204 kB / 394.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007873/0.3708, allocations: 272.6 kB / 394.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02072/0.3915, allocations: 10.08 MB / 404.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/0.3917, allocations: 36.31 kB / 404.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006039/0.3923, allocations: 130.1 kB / 405 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002899/0.3952, allocations: 1.855 MB / 406.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0167/0.4119, allocations: 8.644 MB / 415.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04774/0.4597, allocations: 37.38 MB / 452.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01786/0.4776, allocations: 6.436 MB / 459.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01349/0.4912, allocations: 8.583 MB / 467.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.4912, allocations: 46.09 kB / 467.9 MB, free: 5.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=150): time 5.6e-06/0.4913, allocations: 3.984 kB / 467.9 MB, free: 5.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=166): time 0.07295/0.5642, allocations: 23.76 MB / 491.7 MB, free: 13.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.771e-05/0.5643, allocations: 141.5 kB / 491.8 MB, free: 13.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005541/0.5699, allocations: 3.595 MB / 495.4 MB, free: 9.758 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002853/0.5702, allocations: 45.7 kB / 495.4 MB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001845/0.572, allocations: 2.735 MB / 498.2 MB, free: 6.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007122/0.5728, allocations: 0.6462 MB / 498.8 MB, free: 6.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.573, allocations: 113.6 kB / 498.9 MB, free: 6.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003335/0.5734, allocations: 0.5414 MB / 499.5 MB, free: 5.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003041/0.5764, allocations: 2.024 MB / 0.4897 GB, free: 3.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00514/0.5816, allocations: 5.421 MB / 0.495 GB, free: 12.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004675/0.5863, allocations: 3.208 MB / 0.4982 GB, free: 9.484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.306e-05/0.5863, allocations: 32 kB / 0.4982 GB, free: 9.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01541/0.6018, allocations: 8.307 MB / 0.5063 GB, free: 1.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.6019, allocations: 56 kB / 0.5064 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000186/0.6021, allocations: 120 kB / 0.5065 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004194/0.6063, allocations: 1.319 MB / 0.5078 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0042/0.6105, allocations: 1.281 MB / 0.509 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008945/0.6195, allocations: 6.27 MB / 0.5151 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/0.6237, allocations: 323.5 kB / 0.5154 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00079/0.6245, allocations: 340.7 kB / 0.5158 GB, free: 8.195 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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],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 (681): * Single equations (assignments): 677 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003461/0.628, allocations: 1.811 MB / 0.5175 GB, free: 6.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006022/0.6286, allocations: 309.9 kB / 0.5178 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007593/0.6362, allocations: 3.591 MB / 0.5213 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.95e-05/0.6362, allocations: 20 kB / 0.5214 GB, free: 2.449 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.6362, allocations: 4 kB / 0.5214 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.6363, allocations: 7.969 kB / 0.5214 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/0.6527, allocations: 7.993 MB / 0.5292 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.6527, allocations: 0 / 0.5292 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.654, allocations: 259.6 kB / 0.5294 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003804/0.6578, allocations: 1.127 MB / 0.5305 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.658, allocations: 30.61 kB / 0.5306 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008695/0.6667, allocations: 5.884 MB / 0.5363 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6668, allocations: 0 / 0.5363 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1831/0.8499, allocations: 6.125 MB / 0.5423 GB, free: 163.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/0.852, allocations: 0.6078 MB / 0.5429 GB, free: 163.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005418/0.8526, allocations: 24.41 kB / 0.5429 GB, free: 163.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/0.8541, allocations: 116.4 kB / 0.543 GB, free: 163.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.8544, allocations: 85.53 kB / 0.5431 GB, free: 163.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.8545, allocations: 47.17 kB / 0.5431 GB, free: 163.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004434/0.859, allocations: 2.231 MB / 0.5453 GB, free: 163.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.674e-06/0.859, allocations: 1.688 kB / 0.5453 GB, free: 163.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005323/0.8643, allocations: 0.9474 MB / 0.5462 GB, free: 163.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.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 (129): * Single equations (assignments): 125 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005411/0.8649, allocations: 188.4 kB / 0.5464 GB, free: 163.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006842/0.8717, allocations: 4.944 MB / 0.5512 GB, free: 161.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.8718, allocations: 0 / 0.5512 GB, free: 161.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002065/0.8738, allocations: 1.625 MB / 0.5528 GB, free: 161.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.8757, allocations: 322.6 kB / 0.5531 GB, free: 161 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.8882, allocations: 9.67 MB / 0.5626 GB, free: 156.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/0.8907, allocations: 2.938 MB / 0.5655 GB, free: 154.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003885/0.8946, allocations: 1.745 MB / 0.5672 GB, free: 153.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006931/0.8953, allocations: 214.2 kB / 0.5674 GB, free: 153.3 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.8953, allocations: 0 / 0.5674 GB, free: 153.3 MB / 446.1 MB Notification: Performance of Templates: time 0.05046/0.9458, allocations: 32.77 MB / 0.5994 GB, free: 121 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1) Environment - environmentSimulation: