Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0008092/0.0008092, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006351/0.006351, allocations: 169 kB / 16.26 MB, free: 6.652 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.612/1.612, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.0004875/0.0004875, allocations: 8 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.262, allocations: 47.59 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002306/0.2643, allocations: 2.031 MB / 329.1 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.2655, allocations: 0.615 MB / 329.7 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.2657, allocations: 4 kB / 329.7 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.2658, allocations: 31.98 kB / 329.7 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.266, allocations: 64.88 kB / 329.8 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.2662, allocations: 41.98 kB / 329.8 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.2665, allocations: 261.1 kB / 330.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.2668, allocations: 90.41 kB / 330.2 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.267, allocations: 93.58 kB / 330.2 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.2672, allocations: 104.5 kB / 330.3 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.2672, allocations: 11.47 kB / 330.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.983e-05/0.2673, allocations: 12.06 kB / 330.4 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.2673, allocations: 34.12 kB / 330.4 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.2675, allocations: 136.2 kB / 330.5 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.2678, allocations: 244 kB / 330.8 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2678, allocations: 5.188 kB / 330.8 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2678, allocations: 0 / 330.8 MB, free: 14.55 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2678, allocations: 0 / 330.8 MB, free: 14.55 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.0007785/0.2686, allocations: 492.7 kB / 331.3 MB, free: 14.09 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.2687, allocations: 9.875 kB / 331.3 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.2687, allocations: 28.97 kB / 331.3 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.269, allocations: 247 kB / 331.5 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.2691, allocations: 13.62 kB / 331.6 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/0.2691, allocations: 26.73 kB / 331.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.2695, allocations: 201.1 kB / 331.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.2695, allocations: 5.312 kB / 331.8 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.2696, allocations: 10.28 kB / 331.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2696, allocations: 5.312 kB / 331.8 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.2699, allocations: 144.2 kB / 331.9 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009683/0.2709, allocations: 0.6298 MB / 332.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.2712, allocations: 180.2 kB / 332.7 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.2714, allocations: 106 kB / 332.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.2714, allocations: 6.938 kB / 332.9 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2714, allocations: 35.53 kB / 332.9 MB, free: 12.87 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/0.2715, allocations: 1.312 kB / 332.9 MB, free: 12.87 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.002035/0.2735, allocations: 1.078 MB / 334 MB, free: 12.08 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.2736, allocations: 58.66 kB / 334 MB, free: 12.01 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.2737, allocations: 188.4 kB / 334.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.2738, allocations: 31.89 kB / 334.2 MB, free: 11.83 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2739, allocations: 145.8 kB / 334.4 MB, free: 11.69 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.53e-05/0.274, allocations: 116.6 kB / 334.5 MB, free: 11.59 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.274, allocations: 29.7 kB / 334.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2742, allocations: 334.8 kB / 334.9 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.2743, allocations: 71.95 kB / 334.9 MB, free: 11.14 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.2745, allocations: 114.9 kB / 335 MB, free: 11.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.2748, allocations: 200.7 kB / 335.2 MB, free: 10.82 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2748, allocations: 0 / 335.2 MB, free: 10.82 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000494/0.2753, allocations: 297.9 kB / 335.5 MB, free: 10.52 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2754, allocations: 11.94 kB / 335.5 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2754, allocations: 0 / 335.5 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001856/0.2756, allocations: 48.83 kB / 335.6 MB, free: 10.46 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.2758, allocations: 59.91 kB / 335.6 MB, free: 10.4 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.2772, allocations: 1.561 MB / 337.2 MB, free: 8.699 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.2773, allocations: 12.03 kB / 337.2 MB, free: 8.688 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.2773, allocations: 8.062 kB / 337.2 MB, free: 8.68 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.0001373/0.2775, allocations: 145.8 kB / 337.4 MB, free: 8.527 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.2775, allocations: 23.7 kB / 337.4 MB, free: 8.504 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/0.2776, allocations: 30.59 kB / 337.4 MB, free: 8.477 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2776, allocations: 4 kB / 337.4 MB, free: 8.473 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.2776, allocations: 0 / 337.4 MB, free: 8.473 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2776, allocations: 7.984 kB / 337.4 MB, free: 8.465 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.2787, allocations: 0.7854 MB / 338.2 MB, free: 7.605 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.2788, allocations: 4 kB / 338.2 MB, free: 7.602 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.279, allocations: 59.84 kB / 338.3 MB, free: 7.543 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.2791, allocations: 32.84 kB / 338.3 MB, free: 7.508 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.2792, allocations: 8.188 kB / 338.3 MB, free: 7.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.2803, allocations: 1.386 MB / 339.7 MB, free: 5.98 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2803, allocations: 0 / 339.7 MB, free: 5.98 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.2811, allocations: 494.4 kB / 340.2 MB, free: 5.469 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.2811, allocations: 96.83 kB / 340.3 MB, free: 5.355 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.2812, allocations: 8 kB / 340.3 MB, free: 5.348 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2813, allocations: 12 kB / 340.3 MB, free: 5.336 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.2814, allocations: 27.84 kB / 340.3 MB, free: 5.309 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.2814, allocations: 12 kB / 340.3 MB, free: 5.297 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.2815, allocations: 131.2 kB / 340.5 MB, free: 5.168 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2815, allocations: 0 / 340.5 MB, free: 5.168 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.2819, allocations: 64 kB / 340.5 MB, free: 5.105 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.0001336/0.2821, allocations: 107.2 kB / 340.6 MB, free: 4.992 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006173/0.2827, allocations: 339.6 kB / 341 MB, free: 4.648 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2827, allocations: 4 kB / 341 MB, free: 4.645 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.2831, allocations: 251.1 kB / 341.2 MB, free: 4.387 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.2836, allocations: 43.89 kB / 341.3 MB, free: 4.344 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.2851, allocations: 0.8944 MB / 342.1 MB, free: 3.41 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.2855, allocations: 0.7561 MB / 342.9 MB, free: 2.629 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.45e-05/0.2856, allocations: 30.2 kB / 342.9 MB, free: 2.602 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.2857, allocations: 23.44 kB / 343 MB, free: 2.578 MB / 270.1 MB Notification: Performance of SimCode: time 4.989e-06/0.2857, allocations: 0 / 343 MB, free: 2.578 MB / 270.1 MB Notification: Performance of Templates: time 0.006394/0.2921, allocations: 2.489 MB / 345.4 MB, free: 88 kB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)