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.001124/0.001128, allocations: 114.2 kB / 16.42 MB, free: 6.5 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.001135/0.001135, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.397/1.397, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04755/0.04755, allocations: 9.112 MB / 300.3 MB, free: 5.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 67.89 kB / 415.3 MB, free: 21.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.103, allocations: 51.44 MB / 466.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.01358/0.1166, allocations: 8.519 MB / 475.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007021/0.1236, allocations: 2.597 MB / 477.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.1252, allocations: 31.94 kB / 477.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.1265, allocations: 373.5 kB / 478.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.1311, allocations: 1.373 MB / 479.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.1317, allocations: 147.8 kB / 479.8 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003281/0.135, allocations: 2.535 MB / 482.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.1365, allocations: 1.003 MB / 483.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.138, allocations: 0.9222 MB / 484.2 MB, free: 112 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.1399, allocations: 1.323 MB / 485.6 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005421/0.1405, allocations: 240 kB / 485.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.1421, allocations: 0.827 MB / 486.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.1434, allocations: 1.227 MB / 487.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.145, allocations: 1.584 MB / 489.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004851/0.1499, allocations: 5.064 MB / 494.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1499, allocations: 4 kB / 494.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1499, allocations: 0 / 494.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.039e-05/0.15, allocations: 0 / 494.5 MB, free: 5.809 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.008622/0.1586, allocations: 4.279 MB / 498.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1587, allocations: 12.03 kB / 498.8 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006643/0.1653, allocations: 1.759 MB / 0.4888 GB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.1677, allocations: 1.347 MB / 0.4901 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.1678, allocations: 152 kB / 0.4903 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003683/0.1681, allocations: 192.1 kB / 0.4905 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.1792, allocations: 8.204 MB / 0.4985 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-05/0.1793, allocations: 19.81 kB / 0.4985 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002861/0.1796, allocations: 95.86 kB / 0.4986 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003138/0.1827, allocations: 1.911 MB / 0.5005 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2109/0.3937, allocations: 7.433 MB / 0.5077 GB, free: 39.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03271/0.4264, allocations: 24.79 MB / 0.5319 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004692/0.4311, allocations: 2.412 MB / 0.5343 GB, free: 21.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.4324, allocations: 0.8692 MB / 0.5351 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004858/0.4372, allocations: 4.434 MB / 0.5395 GB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.4373, allocations: 44 kB / 0.5395 GB, free: 17.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.506e-06/0.4373, allocations: 0 / 0.5395 GB, free: 17.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=144): time 0.009524/0.4468, allocations: 4.644 MB / 0.544 GB, free: 14.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.4469, allocations: 72.41 kB / 0.5441 GB, free: 14.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/0.4499, allocations: 2.488 MB / 0.5465 GB, free: 11.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.269e-05/0.4499, allocations: 41.7 kB / 0.5466 GB, free: 11.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008236/0.4508, allocations: 2.077 MB / 0.5486 GB, free: 9.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.4511, allocations: 0.5273 MB / 0.5491 GB, free: 8.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007985/0.4519, allocations: 0.7498 MB / 0.5499 GB, free: 8.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.435e-05/0.4519, allocations: 305.1 kB / 0.5501 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.4536, allocations: 1.241 MB / 0.5514 GB, free: 6.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.4559, allocations: 3.298 MB / 0.5546 GB, free: 2.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004881/0.4608, allocations: 4.889 MB / 0.5593 GB, free: 12.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-05/0.4609, allocations: 20 kB / 0.5594 GB, free: 12.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.007575/0.4684, allocations: 4.637 MB / 0.5639 GB, free: 7.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.4685, allocations: 39.94 kB / 0.5639 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.589e-05/0.4686, allocations: 76 kB / 0.564 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/0.4692, allocations: 237.1 kB / 0.5642 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/0.4717, allocations: 0.8265 MB / 0.565 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003125/0.4749, allocations: 2.846 MB / 0.5678 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.4772, allocations: 183.9 kB / 0.568 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/0.4776, allocations: 231.3 kB / 0.5682 GB, free: 3.156 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.002143/0.4797, allocations: 1.572 MB / 0.5697 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004001/0.4801, allocations: 213.3 kB / 0.57 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.4837, allocations: 1.936 MB / 0.5718 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.4837, allocations: 11.97 kB / 0.5719 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4837, allocations: 2.25 kB / 0.5719 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/0.4841, allocations: 282.4 kB / 0.5721 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.4844, allocations: 24.06 kB / 0.5721 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008407/0.4853, allocations: 67.61 kB / 0.5722 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.4855, allocations: 80.88 kB / 0.5723 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003367/0.4889, allocations: 1.868 MB / 0.5741 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003951/0.4928, allocations: 2.909 MB / 0.577 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001043/0.4939, allocations: 0.7498 MB / 0.5777 GB, free: 9.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002504/0.4964, allocations: 1.603 MB / 0.5793 GB, free: 7.785 MB / 414.1 MB Notification: Performance of Backend: time 6.31e-07/0.4964, allocations: 0 / 0.5793 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004953/0.5014, allocations: 2.511 MB / 0.5817 GB, free: 5.297 MB / 414.1 MB Notification: Performance of SimCode: time 0.01099/0.5124, allocations: 6.624 MB / 0.5882 GB, free: 14.65 MB / 430.1 MB Notification: Performance of Templates: time 0.05589/0.5683, allocations: 33.23 MB / 0.6206 GB, free: 13.55 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)