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/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.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001835/0.001841, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002857/0.002857, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.531/1.531, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001331/0.001331, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2566, allocations: 46.64 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.003268/0.2599, allocations: 2.336 MB / 327.6 MB, free: 16 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.261, allocations: 0.6327 MB / 328.3 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.2612, allocations: 8.219 kB / 328.3 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.2613, allocations: 34.38 kB / 328.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.2615, allocations: 63.61 kB / 328.4 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.2617, allocations: 58.67 kB / 328.4 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.262, allocations: 251.3 kB / 328.7 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.2623, allocations: 89.17 kB / 328.8 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.2624, allocations: 94.53 kB / 328.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.2626, allocations: 112.2 kB / 329 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.2626, allocations: 18.31 kB / 329 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.164e-05/0.2627, allocations: 19.94 kB / 329 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.2627, allocations: 45.84 kB / 329.1 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.2629, allocations: 114.7 kB / 329.2 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.2632, allocations: 244.9 kB / 329.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2632, allocations: 0 / 329.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2632, allocations: 1.156 kB / 329.4 MB, free: 14.74 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.2632, allocations: 4 kB / 329.4 MB, free: 14.74 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.0008177/0.264, allocations: 0.507 MB / 329.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.2641, allocations: 9.281 kB / 329.9 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.2642, allocations: 29.19 kB / 330 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.2644, allocations: 242.3 kB / 330.2 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2645, allocations: 12.53 kB / 330.2 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.2645, allocations: 22.25 kB / 330.2 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.2649, allocations: 215.7 kB / 330.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.2649, allocations: 1.188 kB / 330.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.265, allocations: 14.34 kB / 330.5 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/0.265, allocations: 4.281 kB / 330.5 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.2652, allocations: 122.5 kB / 330.6 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.2663, allocations: 0.7131 MB / 331.3 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.2665, allocations: 149.4 kB / 331.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.2667, allocations: 67.61 kB / 331.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.2667, allocations: 2.156 kB / 331.5 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2667, allocations: 36.78 kB / 331.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.2667, allocations: 0 / 331.5 MB, free: 12.98 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001657/0.2684, allocations: 0.8781 MB / 332.4 MB, free: 12.28 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.2685, allocations: 54.06 kB / 332.5 MB, free: 12.21 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.2687, allocations: 184.8 kB / 332.7 MB, free: 12.07 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.2687, allocations: 30.86 kB / 332.7 MB, free: 12.03 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2688, allocations: 150.2 kB / 332.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/0.2689, allocations: 89.25 kB / 332.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.457e-05/0.269, allocations: 46.08 kB / 333 MB, free: 11.78 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2691, allocations: 331.5 kB / 333.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.2692, allocations: 53.73 kB / 333.3 MB, free: 11.43 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.2694, allocations: 99 kB / 333.4 MB, free: 11.35 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.2697, allocations: 170.7 kB / 333.6 MB, free: 11.24 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2697, allocations: 0 / 333.6 MB, free: 11.24 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004289/0.2701, allocations: 252.8 kB / 333.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2702, allocations: 4 kB / 333.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2702, allocations: 4 kB / 333.9 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001659/0.2704, allocations: 32.84 kB / 333.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.2706, allocations: 51.91 kB / 333.9 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.2718, allocations: 1.489 MB / 335.4 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.272, allocations: 8 kB / 335.4 MB, free: 9.281 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.272, allocations: 11.94 kB / 335.4 MB, free: 9.27 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.0001422/0.2721, allocations: 141.8 kB / 335.6 MB, free: 9.121 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.2722, allocations: 19.72 kB / 335.6 MB, free: 9.102 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.2722, allocations: 21.88 kB / 335.6 MB, free: 9.082 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2723, allocations: 7.938 kB / 335.6 MB, free: 9.074 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2723, allocations: 4.062 kB / 335.6 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2723, allocations: 7.984 kB / 335.6 MB, free: 9.062 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000932/0.2732, allocations: 0.6441 MB / 336.3 MB, free: 8.348 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2732, allocations: 4.062 kB / 336.3 MB, free: 8.344 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.2734, allocations: 47.92 kB / 336.3 MB, free: 8.297 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001107/0.2736, allocations: 32.83 kB / 336.4 MB, free: 8.262 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.2736, allocations: 4 kB / 336.4 MB, free: 8.258 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.2747, allocations: 1.485 MB / 337.9 MB, free: 6.633 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2747, allocations: 4.031 kB / 337.9 MB, free: 6.629 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.2753, allocations: 402 kB / 338.3 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.2754, allocations: 92.92 kB / 338.3 MB, free: 6.102 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.2754, allocations: 8.031 kB / 338.4 MB, free: 6.094 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.2755, allocations: 12 kB / 338.4 MB, free: 6.082 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.2756, allocations: 19.92 kB / 338.4 MB, free: 6.062 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.2756, allocations: 7.984 kB / 338.4 MB, free: 6.055 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.39e-05/0.2757, allocations: 128.8 kB / 338.5 MB, free: 5.93 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2757, allocations: 0 / 338.5 MB, free: 5.93 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.276, allocations: 60 kB / 338.6 MB, free: 5.871 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.0001253/0.2762, allocations: 103.2 kB / 338.7 MB, free: 5.758 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005447/0.2767, allocations: 306.7 kB / 339 MB, free: 5.445 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2767, allocations: 7.938 kB / 339 MB, free: 5.438 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.277, allocations: 210.5 kB / 339.2 MB, free: 5.219 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.2775, allocations: 44.47 kB / 339.2 MB, free: 5.176 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.2787, allocations: 0.6779 MB / 339.9 MB, free: 4.469 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.2791, allocations: 0.7404 MB / 340.7 MB, free: 3.703 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.579e-05/0.2791, allocations: 29.92 kB / 340.7 MB, free: 3.676 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.2792, allocations: 15.44 kB / 340.7 MB, free: 3.66 MB / 270.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2792, allocations: 3.938 kB / 340.7 MB, free: 3.656 MB / 270.1 MB Notification: Performance of Templates: time 0.005661/0.2849, allocations: 2.368 MB / 343.1 MB, free: 1.289 MB / 270.1 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)