Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.0009907/0.0009907, allocations: 186.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04698/0.04698, allocations: 9.113 MB / 300.3 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 415.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08439, allocations: 51.45 MB / 466.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.007213/0.09163, allocations: 7.004 MB / 473.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003778/0.09543, allocations: 2.355 MB / 476.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.09585, allocations: 31.94 kB / 476.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.09644, allocations: 310.1 kB / 476.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.09863, allocations: 1.261 MB / 477.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.09886, allocations: 83.83 kB / 477.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001937/0.1008, allocations: 2.161 MB / 479.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007379/0.1016, allocations: 0.7153 MB / 480.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007049/0.1023, allocations: 0.7587 MB / 481.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.1035, allocations: 1.133 MB / 482.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002763/0.1038, allocations: 204 kB / 482.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.105, allocations: 0.7918 MB / 483.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007909/0.1058, allocations: 1.064 MB / 484.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.1068, allocations: 1.351 MB / 486 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.1105, allocations: 4.485 MB / 490.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1106, allocations: 4 kB / 490.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1106, allocations: 0 / 490.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.811e-05/0.1106, allocations: 0 / 490.4 MB, free: 9.867 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.006258/0.1169, allocations: 3.356 MB / 493.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1169, allocations: 8.031 kB / 493.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006786/0.1237, allocations: 1.705 MB / 495.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.1257, allocations: 1.205 MB / 496.7 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.452e-05/0.1258, allocations: 123.3 kB / 496.8 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.1261, allocations: 156.2 kB / 497 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/0.1362, allocations: 7.212 MB / 0.4924 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.876e-05/0.1362, allocations: 15.88 kB / 0.4924 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000309/0.1366, allocations: 75.88 kB / 0.4925 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00296/0.1395, allocations: 1.734 MB / 0.4942 GB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/0.1517, allocations: 6.592 MB / 0.5006 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2206/0.3723, allocations: 21.1 MB / 0.5212 GB, free: 28.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003791/0.3761, allocations: 2.024 MB / 0.5232 GB, free: 27.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009182/0.377, allocations: 0.6788 MB / 0.5239 GB, free: 27.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003888/0.3809, allocations: 3.268 MB / 0.527 GB, free: 25.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.381, allocations: 48.55 kB / 0.5271 GB, free: 25.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 3.507e-06/0.381, allocations: 0 / 0.5271 GB, free: 25.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.009729/0.3907, allocations: 5.525 MB / 0.5325 GB, free: 22.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.3908, allocations: 59.41 kB / 0.5325 GB, free: 22.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.3933, allocations: 2.281 MB / 0.5348 GB, free: 21.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/0.3933, allocations: 45.06 kB / 0.5348 GB, free: 21.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006749/0.394, allocations: 1.831 MB / 0.5366 GB, free: 19.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.3943, allocations: 464.4 kB / 0.537 GB, free: 19.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006245/0.3949, allocations: 0.6618 MB / 0.5377 GB, free: 19.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.136e-05/0.3949, allocations: 304.9 kB / 0.538 GB, free: 18.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.3963, allocations: 1.097 MB / 0.5391 GB, free: 18.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.3982, allocations: 2.961 MB / 0.5419 GB, free: 15.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003489/0.4017, allocations: 4.367 MB / 0.5462 GB, free: 10.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.878e-05/0.4017, allocations: 22.44 kB / 0.5462 GB, free: 10.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005282/0.407, allocations: 4.145 MB / 0.5503 GB, free: 6.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.01e-05/0.4071, allocations: 32 kB / 0.5503 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-05/0.4071, allocations: 68.91 kB / 0.5504 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004467/0.4076, allocations: 204.7 kB / 0.5506 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/0.4095, allocations: 0.728 MB / 0.5513 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.4118, allocations: 2.701 MB / 0.5539 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.4137, allocations: 168 kB / 0.5541 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.4139, allocations: 196 kB / 0.5543 GB, free: 2.062 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (395): * Single equations (assignments): 390 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001528/0.4155, allocations: 1.43 MB / 0.5557 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.4157, allocations: 183.9 kB / 0.5558 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.4183, allocations: 1.619 MB / 0.5574 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.4183, allocations: 3.984 kB / 0.5574 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4183, allocations: 0 / 0.5574 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.4186, allocations: 266.7 kB / 0.5577 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.4189, allocations: 16 kB / 0.5577 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006614/0.4195, allocations: 47.88 kB / 0.5577 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.4197, allocations: 64.91 kB / 0.5578 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002709/0.4224, allocations: 1.561 MB / 0.5593 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003189/0.4256, allocations: 2.444 MB / 0.5617 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008297/0.4264, allocations: 0.6129 MB / 0.5623 GB, free: 9.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00235/0.4288, allocations: 1.476 MB / 0.5637 GB, free: 8.27 MB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.4288, allocations: 0 / 0.5637 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004521/0.4333, allocations: 2.254 MB / 0.566 GB, free: 6.031 MB / 398.1 MB Notification: Performance of SimCode: time 0.009766/0.4431, allocations: 5.842 MB / 0.5717 GB, free: 172 kB / 398.1 MB Notification: Performance of Templates: time 0.05023/0.4934, allocations: 29.47 MB / 0.6004 GB, free: 2.836 MB / 430.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.Pendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1)