Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001139/0.001139, allocations: 187.5 kB / 8.352 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.517/1.517, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001795/0.001795, allocations: 120.4 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.591e-05/1.594e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09328/0.09332, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3034/0.3967, allocations: 92.14 MB / 434.7 MB, free: 3.941 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.3971, allocations: 89.56 kB / 434.8 MB, free: 3.895 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1948/0.5919, allocations: 72.43 MB / 0.4953 GB, free: 2.445 MB / 379.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.592, allocations: 0 / 0.4953 GB, free: 2.445 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0001471/0.5922, allocations: 72 kB / 0.4954 GB, free: 2.375 MB / 379.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1323 * Number of variables: 1323 Notification: Performance of Generate backend data structure: time 0.009668/0.6018, allocations: 3.425 MB / 0.4988 GB, free: 14.89 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.6019, allocations: 8.031 kB / 0.4988 GB, free: 14.88 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.6121, allocations: 2.264 MB / 0.501 GB, free: 12.61 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/0.6228, allocations: 3.894 MB / 0.5048 GB, free: 8.672 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.6231, allocations: 116 kB / 0.5049 GB, free: 8.559 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/0.6247, allocations: 208 kB / 0.5051 GB, free: 8.355 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01109/0.6358, allocations: 5.503 MB / 0.5105 GB, free: 2.848 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2127/0.8485, allocations: 8.447 MB / 0.5187 GB, free: 76.25 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/0.8487, allocations: 50.38 kB / 0.5188 GB, free: 76.25 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004533/0.8492, allocations: 32.03 kB / 0.5188 GB, free: 76.25 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001227/0.8504, allocations: 0.9856 MB / 0.5197 GB, free: 76.25 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03604/0.8865, allocations: 43.43 MB / 0.5622 GB, free: 49.23 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.8896, allocations: 2.684 MB / 0.5648 GB, free: 48.57 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/0.8916, allocations: 1.622 MB / 0.5664 GB, free: 48.54 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/0.8921, allocations: 0.545 MB / 0.5669 GB, free: 48.06 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.8922, allocations: 49.42 kB / 0.5669 GB, free: 48.02 MB / 395.1 MB Notification: Performance of pre-optimization done (n=145): time 3.677e-06/0.8922, allocations: 0 / 0.5669 GB, free: 48.02 MB / 395.1 MB Notification: Performance of matching and sorting (n=162): time 0.03618/0.9284, allocations: 16.15 MB / 0.5827 GB, free: 42.56 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.9285, allocations: 144.1 kB / 0.5829 GB, free: 42.4 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/0.9324, allocations: 2.597 MB / 0.5854 GB, free: 41.44 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002575/0.9327, allocations: 25.7 kB / 0.5854 GB, free: 41.41 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.9341, allocations: 2.759 MB / 0.5881 GB, free: 39.38 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000547/0.9347, allocations: 0.6138 MB / 0.5887 GB, free: 38.93 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.9349, allocations: 0 / 0.5887 GB, free: 38.93 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.9351, allocations: 0.5476 MB / 0.5892 GB, free: 38.52 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.9371, allocations: 1.793 MB / 0.591 GB, free: 37.9 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003245/0.9403, allocations: 5.283 MB / 0.5962 GB, free: 32.52 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003672/0.944, allocations: 3.038 MB / 0.5991 GB, free: 31.39 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.905e-05/0.9441, allocations: 37.59 kB / 0.5992 GB, free: 31.39 MB / 395.1 MB Notification: Performance of matching and sorting (n=739) (initialization): time 0.01126/0.9553, allocations: 7.348 MB / 0.6063 GB, free: 29.05 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/0.9554, allocations: 59.09 kB / 0.6064 GB, free: 29.05 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.962e-05/0.9555, allocations: 125 kB / 0.6065 GB, free: 29.05 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003712/0.9592, allocations: 1.303 MB / 0.6078 GB, free: 28.88 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/0.9631, allocations: 1.315 MB / 0.6091 GB, free: 28.71 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007083/0.9702, allocations: 5.816 MB / 0.6147 GB, free: 25.96 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005173/0.9754, allocations: 245.7 kB / 0.615 GB, free: 25.94 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006395/0.9761, allocations: 351 kB / 0.6153 GB, free: 25.89 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (696): * Single equations (assignments): 692 * Array equations: 3 * 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 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008503/0.9769, allocations: 430.2 kB / 0.6157 GB, free: 25.54 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004282/0.9774, allocations: 276.5 kB / 0.616 GB, free: 25.39 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006612/0.984, allocations: 3.137 MB / 0.619 GB, free: 24.43 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-05/0.9841, allocations: 27.8 kB / 0.6191 GB, free: 24.43 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.9841, allocations: 7 kB / 0.6191 GB, free: 24.42 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.9841, allocations: 8.75 kB / 0.6191 GB, free: 24.42 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/1.002, allocations: 6.899 MB / 0.6258 GB, free: 22.02 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.002, allocations: 0 / 0.6258 GB, free: 22.02 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/1.003, allocations: 251.9 kB / 0.6261 GB, free: 22 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004599/1.008, allocations: 1.092 MB / 0.6271 GB, free: 21.84 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/1.008, allocations: 15.12 kB / 0.6271 GB, free: 21.84 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009538/1.018, allocations: 5.446 MB / 0.6325 GB, free: 18.9 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/1.018, allocations: 4.031 kB / 0.6325 GB, free: 18.9 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.028, allocations: 5.546 MB / 0.6379 GB, free: 14.21 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/1.03, allocations: 0.5461 MB / 0.6384 GB, free: 13.69 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006182/1.03, allocations: 4 kB / 0.6384 GB, free: 13.68 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/1.032, allocations: 88.98 kB / 0.6385 GB, free: 13.63 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/1.032, allocations: 89.7 kB / 0.6386 GB, free: 13.58 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.032, allocations: 44.64 kB / 0.6386 GB, free: 13.54 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002592/1.035, allocations: 1.701 MB / 0.6403 GB, free: 12.05 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.035, allocations: 0 / 0.6403 GB, free: 12.05 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004489/1.039, allocations: 0.7716 MB / 0.6411 GB, free: 11.29 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 122 * Array equations: 3 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003799/1.04, allocations: 145.1 kB / 0.6412 GB, free: 11.15 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005894/1.045, allocations: 4.413 MB / 0.6455 GB, free: 7.168 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.046, allocations: 0.75 kB / 0.6455 GB, free: 7.168 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/1.047, allocations: 1.471 MB / 0.6469 GB, free: 5.84 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/1.049, allocations: 241.9 kB / 0.6472 GB, free: 5.629 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/1.062, allocations: 6.678 MB / 0.6537 GB, free: 15.99 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003534/1.065, allocations: 2.891 MB / 0.6565 GB, free: 13.77 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.004098/1.069, allocations: 1.768 MB / 0.6582 GB, free: 12.62 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/1.07, allocations: 203.3 kB / 0.6584 GB, free: 12.43 MB / 411.1 MB Notification: Performance of SimCode: time 6.31e-07/1.07, allocations: 6.156 kB / 0.6584 GB, free: 12.42 MB / 411.1 MB Notification: Performance of Templates: time 0.2431/1.313, allocations: 27.53 MB / 0.6853 GB, free: 83.66 MB / 411.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1)