Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Rotational.Examples.First") translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001134/0.001135, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001133/0.001133, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.504/1.504, allocations: 205.1 MB / 223.7 MB, free: 12.32 MB / 190.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.001153/0.001153, allocations: 51.94 kB / 280 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08664/0.0878, allocations: 46.62 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003713/0.09156, allocations: 2.345 MB / 329 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.09263, allocations: 0.6203 MB / 329.6 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.09277, allocations: 4 kB / 329.6 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.09296, allocations: 43.53 kB / 329.6 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.09312, allocations: 71.33 kB / 329.7 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.09336, allocations: 59.88 kB / 329.8 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.09366, allocations: 266.8 kB / 330 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.09386, allocations: 102.7 kB / 330.1 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.09401, allocations: 111.5 kB / 330.2 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.09416, allocations: 111.5 kB / 330.3 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.09421, allocations: 20 kB / 330.4 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.997e-05/0.09425, allocations: 28 kB / 330.4 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.09432, allocations: 43.84 kB / 330.4 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.09443, allocations: 123.4 kB / 330.5 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.09469, allocations: 263.2 kB / 330.8 MB, free: 268 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.0947, allocations: 0 / 330.8 MB, free: 268 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09471, allocations: 4 kB / 330.8 MB, free: 264 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.09472, allocations: 0 / 330.8 MB, free: 264 kB / 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.0007738/0.0955, allocations: 0.5184 MB / 331.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.09555, allocations: 15.88 kB / 331.3 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.09561, allocations: 28.66 kB / 331.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.09588, allocations: 236.6 kB / 331.6 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.09591, allocations: 16.81 kB / 331.6 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.09597, allocations: 24.38 kB / 331.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.09636, allocations: 195.6 kB / 331.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.09639, allocations: 11.89 kB / 331.8 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.09642, allocations: 8 kB / 331.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.09643, allocations: 4 kB / 331.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.09672, allocations: 141.7 kB / 332 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009931/0.09773, allocations: 0.6268 MB / 332.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.09805, allocations: 182.4 kB / 332.8 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.09822, allocations: 100.8 kB / 332.9 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.09825, allocations: 4 kB / 332.9 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.09829, allocations: 34.56 kB / 332.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.0983, allocations: 0 / 332.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001926/0.1002, allocations: 1.08 MB / 334 MB, free: 12.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1003, allocations: 55.34 kB / 334.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.1005, allocations: 186.9 kB / 334.3 MB, free: 12.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.1005, allocations: 29.7 kB / 334.3 MB, free: 12.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/0.1006, allocations: 140.7 kB / 334.4 MB, free: 12.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.532e-05/0.1007, allocations: 110.3 kB / 334.5 MB, free: 12.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/0.1008, allocations: 53.7 kB / 334.6 MB, free: 12.19 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1009, allocations: 338.8 kB / 334.9 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.101, allocations: 63.97 kB / 335 MB, free: 11.79 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.1012, allocations: 118.2 kB / 335.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003358/0.1016, allocations: 195.6 kB / 335.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1016, allocations: 4 kB / 335.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004797/0.1021, allocations: 291.1 kB / 335.6 MB, free: 11.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1021, allocations: 4 kB / 335.6 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1021, allocations: 4 kB / 335.6 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.1023, allocations: 44.83 kB / 335.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.1026, allocations: 63.97 kB / 335.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.1041, allocations: 1.736 MB / 337.4 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1042, allocations: 15.98 kB / 337.4 MB, free: 9.152 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.1042, allocations: 4 kB / 337.4 MB, free: 9.148 MB / 286.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.0001312/0.1044, allocations: 137.8 kB / 337.6 MB, free: 9.004 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.1044, allocations: 27.72 kB / 337.6 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.1045, allocations: 34.66 kB / 337.6 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1045, allocations: 3.984 kB / 337.6 MB, free: 8.941 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1045, allocations: 4 kB / 337.6 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1045, allocations: 0 / 337.6 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.1056, allocations: 0.7814 MB / 338.4 MB, free: 8.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1056, allocations: 3.938 kB / 338.4 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.1059, allocations: 60.09 kB / 338.5 MB, free: 8.016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001184/0.106, allocations: 44.92 kB / 338.5 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1061, allocations: 4 kB / 338.5 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.1073, allocations: 1.485 MB / 340 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1073, allocations: 4.031 kB / 340 MB, free: 6.336 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/0.1079, allocations: 482.5 kB / 340.5 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.108, allocations: 100.9 kB / 340.6 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.108, allocations: 8 kB / 340.6 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1082, allocations: 8 kB / 340.6 MB, free: 5.703 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.1082, allocations: 23.91 kB / 340.6 MB, free: 5.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.1083, allocations: 12 kB / 340.6 MB, free: 5.668 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.811e-05/0.1084, allocations: 135.2 kB / 340.8 MB, free: 5.535 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1084, allocations: 0 / 340.8 MB, free: 5.535 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.1088, allocations: 72 kB / 340.8 MB, free: 5.465 MB / 286.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.0001225/0.1089, allocations: 95.25 kB / 340.9 MB, free: 5.363 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006609/0.1096, allocations: 355 kB / 341.3 MB, free: 5.004 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1096, allocations: 0 / 341.3 MB, free: 5.004 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.1099, allocations: 246.4 kB / 341.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005111/0.1105, allocations: 49.11 kB / 341.6 MB, free: 4.703 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1117, allocations: 0.7225 MB / 342.3 MB, free: 3.945 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1121, allocations: 0.7522 MB / 343 MB, free: 3.168 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.819e-05/0.1122, allocations: 30.27 kB / 343.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.1122, allocations: 19.44 kB / 343.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1122, allocations: 0 / 343.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of Templates: time 0.006125/0.1184, allocations: 2.671 MB / 345.8 MB, free: 460 kB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.First.pipe 2>&1)