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.00165/0.001651, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.5 MB / 229.6 MB, free: 7.531 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.0008893/0.0008891, allocations: 90.72 kB / 280.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03703/0.03703, allocations: 8.824 MB / 340.1 MB, free: 6.41 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.606e-05/1.608e-05, allocations: 1.594 kB / 398.7 MB, free: 47.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 52.39 MB / 451.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3879/0.4903, allocations: 95 MB / 0.5333 GB, free: 23.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4905, allocations: 73.02 kB / 0.5333 GB, free: 23.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.274/0.7646, allocations: 108 MB / 0.6388 GB, free: 9.629 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7647, allocations: 0 / 0.6388 GB, free: 9.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003391/0.765, allocations: 88 kB / 0.6389 GB, free: 9.543 MB / 410.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.02719/0.7922, allocations: 4.939 MB / 0.6438 GB, free: 4.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.7923, allocations: 12.02 kB / 0.6438 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02681/0.8191, allocations: 3.732 MB / 0.6474 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01167/0.8308, allocations: 2.918 MB / 0.6503 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006357/0.8315, allocations: 176 kB / 0.6504 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004969/0.8365, allocations: 292 kB / 0.6507 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02835/0.8649, allocations: 9.55 MB / 0.66 GB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03892/0.9039, allocations: 13.42 MB / 0.6731 GB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003632/0.9043, allocations: 59.45 kB / 0.6732 GB, free: 5.211 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003538/0.9079, allocations: 32 kB / 0.6732 GB, free: 5.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003241/0.9111, allocations: 1.642 MB / 0.6748 GB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3223/1.233, allocations: 55.51 MB / 0.729 GB, free: 66.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005546/1.239, allocations: 4.182 MB / 0.7331 GB, free: 65.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/1.241, allocations: 1.309 MB / 0.7344 GB, free: 65.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007879/1.249, allocations: 5.658 MB / 0.7399 GB, free: 63.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/1.249, allocations: 51.94 kB / 0.74 GB, free: 62.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=205): time 4.559e-06/1.249, allocations: 0 / 0.74 GB, free: 62.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=219): time 0.01078/1.259, allocations: 7.636 MB / 0.7474 GB, free: 60.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/1.259, allocations: 149.8 kB / 0.7476 GB, free: 59.85 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005269/1.265, allocations: 3.863 MB / 0.7513 GB, free: 59.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002688/1.265, allocations: 32.83 kB / 0.7514 GB, free: 59.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001749/1.267, allocations: 4.188 MB / 0.7555 GB, free: 56.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006538/1.267, allocations: 0.8396 MB / 0.7563 GB, free: 56.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/1.268, allocations: 0 / 0.7563 GB, free: 56.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003615/1.268, allocations: 0.6599 MB / 0.7569 GB, free: 56.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002842/1.271, allocations: 2.34 MB / 0.7592 GB, free: 56.17 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005939/1.277, allocations: 7.488 MB / 0.7665 GB, free: 49.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007075/1.284, allocations: 4.294 MB / 0.7707 GB, free: 49.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002008/1.284, allocations: 54.03 kB / 0.7708 GB, free: 49.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=1085) (initialization): time 0.01526/1.3, allocations: 8.746 MB / 0.7793 GB, free: 47.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.127e-05/1.3, allocations: 91.56 kB / 0.7794 GB, free: 47.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/1.3, allocations: 185.2 kB / 0.7796 GB, free: 47.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/1.3, allocations: 402.9 kB / 0.78 GB, free: 47.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005035/1.305, allocations: 1.891 MB / 0.7818 GB, free: 46.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/1.308, allocations: 2.763 MB / 0.7845 GB, free: 45.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004771/1.313, allocations: 274.8 kB / 0.7848 GB, free: 44.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007975/1.313, allocations: 0.5123 MB / 0.7853 GB, free: 44.92 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1023): * Single equations (assignments): 1015 * 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.0008519/1.314, allocations: 0.5369 MB / 0.7858 GB, free: 44.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/1.315, allocations: 375.7 kB / 0.7862 GB, free: 44.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/1.318, allocations: 2.213 MB / 0.7883 GB, free: 43.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001087/1.318, allocations: 38.39 kB / 0.7883 GB, free: 43.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.318, allocations: 0 / 0.7883 GB, free: 43.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/1.318, allocations: 13.23 kB / 0.7884 GB, free: 43.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/1.332, allocations: 6.679 MB / 0.7949 GB, free: 40.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/1.332, allocations: 4.062 kB / 0.7949 GB, free: 40.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/1.333, allocations: 317.6 kB / 0.7952 GB, free: 40.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/1.334, allocations: 129.9 kB / 0.7953 GB, free: 40.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/1.334, allocations: 19.62 kB / 0.7953 GB, free: 40.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/1.336, allocations: 2.195 MB / 0.7975 GB, free: 39.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/1.336, allocations: 6.062 kB / 0.7975 GB, free: 39.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005946/1.342, allocations: 4.876 MB / 0.8022 GB, free: 36.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.343, allocations: 429.4 kB / 0.8027 GB, free: 36.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/1.344, allocations: 14.2 kB / 0.8027 GB, free: 36.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.345, allocations: 70.42 kB / 0.8027 GB, free: 36.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/1.345, allocations: 114.8 kB / 0.8028 GB, free: 36.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/1.345, allocations: 62.94 kB / 0.8029 GB, free: 36.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00392/1.349, allocations: 2.548 MB / 0.8054 GB, free: 34.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.349, allocations: 0 / 0.8054 GB, free: 34.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006098/1.355, allocations: 1.001 MB / 0.8064 GB, free: 33.32 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 151 * 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.0003808/1.356, allocations: 149.8 kB / 0.8065 GB, free: 33.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00707/1.363, allocations: 5.392 MB / 0.8118 GB, free: 28.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.363, allocations: 0 / 0.8118 GB, free: 28.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/1.364, allocations: 1.375 MB / 0.8131 GB, free: 27.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/1.366, allocations: 347.9 kB / 0.8135 GB, free: 26.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.384, allocations: 9.224 MB / 0.8225 GB, free: 18.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006426/1.391, allocations: 4.237 MB / 0.8266 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006657/1.398, allocations: 2.512 MB / 0.8291 GB, free: 13.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008928/1.398, allocations: 285.9 kB / 0.8293 GB, free: 13.36 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/1.398, allocations: 0 / 0.8293 GB, free: 13.36 MB / 458.7 MB Notification: Performance of Templates: time 0.05636/1.455, allocations: 30.64 MB / 0.8592 GB, free: 7.938 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)