Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.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.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 108 kB / 15.6 MB, free: 132 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.001708/0.001708, allocations: 198 kB / 16.54 MB, free: 6.672 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.528/1.528, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001446/0.001446, allocations: 51.94 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2645, allocations: 46.63 MB / 325.3 MB, free: 2.066 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003136/0.2677, allocations: 2.337 MB / 327.6 MB, free: 232 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009841/0.2687, allocations: 0.6358 MB / 328.3 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.2688, allocations: 4.406 kB / 328.3 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.269, allocations: 35.34 kB / 328.3 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.2691, allocations: 79.36 kB / 328.4 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.2693, allocations: 59.55 kB / 328.5 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.2696, allocations: 264.1 kB / 328.7 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.2698, allocations: 100.9 kB / 328.8 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.27, allocations: 107.5 kB / 328.9 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.2701, allocations: 117.5 kB / 329 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.2702, allocations: 24.69 kB / 329.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.132e-05/0.2702, allocations: 20.91 kB / 329.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.2703, allocations: 42.5 kB / 329.1 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.2704, allocations: 127.6 kB / 329.2 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.2707, allocations: 265.1 kB / 329.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2707, allocations: 0 / 329.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2707, allocations: 0 / 329.5 MB, free: 14.88 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.2707, allocations: 1.094 kB / 329.5 MB, free: 14.88 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007138/0.2714, allocations: 0.5165 MB / 330 MB, free: 14.4 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2715, allocations: 11.98 kB / 330 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.2715, allocations: 29.94 kB / 330.1 MB, free: 14.38 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.2718, allocations: 242.4 kB / 330.3 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2718, allocations: 18.41 kB / 330.3 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.2719, allocations: 18.88 kB / 330.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.2722, allocations: 199.2 kB / 330.5 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.2723, allocations: 5.062 kB / 330.5 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.2723, allocations: 10.22 kB / 330.5 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.2723, allocations: 9.406 kB / 330.5 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.2726, allocations: 136 kB / 330.7 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009325/0.2735, allocations: 0.6365 MB / 331.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.2738, allocations: 173.8 kB / 331.5 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.274, allocations: 100.6 kB / 331.6 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.274, allocations: 2.906 kB / 331.6 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.2741, allocations: 39.97 kB / 331.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.2741, allocations: 0 / 331.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.001952/0.276, allocations: 1.075 MB / 332.7 MB, free: 12.38 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.2761, allocations: 59.19 kB / 332.8 MB, free: 12.31 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.2763, allocations: 180.9 kB / 332.9 MB, free: 12.15 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.2763, allocations: 33.7 kB / 333 MB, free: 12.11 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2764, allocations: 140.6 kB / 333.1 MB, free: 11.97 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.947e-05/0.2765, allocations: 110.4 kB / 333.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.2766, allocations: 57.61 kB / 333.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2767, allocations: 330.8 kB / 333.6 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.2769, allocations: 79.89 kB / 333.7 MB, free: 11.39 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.277, allocations: 110.9 kB / 333.8 MB, free: 11.27 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.2774, allocations: 191.6 kB / 334 MB, free: 11.07 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2774, allocations: 4 kB / 334 MB, free: 11.07 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004919/0.2779, allocations: 287.1 kB / 334.3 MB, free: 10.78 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2779, allocations: 8 kB / 334.3 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.2779, allocations: 4 kB / 334.3 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.2781, allocations: 48.89 kB / 334.3 MB, free: 10.72 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.2784, allocations: 55.91 kB / 334.4 MB, free: 10.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.2799, allocations: 1.74 MB / 336.1 MB, free: 8.781 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.2801, allocations: 12.02 kB / 336.1 MB, free: 8.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.2801, allocations: 15.94 kB / 336.1 MB, free: 8.754 MB / 270.1 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 () * Number of clocked 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 (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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.2803, allocations: 137.8 kB / 336.3 MB, free: 8.609 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.2804, allocations: 27.66 kB / 336.3 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.2805, allocations: 30.66 kB / 336.3 MB, free: 8.555 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2805, allocations: 4 kB / 336.3 MB, free: 8.551 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2805, allocations: 0 / 336.3 MB, free: 8.551 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2805, allocations: 3.984 kB / 336.3 MB, free: 8.547 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.2816, allocations: 0.7777 MB / 337.1 MB, free: 7.695 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.2816, allocations: 4 kB / 337.1 MB, free: 7.691 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.2819, allocations: 63.91 kB / 337.2 MB, free: 7.629 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.282, allocations: 36.92 kB / 337.2 MB, free: 7.59 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.282, allocations: 8 kB / 337.2 MB, free: 7.582 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.2832, allocations: 1.492 MB / 338.7 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2832, allocations: 0 / 338.7 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.2839, allocations: 486.5 kB / 339.2 MB, free: 5.445 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.507e-05/0.2839, allocations: 96.86 kB / 339.3 MB, free: 5.332 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.284, allocations: 8 kB / 339.3 MB, free: 5.324 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.2841, allocations: 8 kB / 339.3 MB, free: 5.316 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.2842, allocations: 31.91 kB / 339.3 MB, free: 5.285 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.2842, allocations: 4 kB / 339.3 MB, free: 5.281 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.2843, allocations: 135.2 kB / 339.5 MB, free: 5.148 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2843, allocations: 0 / 339.5 MB, free: 5.148 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.2847, allocations: 64 kB / 339.5 MB, free: 5.086 MB / 270.1 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 () * Number of clocked 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 (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.0001318/0.2849, allocations: 107.2 kB / 339.6 MB, free: 4.973 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006592/0.2855, allocations: 351 kB / 340 MB, free: 4.617 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2856, allocations: 0 / 340 MB, free: 4.617 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.2859, allocations: 242.4 kB / 340.2 MB, free: 4.367 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.2864, allocations: 47.89 kB / 340.3 MB, free: 4.32 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.2876, allocations: 0.7312 MB / 341 MB, free: 3.555 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.288, allocations: 0.7483 MB / 341.7 MB, free: 2.781 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.894e-05/0.2881, allocations: 30.27 kB / 341.8 MB, free: 2.75 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.2881, allocations: 23.44 kB / 341.8 MB, free: 2.727 MB / 270.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2881, allocations: 0 / 341.8 MB, free: 2.727 MB / 270.1 MB Notification: Performance of Templates: time 0.006113/0.2943, allocations: 2.668 MB / 344.5 MB, free: 60 kB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)