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.0009716/0.0009719, allocations: 99 kB / 15.05 MB, free: 1.105 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.0009361/0.0009361, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 222.1 MB, free: 5.488 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.0004959/0.0004959, allocations: 12 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2385, allocations: 47.58 MB / 326.4 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.002688/0.2412, allocations: 1.878 MB / 328.3 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2425, allocations: 0.6067 MB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.2426, allocations: 4.312 kB / 328.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.267e-05/0.2427, allocations: 23.25 kB / 328.9 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.2429, allocations: 82.36 kB / 329 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.2432, allocations: 47.02 kB / 329.1 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.2435, allocations: 191.9 kB / 329.3 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.2437, allocations: 75.67 kB / 329.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.2439, allocations: 82.67 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.2441, allocations: 105.7 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.2442, allocations: 11.41 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.3e-05/0.2442, allocations: 10.03 kB / 329.5 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.2443, allocations: 35.5 kB / 329.6 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.2444, allocations: 71.36 kB / 329.6 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.2446, allocations: 185.6 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.2446, allocations: 1.562 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2447, allocations: 0 / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2447, allocations: 0 / 329.8 MB, free: 14.86 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.0008228/0.2455, allocations: 498 kB / 330.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2456, allocations: 12.94 kB / 330.3 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.864e-05/0.2456, allocations: 29.5 kB / 330.4 MB, free: 14.37 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.246, allocations: 240.7 kB / 330.6 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.246, allocations: 17.78 kB / 330.6 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.2461, allocations: 21.81 kB / 330.6 MB, free: 14.1 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.2466, allocations: 190.2 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.2466, allocations: 4.969 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.2467, allocations: 9.938 kB / 330.8 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2467, allocations: 5.531 kB / 330.8 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.2471, allocations: 147.1 kB / 331 MB, free: 13.9 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.2484, allocations: 0.6346 MB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.2489, allocations: 178.1 kB / 331.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.2489, allocations: 6.391 kB / 331.8 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.2489, allocations: 40.53 kB / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.844e-06/0.2489, allocations: 0 / 331.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of matching and sorting (n=32): time 0.002615/0.2516, allocations: 1.075 MB / 332.9 MB, free: 12.43 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.2516, allocations: 53.75 kB / 333 MB, free: 12.36 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.2519, allocations: 187.6 kB / 333.1 MB, free: 12.21 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.252, allocations: 31.73 kB / 333.2 MB, free: 12.18 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2521, allocations: 145.7 kB / 333.3 MB, free: 12.04 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2522, allocations: 104 kB / 333.4 MB, free: 11.95 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.2522, allocations: 5.438 kB / 333.4 MB, free: 11.95 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2524, allocations: 332.3 kB / 333.7 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.2526, allocations: 70.16 kB / 333.8 MB, free: 11.59 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.2529, allocations: 117.6 kB / 333.9 MB, free: 11.51 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.2532, allocations: 85.47 kB / 334 MB, free: 11.47 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2532, allocations: 1.312 kB / 334 MB, free: 11.47 MB / 270.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007997/0.254, allocations: 302.8 kB / 334.3 MB, free: 11.3 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.2541, allocations: 7.984 kB / 334.3 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2541, allocations: 4.062 kB / 334.3 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.2543, allocations: 40.84 kB / 334.4 MB, free: 11.24 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.2547, allocations: 59.91 kB / 334.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.2568, allocations: 1.581 MB / 336 MB, free: 9.465 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.257, allocations: 8.406 kB / 336 MB, free: 9.457 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.257, allocations: 12 kB / 336 MB, free: 9.445 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.2572, allocations: 149.7 kB / 336.2 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.2573, allocations: 19.72 kB / 336.2 MB, free: 9.27 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.011e-05/0.2574, allocations: 30.64 kB / 336.2 MB, free: 9.242 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.2574, allocations: 8 kB / 336.2 MB, free: 9.234 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2574, allocations: 0 / 336.2 MB, free: 9.234 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2575, allocations: 4 kB / 336.2 MB, free: 9.23 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.2591, allocations: 0.7857 MB / 337 MB, free: 8.371 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2591, allocations: 0 / 337 MB, free: 8.371 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.2595, allocations: 67.98 kB / 337.1 MB, free: 8.305 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/0.2597, allocations: 32.84 kB / 337.1 MB, free: 8.27 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.2598, allocations: 8 kB / 337.1 MB, free: 8.262 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.2613, allocations: 1.386 MB / 338.5 MB, free: 6.738 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2613, allocations: 0 / 338.5 MB, free: 6.738 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.2623, allocations: 0.5152 MB / 339 MB, free: 6.176 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.2625, allocations: 92.92 kB / 339.1 MB, free: 6.066 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.2625, allocations: 8 kB / 339.1 MB, free: 6.059 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.2627, allocations: 12 kB / 339.1 MB, free: 6.047 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.2628, allocations: 23.95 kB / 339.2 MB, free: 6.023 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.2629, allocations: 15.98 kB / 339.2 MB, free: 6.008 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001491/0.263, allocations: 131.5 kB / 339.3 MB, free: 5.879 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.263, allocations: 0 / 339.3 MB, free: 5.879 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005895/0.2636, allocations: 64 kB / 339.4 MB, free: 5.816 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001668/0.2638, allocations: 107.2 kB / 339.5 MB, free: 5.703 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008668/0.2647, allocations: 346.4 kB / 339.8 MB, free: 5.352 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2647, allocations: 0 / 339.8 MB, free: 5.352 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.2652, allocations: 251.1 kB / 340.1 MB, free: 5.094 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.2658, allocations: 40.11 kB / 340.1 MB, free: 5.055 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.2677, allocations: 0.8869 MB / 341 MB, free: 4.129 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.2681, allocations: 0.76 MB / 341.7 MB, free: 3.344 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.2682, allocations: 26.28 kB / 341.8 MB, free: 3.32 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.2683, allocations: 23.44 kB / 341.8 MB, free: 3.297 MB / 270.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2683, allocations: 0 / 341.8 MB, free: 3.297 MB / 270.1 MB Notification: Performance of Templates: time 0.008117/0.2765, allocations: 2.399 MB / 344.2 MB, free: 0.8945 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Rotational.Examples.First.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: