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.001479/0.001479, allocations: 111.4 kB / 16.51 MB, free: 6.707 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.001808/0.001808, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.527/1.527, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.001352/0.001352, allocations: 47.92 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1099, allocations: 46.63 MB / 326 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.005295/0.1153, allocations: 2.379 MB / 328.3 MB, free: 2.473 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1169, allocations: 0.6203 MB / 329 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003193/0.1173, allocations: 4 kB / 329 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.1176, allocations: 23.78 kB / 329 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.1179, allocations: 75.45 kB / 329.1 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.1183, allocations: 43.95 kB / 329.1 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005118/0.1188, allocations: 262.7 kB / 329.4 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.1191, allocations: 87.3 kB / 329.4 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.1194, allocations: 99.58 kB / 329.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1197, allocations: 115.4 kB / 329.7 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.1197, allocations: 16 kB / 329.7 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.407e-05/0.1198, allocations: 16 kB / 329.7 MB, free: 1.113 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.1199, allocations: 35.84 kB / 329.7 MB, free: 1.078 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.1201, allocations: 119.4 kB / 329.8 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.1204, allocations: 255.3 kB / 330.1 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1204, allocations: 0 / 330.1 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1205, allocations: 4 kB / 330.1 MB, free: 0.707 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1205, allocations: 0 / 330.1 MB, free: 0.707 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.001056/0.1215, allocations: 0.5223 MB / 330.6 MB, free: 136 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.1216, allocations: 8.031 kB / 330.6 MB, free: 128 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.1217, allocations: 28.66 kB / 330.6 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.1221, allocations: 236.6 kB / 330.9 MB, free: 15.83 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.1222, allocations: 16.81 kB / 330.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.1223, allocations: 24.38 kB / 330.9 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005444/0.1228, allocations: 199.5 kB / 331.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.1229, allocations: 11.84 kB / 331.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.1229, allocations: 8 kB / 331.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1229, allocations: 4 kB / 331.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.1233, allocations: 145.7 kB / 331.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.1247, allocations: 0.6307 MB / 331.9 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.1252, allocations: 186.4 kB / 332.1 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.1254, allocations: 96.83 kB / 332.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.1255, allocations: 8 kB / 332.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.1255, allocations: 34.56 kB / 332.2 MB, free: 14.4 MB / 286.1 MB Notification: Performance of pre-optimization done (n=24): time 2.826e-06/0.1255, allocations: 0 / 332.2 MB, free: 14.4 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.002759/0.1283, allocations: 1.068 MB / 333.3 MB, free: 13.24 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.1283, allocations: 55.34 kB / 333.4 MB, free: 13.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.1286, allocations: 186.9 kB / 333.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.1287, allocations: 29.7 kB / 333.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.1288, allocations: 144.7 kB / 333.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.1289, allocations: 110.3 kB / 333.8 MB, free: 12.7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.1291, allocations: 57.7 kB / 333.9 MB, free: 12.63 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.1293, allocations: 330.8 kB / 334.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.1295, allocations: 67.97 kB / 334.3 MB, free: 12.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.1298, allocations: 114.3 kB / 334.4 MB, free: 12.11 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.1303, allocations: 192.7 kB / 334.6 MB, free: 11.92 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1303, allocations: 0 / 334.6 MB, free: 11.92 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007483/0.1311, allocations: 294 kB / 334.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.1311, allocations: 4 kB / 334.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.1311, allocations: 4 kB / 334.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.1314, allocations: 40.83 kB / 334.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.1318, allocations: 63.97 kB / 335 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.1338, allocations: 1.573 MB / 336.5 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.134, allocations: 12.09 kB / 336.5 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.134, allocations: 8 kB / 336.5 MB, free: 9.777 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.0001993/0.1342, allocations: 137.8 kB / 336.7 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.1343, allocations: 23.72 kB / 336.7 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.563e-05/0.1344, allocations: 34.58 kB / 336.7 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1344, allocations: 4 kB / 336.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.1344, allocations: 3.938 kB / 336.7 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.1344, allocations: 4 kB / 336.7 MB, free: 9.566 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.136, allocations: 0.7776 MB / 337.5 MB, free: 8.711 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.1361, allocations: 7.938 kB / 337.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.1364, allocations: 59.84 kB / 337.6 MB, free: 8.645 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.1366, allocations: 36.83 kB / 337.6 MB, free: 8.605 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.1367, allocations: 8 kB / 337.6 MB, free: 8.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001472/0.1381, allocations: 1.378 MB / 339 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1382, allocations: 0 / 339 MB, free: 7.086 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000972/0.1391, allocations: 490.4 kB / 339.5 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.754e-05/0.1393, allocations: 96.86 kB / 339.6 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.1393, allocations: 12.06 kB / 339.6 MB, free: 6.453 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.1395, allocations: 8 kB / 339.6 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/0.1396, allocations: 31.91 kB / 339.6 MB, free: 6.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.1397, allocations: 4 kB / 339.6 MB, free: 6.41 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.1398, allocations: 135.2 kB / 339.8 MB, free: 6.277 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1398, allocations: 0 / 339.8 MB, free: 6.277 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005815/0.1404, allocations: 64 kB / 339.8 MB, free: 6.215 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.0001702/0.1406, allocations: 107.2 kB / 339.9 MB, free: 6.102 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008602/0.1415, allocations: 335.6 kB / 340.3 MB, free: 5.762 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1415, allocations: 0 / 340.3 MB, free: 5.762 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004827/0.142, allocations: 250.7 kB / 340.5 MB, free: 5.504 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/0.1427, allocations: 31.98 kB / 340.5 MB, free: 5.473 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.1446, allocations: 0.8402 MB / 341.4 MB, free: 4.598 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.1451, allocations: 0.7483 MB / 342.1 MB, free: 3.824 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.1452, allocations: 30.27 kB / 342.2 MB, free: 3.793 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.1453, allocations: 23.44 kB / 342.2 MB, free: 3.77 MB / 286.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1453, allocations: 0 / 342.2 MB, free: 3.77 MB / 286.1 MB Notification: Performance of Templates: time 0.007418/0.1528, allocations: 2.516 MB / 344.7 MB, free: 1.258 MB / 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)