Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.787/0.787, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001752/0.001752, allocations: 143.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.505e-05, allocations: 8 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04722/0.04726, allocations: 25.17 MB / 205.4 MB, free: 8.426 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0522/0.09951, allocations: 34.71 MB / 240.1 MB, free: 5.66 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.09981, allocations: 63.95 kB / 240.2 MB, free: 5.598 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00921/0.109, allocations: 3.434 MB / 243.6 MB, free: 2.148 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1091, allocations: 0 / 243.6 MB, free: 2.148 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.1091, allocations: 7.938 kB / 243.6 MB, free: 2.141 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005391/0.1096, allocations: 462.3 kB / 244 MB, free: 1.645 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1097, allocations: 8.031 kB / 244.1 MB, free: 1.637 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.1098, allocations: 23.72 kB / 244.1 MB, free: 1.613 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.11, allocations: 223.4 kB / 244.3 MB, free: 1.352 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.11, allocations: 16.44 kB / 244.3 MB, free: 1.336 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.1101, allocations: 23.94 kB / 244.3 MB, free: 1.312 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.1104, allocations: 197.9 kB / 244.5 MB, free: 1.109 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1104, allocations: 3.828 kB / 244.5 MB, free: 1.109 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.1105, allocations: 11.95 kB / 244.5 MB, free: 1.098 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1105, allocations: 8 kB / 244.6 MB, free: 1.09 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.1107, allocations: 101.7 kB / 244.7 MB, free: 0.9922 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.1117, allocations: 0.7014 MB / 245.4 MB, free: 240 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.1119, allocations: 128.3 kB / 245.5 MB, free: 104 kB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1121, allocations: 64.84 kB / 245.5 MB, free: 36 kB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1121, allocations: 4 kB / 245.5 MB, free: 32 kB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1137/0.2258, allocations: 33.61 kB / 245.6 MB, free: 41.53 MB / 186.7 MB Notification: Performance of pre-optimization done (n=19): time 5.089e-06/0.2259, allocations: 0 / 245.6 MB, free: 41.53 MB / 186.7 MB Notification: Performance of matching and sorting (n=23): time 0.001533/0.2274, allocations: 0.7903 MB / 246.4 MB, free: 41.07 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.2274, allocations: 55.45 kB / 246.4 MB, free: 41 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.2276, allocations: 154.9 kB / 246.6 MB, free: 40.91 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2276, allocations: 29.77 kB / 246.6 MB, free: 40.88 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.2277, allocations: 144.5 kB / 246.7 MB, free: 40.77 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.2278, allocations: 82.25 kB / 246.8 MB, free: 40.73 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.2278, allocations: 5.688 kB / 246.8 MB, free: 40.73 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 6.543e-05/0.2279, allocations: 330.5 kB / 247.2 MB, free: 40.42 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.2279, allocations: 46.81 kB / 247.2 MB, free: 40.42 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.2281, allocations: 87.83 kB / 247.3 MB, free: 40.38 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.2282, allocations: 61.38 kB / 247.3 MB, free: 40.38 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2282, allocations: 0 / 247.3 MB, free: 40.38 MB / 186.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003692/0.2286, allocations: 233.1 kB / 247.6 MB, free: 40.32 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2286, allocations: 9.141 kB / 247.6 MB, free: 40.32 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2286, allocations: 2.031 kB / 247.6 MB, free: 40.32 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.2288, allocations: 34.53 kB / 247.6 MB, free: 40.31 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.229, allocations: 54.19 kB / 247.7 MB, free: 40.31 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009159/0.2299, allocations: 1.377 MB / 249 MB, free: 39.05 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-05/0.23, allocations: 7.781 kB / 249.1 MB, free: 39.05 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.2301, allocations: 9.938 kB / 249.1 MB, free: 39.05 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/0.2301, allocations: 118.9 kB / 249.2 MB, free: 38.95 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.2302, allocations: 20.11 kB / 249.2 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.2302, allocations: 28.08 kB / 249.2 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2302, allocations: 6.125 kB / 249.2 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2302, allocations: 6.719 kB / 249.2 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2303, allocations: 2.062 kB / 249.2 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007551/0.231, allocations: 0.6283 MB / 249.9 MB, free: 38.55 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.231, allocations: 4.828 kB / 249.9 MB, free: 38.55 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2312, allocations: 47.44 kB / 249.9 MB, free: 38.55 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001008/0.2313, allocations: 31.94 kB / 250 MB, free: 38.54 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2314, allocations: 6.125 kB / 250 MB, free: 38.54 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007571/0.2321, allocations: 1.383 MB / 251.3 MB, free: 37.27 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2321, allocations: 0.6562 kB / 251.3 MB, free: 37.27 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.2326, allocations: 399.6 kB / 251.7 MB, free: 37.03 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.2327, allocations: 100.6 kB / 251.8 MB, free: 36.93 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.2327, allocations: 6.734 kB / 251.8 MB, free: 36.92 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.2328, allocations: 11.89 kB / 251.8 MB, free: 36.92 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.2329, allocations: 14.81 kB / 251.9 MB, free: 36.92 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.2329, allocations: 11.62 kB / 251.9 MB, free: 36.91 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.917e-05/0.233, allocations: 131 kB / 252 MB, free: 36.82 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.233, allocations: 0 / 252 MB, free: 36.82 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003017/0.2333, allocations: 58.88 kB / 252.1 MB, free: 36.81 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001078/0.2334, allocations: 107.6 kB / 252.2 MB, free: 36.71 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003941/0.2338, allocations: 264.7 kB / 252.4 MB, free: 36.55 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2339, allocations: 4.5 kB / 252.4 MB, free: 36.55 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.2341, allocations: 210.4 kB / 252.6 MB, free: 36.4 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.2344, allocations: 28.38 kB / 252.7 MB, free: 36.39 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.2352, allocations: 0.5105 MB / 253.2 MB, free: 36.06 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.2354, allocations: 0.7514 MB / 253.9 MB, free: 35.36 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 7.427e-05/0.2355, allocations: 21.39 kB / 253.9 MB, free: 35.35 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.2355, allocations: 18.44 kB / 254 MB, free: 35.34 MB / 186.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2355, allocations: 0 / 254 MB, free: 35.34 MB / 186.7 MB Notification: Performance of Templates: time 0.005024/0.2405, allocations: 2.077 MB / 256 MB, free: 35.18 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)