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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 172.8 kB / 16.12 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 240.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007622/0.0007623, allocations: 99.56 kB / 291.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04158/0.04158, allocations: 8.947 MB / 351.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003791, allocations: 8 kB / 414.4 MB, free: 56.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.09569, allocations: 52.39 MB / 466.8 MB, free: 4.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3325/0.4282, allocations: 95.8 MB / 0.5494 GB, free: 5.828 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4285, allocations: 81.78 kB / 0.5495 GB, free: 5.789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5102/0.9387, allocations: 109.5 MB / 0.6564 GB, free: 100.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.9388, allocations: 0 / 0.6564 GB, free: 100.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004342/0.9392, allocations: 89.09 kB / 0.6565 GB, free: 100.5 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2108 * Number of variables: 2108 Notification: Performance of Generate backend data structure: time 0.02166/0.9609, allocations: 4.93 MB / 0.6613 GB, free: 98.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.961, allocations: 9.953 kB / 0.6614 GB, free: 98.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01799/0.979, allocations: 3.743 MB / 0.665 GB, free: 98.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.9896, allocations: 2.954 MB / 0.6679 GB, free: 97.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008591/0.9905, allocations: 397.8 kB / 0.6683 GB, free: 97.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003859/0.9944, allocations: 0.5083 MB / 0.6688 GB, free: 97.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03619/1.031, allocations: 14.46 MB / 0.6829 GB, free: 94.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004116/1.031, allocations: 56.69 kB / 0.6829 GB, free: 94.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00318/1.034, allocations: 252.1 kB / 0.6832 GB, free: 94.53 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002484/1.037, allocations: 1.635 MB / 0.6848 GB, free: 94.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02502/1.062, allocations: 13.05 MB / 0.6975 GB, free: 94.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07271/1.135, allocations: 57.61 MB / 0.7538 GB, free: 51.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007996/1.143, allocations: 4.145 MB / 0.7578 GB, free: 49.67 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00244/1.145, allocations: 1.458 MB / 0.7593 GB, free: 49.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0099/1.155, allocations: 6.674 MB / 0.7658 GB, free: 43.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/1.155, allocations: 59.75 kB / 0.7658 GB, free: 43.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=214): time 5.38e-06/1.155, allocations: 4 kB / 0.7658 GB, free: 43.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=228): time 0.01904/1.174, allocations: 9.432 MB / 0.7751 GB, free: 35.17 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/1.174, allocations: 149.8 kB / 0.7752 GB, free: 35 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009284/1.184, allocations: 5.043 MB / 0.7801 GB, free: 30.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004417/1.184, allocations: 57.7 kB / 0.7802 GB, free: 30.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002532/1.187, allocations: 4.038 MB / 0.7841 GB, free: 27.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001111/1.188, allocations: 0.886 MB / 0.785 GB, free: 26.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007416/1.188, allocations: 155.7 kB / 0.7851 GB, free: 26.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007146/1.189, allocations: 0.6434 MB / 0.7858 GB, free: 25.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004313/1.194, allocations: 2.447 MB / 0.7881 GB, free: 23.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006277/1.2, allocations: 7.35 MB / 0.7953 GB, free: 14.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.21, allocations: 10.65 MB / 0.8057 GB, free: 1.781 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002049/1.21, allocations: 48 kB / 0.8058 GB, free: 1.734 MB / 458.7 MB Notification: Performance of matching and sorting (n=1031) (initialization): time 0.02083/1.231, allocations: 9.603 MB / 0.8152 GB, free: 9.078 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002154/1.231, allocations: 83.44 kB / 0.8152 GB, free: 9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003402/1.232, allocations: 172 kB / 0.8154 GB, free: 8.832 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008296/1.233, allocations: 357.6 kB / 0.8157 GB, free: 8.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005953/1.238, allocations: 1.802 MB / 0.8175 GB, free: 6.676 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003449/1.242, allocations: 2.813 MB / 0.8202 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006027/1.248, allocations: 407.5 kB / 0.8206 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/1.25, allocations: 499.7 kB / 0.8211 GB, free: 2.844 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 29 (worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],cutForce.world.gravityArrowColor[3],cutForce.world.gravityArrowColor[2],cutForce.world.gravityArrowColor[1],cutForce.world.axisColor_x[3],cutForce.world.axisColor_x[2],cutForce.world.axisColor_x[1],cutForce.world.groundColor[3],cutForce.world.groundColor[2],cutForce.world.groundColor[1],cutForce.world.gravitySphereColor[3],cutForce.world.gravitySphereColor[2],cutForce.world.gravitySphereColor[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 (969): * Single equations (assignments): 961 * Array equations: 7 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.235/1.485, allocations: 2.93 MB / 0.824 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009354/1.486, allocations: 414.9 kB / 0.8244 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005211/1.491, allocations: 2.515 MB / 0.8268 GB, free: 102.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001178/1.491, allocations: 36.05 kB / 0.8269 GB, free: 102.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.491, allocations: 6.531 kB / 0.8269 GB, free: 102.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.611e-05/1.491, allocations: 12.66 kB / 0.8269 GB, free: 102.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/1.509, allocations: 8.451 MB / 0.8351 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-05/1.509, allocations: 7.969 kB / 0.8351 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/1.51, allocations: 328.3 kB / 0.8355 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/1.511, allocations: 141.5 kB / 0.8356 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.511, allocations: 42.03 kB / 0.8356 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/1.513, allocations: 2.281 MB / 0.8379 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.513, allocations: 4.906 kB / 0.8379 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007288/1.52, allocations: 5.061 MB / 0.8428 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/1.522, allocations: 0.489 MB / 0.8433 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005507/1.523, allocations: 38 kB / 0.8433 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/1.524, allocations: 109.5 kB / 0.8434 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/1.524, allocations: 122.2 kB / 0.8435 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.524, allocations: 71.97 kB / 0.8436 GB, free: 100 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005401/1.53, allocations: 3.178 MB / 0.8467 GB, free: 99.83 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.53, allocations: 0 / 0.8467 GB, free: 99.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006848/1.537, allocations: 1.176 MB / 0.8479 GB, free: 99.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (revolute.phi,revolute.w) * 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 (168): * Single equations (assignments): 160 * Array equations: 7 * 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 {(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005022/1.537, allocations: 180.4 kB / 0.848 GB, free: 99.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008289/1.546, allocations: 5.753 MB / 0.8536 GB, free: 99.59 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/1.546, allocations: 0 / 0.8536 GB, free: 99.59 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/1.548, allocations: 1.518 MB / 0.8551 GB, free: 99.44 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005587/1.553, allocations: 0.5466 MB / 0.8557 GB, free: 99.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/1.576, allocations: 13.6 MB / 0.8689 GB, free: 94.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005894/1.582, allocations: 4.134 MB / 0.873 GB, free: 93.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006773/1.589, allocations: 2.467 MB / 0.8754 GB, free: 93.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000963/1.59, allocations: 308.4 kB / 0.8757 GB, free: 93.05 MB / 474.7 MB Notification: Performance of SimCode: time 1.382e-06/1.59, allocations: 3.625 kB / 0.8757 GB, free: 93.05 MB / 474.7 MB Notification: Performance of Templates: time 0.07545/1.665, allocations: 38.06 MB / 0.9129 GB, free: 80.83 MB / 474.7 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)