Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.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.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002042/0.002043, allocations: 188.5 kB / 8.135 MB, free: 2.164 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.241/1.241, allocations: 194.2 MB / 202.8 MB, free: 8.684 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001836/0.001836, allocations: 116.8 kB / 247.7 MB, free: 6.395 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.219e-06/5.249e-06, allocations: 0 / 297.6 MB, free: 8.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07043/0.07045, allocations: 44.48 MB / 342.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1852/0.2557, allocations: 72.32 MB / 414.4 MB, free: 22.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001658/0.2559, allocations: 74.25 kB / 414.4 MB, free: 22.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.00929/0.2652, allocations: 3.497 MB / 417.9 MB, free: 20.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.2653, allocations: 4 kB / 417.9 MB, free: 20.12 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004499/0.2657, allocations: 475 kB / 418.4 MB, free: 19.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2658, allocations: 12.02 kB / 418.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.2658, allocations: 23.72 kB / 418.4 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.2661, allocations: 230 kB / 418.7 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2661, allocations: 11.94 kB / 418.7 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.2661, allocations: 13.56 kB / 418.7 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002102/0.2663, allocations: 115.2 kB / 418.8 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.2666, allocations: 152.9 kB / 419 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.2666, allocations: 3.188 kB / 419 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.2666, allocations: 0 / 419 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.2666, allocations: 12 kB / 419 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007241/0.2674, allocations: 0.5657 MB / 419.5 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.2675, allocations: 112.3 kB / 419.6 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.2677, allocations: 87.23 kB / 419.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.2677, allocations: 7.188 kB / 419.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.2677, allocations: 38.47 kB / 419.8 MB, free: 18.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.2677, allocations: 0 / 419.8 MB, free: 18.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001293/0.269, allocations: 0.8975 MB / 420.7 MB, free: 17.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.269, allocations: 62.03 kB / 420.7 MB, free: 17.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.36e-05/0.2691, allocations: 133.8 kB / 420.9 MB, free: 17.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.2692, allocations: 25.7 kB / 420.9 MB, free: 17.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.2692, allocations: 130.7 kB / 421 MB, free: 17.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.2692, allocations: 108.9 kB / 421.1 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/0.2693, allocations: 0 / 421.1 MB, free: 17.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4e-05/0.2693, allocations: 333.4 kB / 421.5 MB, free: 16.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.354e-05/0.2694, allocations: 59.19 kB / 421.5 MB, free: 16.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.2695, allocations: 89.59 kB / 421.6 MB, free: 16.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.2696, allocations: 72.88 kB / 421.7 MB, free: 16.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2696, allocations: 0 / 421.7 MB, free: 16.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000382/0.27, allocations: 246.9 kB / 421.9 MB, free: 16.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.27, allocations: 4 kB / 421.9 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2701, allocations: 7.984 kB / 421.9 MB, free: 16.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.2702, allocations: 43.14 kB / 422 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.2705, allocations: 58.84 kB / 422 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009674/0.2715, allocations: 1.49 MB / 423.5 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.2716, allocations: 4 kB / 423.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.2716, allocations: 11.98 kB / 423.5 MB, free: 14.83 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.013e-05/0.2717, allocations: 120.9 kB / 423.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.2717, allocations: 15.81 kB / 423.7 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.2718, allocations: 32.22 kB / 423.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2718, allocations: 4 kB / 423.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2718, allocations: 0 / 423.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2718, allocations: 3.984 kB / 423.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008083/0.2726, allocations: 0.7094 MB / 424.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2726, allocations: 0 / 424.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.2729, allocations: 63.28 kB / 424.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.273, allocations: 40.64 kB / 424.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.2731, allocations: 4 kB / 424.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007602/0.2738, allocations: 1.315 MB / 425.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2739, allocations: 4 kB / 425.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005082/0.2744, allocations: 472.9 kB / 426.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.2744, allocations: 92.91 kB / 426.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.2745, allocations: 4 kB / 426.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.2746, allocations: 4 kB / 426.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.2747, allocations: 23.75 kB / 426.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2747, allocations: 8 kB / 426.4 MB, free: 12 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.077e-05/0.2747, allocations: 113 kB / 426.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.2751, allocations: 60 kB / 426.6 MB, free: 11.85 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.0001031/0.2752, allocations: 103.4 kB / 426.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004081/0.2756, allocations: 292.4 kB / 427 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2757, allocations: 0 / 427 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.2759, allocations: 215.9 kB / 427.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.2762, allocations: 25.55 kB / 427.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008993/0.2771, allocations: 0.5674 MB / 427.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.2773, allocations: 0.7864 MB / 428.6 MB, free: 9.926 MB / 314.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2773, allocations: 0 / 428.6 MB, free: 9.926 MB / 314.7 MB Notification: Performance of Templates: time 0.004891/0.2822, allocations: 2.52 MB / 431.1 MB, free: 7.461 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)