Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.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.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") translateModel(PlanarMechanics.Examples.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001118, allocations: 110.6 kB / 16.42 MB, free: 6.516 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.001044/0.001044, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04644/0.04644, allocations: 9.113 MB / 300.3 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 415.3 MB, free: 21.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08233/0.08358, allocations: 51.45 MB / 466.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.009549/0.09317, allocations: 8.51 MB / 475.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004942/0.09815, allocations: 2.597 MB / 477.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009894/0.09917, allocations: 35.94 kB / 477.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008433/0.1, allocations: 369.5 kB / 478.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.103, allocations: 1.42 MB / 479.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003769/0.1034, allocations: 151.8 kB / 479.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.1059, allocations: 2.529 MB / 482.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.1069, allocations: 1.01 MB / 483.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008749/0.1078, allocations: 0.9144 MB / 484.3 MB, free: 12 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.1092, allocations: 1.319 MB / 485.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003192/0.1095, allocations: 243.9 kB / 485.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.1108, allocations: 0.8348 MB / 486.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009234/0.1117, allocations: 1.223 MB / 487.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.113, allocations: 1.584 MB / 489.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004743/0.1177, allocations: 5.085 MB / 494.6 MB, free: 5.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1177, allocations: 4 kB / 494.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1177, allocations: 0 / 494.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.622e-05/0.1178, allocations: 0 / 494.6 MB, free: 5.684 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: 1181 * Number of variables: 1181 Notification: Performance of Generate backend data structure: time 0.008417/0.1262, allocations: 4.371 MB / 498.9 MB, free: 1.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1263, allocations: 8.031 kB / 499 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006216/0.1325, allocations: 1.793 MB / 0.489 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.1346, allocations: 1.34 MB / 0.4903 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.1347, allocations: 148 kB / 0.4905 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/0.1351, allocations: 200.2 kB / 0.4907 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.1458, allocations: 8.2 MB / 0.4987 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/0.1459, allocations: 19.81 kB / 0.4987 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/0.1461, allocations: 91.86 kB / 0.4988 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002823/0.149, allocations: 1.915 MB / 0.5006 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2001/0.3491, allocations: 7.427 MB / 0.5079 GB, free: 38.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/0.3809, allocations: 24.86 MB / 0.5322 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004597/0.3855, allocations: 2.415 MB / 0.5345 GB, free: 21.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.387, allocations: 0.8705 MB / 0.5354 GB, free: 20.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004473/0.3915, allocations: 4.439 MB / 0.5397 GB, free: 17.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.3915, allocations: 47.25 kB / 0.5398 GB, free: 17.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.055e-06/0.3915, allocations: 0 / 0.5398 GB, free: 17.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=144): time 0.008712/0.4002, allocations: 4.696 MB / 0.5443 GB, free: 13.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.4003, allocations: 64.41 kB / 0.5444 GB, free: 13.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002585/0.4029, allocations: 2.493 MB / 0.5468 GB, free: 11.26 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/0.403, allocations: 45.7 kB / 0.5469 GB, free: 11.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007501/0.4037, allocations: 2.152 MB / 0.549 GB, free: 9.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.404, allocations: 0.5613 MB / 0.5495 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007411/0.4048, allocations: 0.7465 MB / 0.5503 GB, free: 7.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.899e-05/0.4048, allocations: 313.1 kB / 0.5506 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.4065, allocations: 1.237 MB / 0.5518 GB, free: 6.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.4087, allocations: 3.302 MB / 0.555 GB, free: 1.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/0.4139, allocations: 4.891 MB / 0.5598 GB, free: 12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.901e-05/0.4139, allocations: 20 kB / 0.5598 GB, free: 11.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007477/0.4214, allocations: 4.645 MB / 0.5643 GB, free: 7.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.472e-05/0.4215, allocations: 40.94 kB / 0.5644 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.965e-05/0.4216, allocations: 72 kB / 0.5644 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005913/0.4222, allocations: 232.7 kB / 0.5646 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00254/0.4247, allocations: 0.8227 MB / 0.5655 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/0.428, allocations: 2.866 MB / 0.5682 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.4304, allocations: 183.9 kB / 0.5684 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003706/0.4308, allocations: 220 kB / 0.5686 GB, free: 2.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 329 * Number of states: 0 () * Number of discrete variables: 21 (worldForce.arrowTorque.twoHeadedArrow,worldForce.arrowTorque.headAtOrigin,worldForce.arrowForce.twoHeadedArrow,worldForce.arrowForce.headAtOrigin,cutForce.arrowForce.twoHeadedArrow,cutForce.arrowForce.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],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 (445): * Single equations (assignments): 440 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00229/0.4331, allocations: 1.585 MB / 0.5702 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003617/0.4334, allocations: 226.4 kB / 0.5704 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/0.4369, allocations: 1.936 MB / 0.5723 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.4369, allocations: 3.984 kB / 0.5723 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4369, allocations: 4 kB / 0.5723 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000481/0.4374, allocations: 287.6 kB / 0.5726 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003285/0.4377, allocations: 24 kB / 0.5726 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008258/0.4386, allocations: 63.92 kB / 0.5727 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.4388, allocations: 84.88 kB / 0.5727 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00343/0.4422, allocations: 1.872 MB / 0.5746 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004093/0.4463, allocations: 2.915 MB / 0.5774 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001082/0.4474, allocations: 0.7498 MB / 0.5781 GB, free: 8.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002417/0.4498, allocations: 1.599 MB / 0.5797 GB, free: 7.371 MB / 414.1 MB Notification: Performance of Backend: time 2.004e-06/0.4499, allocations: 0 / 0.5797 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004906/0.4548, allocations: 2.521 MB / 0.5822 GB, free: 4.863 MB / 414.1 MB Notification: Performance of SimCode: time 0.009784/0.4646, allocations: 6.736 MB / 0.5887 GB, free: 14.09 MB / 430.1 MB Notification: Performance of Templates: time 0.05546/0.5201, allocations: 33.24 MB / 0.6212 GB, free: 13 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.sim & ./PlanarMechanics_PlanarMechanics.Examples.PendulumExcited -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1)