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.001116/0.001116, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.009355/0.009355, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.591/1.591, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.0004695/0.0004696, allocations: 12 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2737, allocations: 47.58 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002617/0.2764, allocations: 2.037 MB / 329.1 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2778, allocations: 0.6144 MB / 329.7 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.278, allocations: 3.562 kB / 329.7 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.2781, allocations: 27.78 kB / 329.7 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.2783, allocations: 71.92 kB / 329.8 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.2786, allocations: 38.62 kB / 329.8 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.2789, allocations: 262 kB / 330.1 MB, free: 15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.2792, allocations: 82.31 kB / 330.2 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.2794, allocations: 100.8 kB / 330.2 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.2796, allocations: 101 kB / 330.3 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.2796, allocations: 11.81 kB / 330.4 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.846e-05/0.2796, allocations: 10.75 kB / 330.4 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.2797, allocations: 42.61 kB / 330.4 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.2799, allocations: 133.1 kB / 330.5 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.2802, allocations: 243.5 kB / 330.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2802, allocations: 1.188 kB / 330.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2802, allocations: 0 / 330.8 MB, free: 14.52 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.2802, allocations: 0 / 330.8 MB, free: 14.52 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.0007727/0.281, allocations: 497.2 kB / 331.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.281, allocations: 9.844 kB / 331.3 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.318e-05/0.2811, allocations: 28.78 kB / 331.3 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.2814, allocations: 242.7 kB / 331.5 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.2815, allocations: 18.44 kB / 331.6 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.2815, allocations: 22.19 kB / 331.6 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.2819, allocations: 205.6 kB / 331.8 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.2819, allocations: 5 kB / 331.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.282, allocations: 10.31 kB / 331.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.282, allocations: 5.5 kB / 331.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.2823, allocations: 143.6 kB / 331.9 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.2833, allocations: 0.6309 MB / 332.6 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.2837, allocations: 187.1 kB / 332.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.2839, allocations: 98.92 kB / 332.9 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.2839, allocations: 2.031 kB / 332.9 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.284, allocations: 35.53 kB / 332.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 2.014e-06/0.284, allocations: 0.9375 kB / 332.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.00214/0.2861, allocations: 1.087 MB / 334 MB, free: 12.04 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.2862, allocations: 57.78 kB / 334 MB, free: 11.97 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.2864, allocations: 188.6 kB / 334.2 MB, free: 11.82 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.2864, allocations: 31.2 kB / 334.2 MB, free: 11.79 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.2865, allocations: 142.8 kB / 334.4 MB, free: 11.65 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.2866, allocations: 111.1 kB / 334.5 MB, free: 11.55 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.2867, allocations: 30.77 kB / 334.5 MB, free: 11.53 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2868, allocations: 340.1 kB / 334.9 MB, free: 11.19 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.287, allocations: 66.81 kB / 334.9 MB, free: 11.16 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.2872, allocations: 113.3 kB / 335 MB, free: 11.06 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.2875, allocations: 204.7 kB / 335.2 MB, free: 10.86 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2875, allocations: 0 / 335.2 MB, free: 10.86 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005128/0.288, allocations: 297.9 kB / 335.5 MB, free: 10.55 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2881, allocations: 4 kB / 335.5 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.2881, allocations: 3.938 kB / 335.5 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/0.2883, allocations: 48.89 kB / 335.6 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.2885, allocations: 59.91 kB / 335.6 MB, free: 10.44 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.29, allocations: 1.561 MB / 337.2 MB, free: 8.738 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.2901, allocations: 16.02 kB / 337.2 MB, free: 8.723 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.2901, allocations: 11.98 kB / 337.2 MB, free: 8.711 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.0001331/0.2903, allocations: 137.8 kB / 337.4 MB, free: 8.566 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.2903, allocations: 27.78 kB / 337.4 MB, free: 8.539 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.028e-05/0.2904, allocations: 34.59 kB / 337.4 MB, free: 8.508 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2904, allocations: 0 / 337.4 MB, free: 8.508 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.2904, allocations: 4 kB / 337.4 MB, free: 8.504 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2904, allocations: 3.984 kB / 337.4 MB, free: 8.5 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.2915, allocations: 0.7815 MB / 338.2 MB, free: 7.645 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2915, allocations: 0 / 338.2 MB, free: 7.645 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.2918, allocations: 67.84 kB / 338.3 MB, free: 7.578 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.2919, allocations: 36.92 kB / 338.3 MB, free: 7.539 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.2919, allocations: 8 kB / 338.3 MB, free: 7.531 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.293, allocations: 1.378 MB / 339.7 MB, free: 6.02 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.293, allocations: 0 / 339.7 MB, free: 6.02 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006994/0.2937, allocations: 498.4 kB / 340.2 MB, free: 5.504 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.2938, allocations: 96.83 kB / 340.3 MB, free: 5.391 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.2938, allocations: 4 kB / 340.3 MB, free: 5.387 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.2939, allocations: 16.03 kB / 340.3 MB, free: 5.371 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.294, allocations: 27.84 kB / 340.3 MB, free: 5.344 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.294, allocations: 12 kB / 340.3 MB, free: 5.332 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.2941, allocations: 131.2 kB / 340.5 MB, free: 5.203 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2941, allocations: 0 / 340.5 MB, free: 5.203 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004027/0.2945, allocations: 68 kB / 340.5 MB, free: 5.137 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.0001095/0.2947, allocations: 103.2 kB / 340.6 MB, free: 5.027 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005863/0.2952, allocations: 343.7 kB / 341 MB, free: 4.68 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2953, allocations: 0 / 341 MB, free: 4.68 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.2956, allocations: 246.8 kB / 341.2 MB, free: 4.426 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.2961, allocations: 43.91 kB / 341.3 MB, free: 4.383 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.2975, allocations: 0.8985 MB / 342.2 MB, free: 3.445 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.2978, allocations: 0.7522 MB / 342.9 MB, free: 2.668 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.21e-05/0.2979, allocations: 22.28 kB / 342.9 MB, free: 2.648 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.298, allocations: 31.36 kB / 343 MB, free: 2.617 MB / 270.1 MB Notification: Performance of SimCode: time 1.923e-06/0.298, allocations: 0 / 343 MB, free: 2.617 MB / 270.1 MB Notification: Performance of Templates: time 0.005756/0.3038, allocations: 2.493 MB / 345.5 MB, free: 124 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)