Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 51.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2536, allocations: 46.62 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003878/0.2575, allocations: 2.39 MB / 327.1 MB, free: 64 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2587, allocations: 0.6132 MB / 327.7 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.2589, allocations: 7.562 kB / 327.7 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.2592, allocations: 24.72 kB / 327.7 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.2593, allocations: 62.91 kB / 327.8 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.2595, allocations: 46.36 kB / 327.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.2599, allocations: 248.3 kB / 328.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.2601, allocations: 65.16 kB / 328.1 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.2602, allocations: 102 kB / 328.2 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.2604, allocations: 92.31 kB / 328.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.2605, allocations: 12.47 kB / 328.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.414e-05/0.2605, allocations: 17.75 kB / 328.3 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.2606, allocations: 49.61 kB / 328.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.2607, allocations: 107.8 kB / 328.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.261, allocations: 235.6 kB / 328.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.261, allocations: 0 / 328.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.261, allocations: 1.188 kB / 328.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.261, allocations: 0 / 328.7 MB, free: 14.86 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007926/0.2618, allocations: 0.5067 MB / 329.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.2619, allocations: 13.31 kB / 329.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.043e-05/0.262, allocations: 26.19 kB / 329.3 MB, free: 14.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.2623, allocations: 246.8 kB / 329.5 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.2623, allocations: 15.84 kB / 329.5 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.2624, allocations: 18.12 kB / 329.5 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.2628, allocations: 215.2 kB / 329.8 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.2628, allocations: 2.438 kB / 329.8 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.2628, allocations: 12.97 kB / 329.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.2629, allocations: 5.594 kB / 329.8 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.2632, allocations: 134.2 kB / 329.9 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.2644, allocations: 0.7014 MB / 330.6 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.2647, allocations: 148.7 kB / 330.8 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.2649, allocations: 72.58 kB / 330.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.2649, allocations: 1.906 kB / 330.8 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.2649, allocations: 40.69 kB / 330.9 MB, free: 13.09 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.2649, allocations: 0 / 330.9 MB, free: 13.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001885/0.2668, allocations: 0.8766 MB / 331.7 MB, free: 12.39 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.2669, allocations: 61.58 kB / 331.8 MB, free: 12.32 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.2671, allocations: 180.7 kB / 332 MB, free: 12.18 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.2671, allocations: 27.17 kB / 332 MB, free: 12.14 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.2672, allocations: 141.4 kB / 332.1 MB, free: 12.01 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.2673, allocations: 89.72 kB / 332.2 MB, free: 11.93 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.2674, allocations: 45.8 kB / 332.3 MB, free: 11.9 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2675, allocations: 331.1 kB / 332.6 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.2677, allocations: 58.66 kB / 332.7 MB, free: 11.54 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.2678, allocations: 95.73 kB / 332.8 MB, free: 11.47 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.2681, allocations: 173.5 kB / 332.9 MB, free: 11.36 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2681, allocations: 1.094 kB / 332.9 MB, free: 11.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004631/0.2686, allocations: 250.4 kB / 333.2 MB, free: 11.22 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.2686, allocations: 6.062 kB / 333.2 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2686, allocations: 1.219 kB / 333.2 MB, free: 11.22 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.2688, allocations: 33.94 kB / 333.2 MB, free: 11.2 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.269, allocations: 50.34 kB / 333.3 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.2703, allocations: 1.373 MB / 334.6 MB, free: 9.695 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.2704, allocations: 15.97 kB / 334.6 MB, free: 9.68 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.2704, allocations: 11.94 kB / 334.7 MB, free: 9.668 MB / 270.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.2706, allocations: 133.8 kB / 334.8 MB, free: 9.527 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.2706, allocations: 19.72 kB / 334.8 MB, free: 9.508 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.2707, allocations: 25.86 kB / 334.8 MB, free: 9.484 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2707, allocations: 0 / 334.8 MB, free: 9.484 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2707, allocations: 7.938 kB / 334.8 MB, free: 9.477 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2707, allocations: 8.062 kB / 334.8 MB, free: 9.469 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009446/0.2717, allocations: 0.652 MB / 335.5 MB, free: 8.746 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2717, allocations: 8.047 kB / 335.5 MB, free: 8.738 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.2719, allocations: 43.98 kB / 335.6 MB, free: 8.695 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.272, allocations: 40.75 kB / 335.6 MB, free: 8.652 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.272, allocations: 4 kB / 335.6 MB, free: 8.648 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.2731, allocations: 1.37 MB / 337 MB, free: 7.145 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.2731, allocations: 7.875 kB / 337 MB, free: 7.137 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005611/0.2737, allocations: 414.1 kB / 337.4 MB, free: 6.707 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.2738, allocations: 88.92 kB / 337.5 MB, free: 6.602 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.2738, allocations: 11.94 kB / 337.5 MB, free: 6.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2739, allocations: 4 kB / 337.5 MB, free: 6.586 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.274, allocations: 20.02 kB / 337.5 MB, free: 6.566 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.274, allocations: 4 kB / 337.5 MB, free: 6.562 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.2741, allocations: 132.8 kB / 337.6 MB, free: 6.434 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2741, allocations: 4 kB / 337.6 MB, free: 6.43 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003419/0.2745, allocations: 56 kB / 337.7 MB, free: 6.375 MB / 270.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001224/0.2746, allocations: 103.2 kB / 337.8 MB, free: 6.262 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005856/0.2752, allocations: 294.3 kB / 338.1 MB, free: 5.961 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2752, allocations: 256 / 338.1 MB, free: 5.961 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.2755, allocations: 218.8 kB / 338.3 MB, free: 5.734 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.2761, allocations: 40.2 kB / 338.3 MB, free: 5.695 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2773, allocations: 0.7578 MB / 339.1 MB, free: 4.91 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.2776, allocations: 0.7521 MB / 339.8 MB, free: 4.133 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.427e-05/0.2777, allocations: 17.95 kB / 339.9 MB, free: 4.117 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.2777, allocations: 15.44 kB / 339.9 MB, free: 4.102 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2777, allocations: 0 / 339.9 MB, free: 4.102 MB / 270.1 MB Notification: Performance of Templates: time 0.005357/0.2831, allocations: 2.261 MB / 342.1 MB, free: 1.844 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)