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.01133/0.01133, allocations: 170.7 kB / 15.11 MB, free: 5.969 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.486/1.486, allocations: 223.2 MB / 239 MB, free: 1.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 99.53 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04128/0.04128, allocations: 8.949 MB / 350.3 MB, free: 2.047 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003805, allocations: 7.625 kB / 413.1 MB, free: 88.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 52.39 MB / 465.5 MB, free: 41.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.419/0.5427, allocations: 95.72 MB / 0.5481 GB, free: 16.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.543, allocations: 82.69 kB / 0.5482 GB, free: 16.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2663/0.8093, allocations: 110.4 MB / 0.656 GB, free: 9.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.8093, allocations: 0 / 0.656 GB, free: 9.445 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003492/0.8097, allocations: 96 kB / 0.6561 GB, free: 9.352 MB / 426.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.02354/0.8333, allocations: 5.08 MB / 0.6611 GB, free: 4.199 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.8333, allocations: 12.03 kB / 0.6611 GB, free: 4.188 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01841/0.8518, allocations: 3.748 MB / 0.6647 GB, free: 436 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.8633, allocations: 2.927 MB / 0.6676 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006009/0.864, allocations: 398.2 kB / 0.668 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003931/0.8679, allocations: 0.4998 MB / 0.6685 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04174/0.9097, allocations: 14.46 MB / 0.6826 GB, free: 12.97 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003334/0.9101, allocations: 59.41 kB / 0.6826 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003472/0.9135, allocations: 259.6 kB / 0.6829 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002975/0.9165, allocations: 1.638 MB / 0.6845 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2879/1.204, allocations: 13.08 MB / 0.6973 GB, free: 85.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07681/1.281, allocations: 57.6 MB / 0.7535 GB, free: 53.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009248/1.291, allocations: 4.144 MB / 0.7576 GB, free: 52.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/1.302, allocations: 6.422 MB / 0.7638 GB, free: 49.53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/1.302, allocations: 50.66 kB / 0.7639 GB, free: 49.49 MB / 458.7 MB Notification: Performance of pre-optimization done (n=217): time 5.1e-06/1.302, allocations: 0 / 0.7639 GB, free: 49.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=231): time 0.0202/1.322, allocations: 10.2 MB / 0.7739 GB, free: 44.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/1.323, allocations: 151.1 kB / 0.774 GB, free: 44.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008567/1.331, allocations: 4.53 MB / 0.7784 GB, free: 42.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003528/1.332, allocations: 49.55 kB / 0.7785 GB, free: 42.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/1.334, allocations: 4.032 MB / 0.7824 GB, free: 39.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008819/1.335, allocations: 0.8913 MB / 0.7833 GB, free: 38.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005546/1.335, allocations: 158.5 kB / 0.7834 GB, free: 38.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004342/1.336, allocations: 0.6387 MB / 0.784 GB, free: 38.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003547/1.339, allocations: 2.458 MB / 0.7864 GB, free: 37.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005629/1.345, allocations: 7.318 MB / 0.7936 GB, free: 30.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006113/1.351, allocations: 4.285 MB / 0.7978 GB, free: 28.63 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001722/1.351, allocations: 50.72 kB / 0.7978 GB, free: 28.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=1031) (initialization): time 0.01869/1.37, allocations: 9.589 MB / 0.8072 GB, free: 24.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002179/1.37, allocations: 82.91 kB / 0.8073 GB, free: 24.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003376/1.371, allocations: 171 kB / 0.8074 GB, free: 24.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008808/1.371, allocations: 388.7 kB / 0.8078 GB, free: 24.81 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005901/1.377, allocations: 1.792 MB / 0.8096 GB, free: 24.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/1.38, allocations: 2.865 MB / 0.8124 GB, free: 22.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00635/1.387, allocations: 415.1 kB / 0.8127 GB, free: 22.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001637/1.388, allocations: 490.9 kB / 0.8132 GB, free: 22.45 MB / 458.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.006793/1.395, allocations: 2.941 MB / 0.8161 GB, free: 21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.396, allocations: 415.8 kB / 0.8165 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005139/1.401, allocations: 2.525 MB / 0.819 GB, free: 19.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001266/1.402, allocations: 43.11 kB / 0.819 GB, free: 19.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/1.402, allocations: 3.656 kB / 0.819 GB, free: 19.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.402, allocations: 7.312 kB / 0.819 GB, free: 19.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/1.423, allocations: 8.523 MB / 0.8273 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/1.423, allocations: 4 kB / 0.8273 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/1.425, allocations: 336.5 kB / 0.8277 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/1.425, allocations: 145.3 kB / 0.8278 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000198/1.425, allocations: 41.16 kB / 0.8278 GB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/1.427, allocations: 2.325 MB / 0.8301 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.427, allocations: 11.94 kB / 0.8301 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00633/1.434, allocations: 5.795 MB / 0.8358 GB, free: 5.461 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.435, allocations: 0.4921 MB / 0.8363 GB, free: 4.969 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008964/1.436, allocations: 37.17 kB / 0.8363 GB, free: 4.934 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/1.438, allocations: 108.9 kB / 0.8364 GB, free: 4.863 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/1.438, allocations: 130.2 kB / 0.8365 GB, free: 4.777 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/1.438, allocations: 73.06 kB / 0.8366 GB, free: 4.715 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00554/1.444, allocations: 3.165 MB / 0.8397 GB, free: 2.082 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.444, allocations: 3.188 kB / 0.8397 GB, free: 2.082 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006651/1.451, allocations: 1.175 MB / 0.8408 GB, free: 0.918 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (171): * Single equations (assignments): 163 * 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.0005073/1.451, allocations: 188.1 kB / 0.841 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01106/1.462, allocations: 5.817 MB / 0.8467 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.462, allocations: 0.75 kB / 0.8467 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003198/1.465, allocations: 1.531 MB / 0.8482 GB, free: 10.42 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003738/1.469, allocations: 0.5296 MB / 0.8487 GB, free: 9.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03049/1.5, allocations: 13.58 MB / 0.862 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005572/1.505, allocations: 4.243 MB / 0.8661 GB, free: 10.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006254/1.512, allocations: 2.465 MB / 0.8685 GB, free: 8.648 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008135/1.512, allocations: 304.5 kB / 0.8688 GB, free: 8.367 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.512, allocations: 4 kB / 0.8688 GB, free: 8.363 MB / 490.7 MB Notification: Performance of Templates: time 0.2959/1.808, allocations: 37.92 MB / 0.9058 GB, free: 108.1 MB / 490.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)