Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 102.9 kB / 16.5 MB, free: 6.648 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.001372/0.001373, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.53/1.53, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.00181/0.001811, allocations: 47.94 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1184, allocations: 46.63 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.004586/0.123, allocations: 2.394 MB / 328.3 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1245, allocations: 0.6242 MB / 329 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.1248, allocations: 4 kB / 329 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.125, allocations: 23.78 kB / 329 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.1253, allocations: 59.53 kB / 329.1 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.1256, allocations: 51.88 kB / 329.1 MB, free: 1.711 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.126, allocations: 238.9 kB / 329.3 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.1262, allocations: 80.73 kB / 329.4 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.1264, allocations: 91.59 kB / 329.5 MB, free: 1.309 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.1266, allocations: 107.5 kB / 329.6 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.271e-05/0.1267, allocations: 12 kB / 329.6 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.046e-05/0.1268, allocations: 12 kB / 329.6 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.274e-05/0.1268, allocations: 39.84 kB / 329.7 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.127, allocations: 111.4 kB / 329.8 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.1273, allocations: 231.4 kB / 330 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1273, allocations: 0 / 330 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1273, allocations: 4 kB / 330 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1273, allocations: 0 / 330 MB, free: 0.8008 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008775/0.1282, allocations: 0.5069 MB / 330.5 MB, free: 248 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1282, allocations: 8.031 kB / 330.5 MB, free: 240 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.1283, allocations: 32.56 kB / 330.6 MB, free: 208 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1286, allocations: 240.6 kB / 330.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.1287, allocations: 16.81 kB / 330.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.1287, allocations: 24.38 kB / 330.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003986/0.1291, allocations: 218.1 kB / 331.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1292, allocations: 7.938 kB / 331.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1292, allocations: 11.94 kB / 331.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1292, allocations: 4 kB / 331.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.1295, allocations: 125.7 kB / 331.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009867/0.1305, allocations: 0.7093 MB / 331.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.1309, allocations: 150.5 kB / 332.1 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.1311, allocations: 68.83 kB / 332.1 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.1311, allocations: 4 kB / 332.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1311, allocations: 34.55 kB / 332.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.1311, allocations: 0 / 332.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=24): time 0.001507/0.1326, allocations: 0.8825 MB / 333 MB, free: 13.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1327, allocations: 55.41 kB / 333.1 MB, free: 13.44 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.1329, allocations: 182.6 kB / 333.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1329, allocations: 29.7 kB / 333.3 MB, free: 13.21 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.087e-05/0.133, allocations: 140.3 kB / 333.4 MB, free: 13.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.075e-05/0.1331, allocations: 94.64 kB / 333.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.1332, allocations: 45.7 kB / 333.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1334, allocations: 330.8 kB / 333.9 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1335, allocations: 59.97 kB / 334 MB, free: 12.54 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.1337, allocations: 92.27 kB / 334 MB, free: 12.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.134, allocations: 172.1 kB / 334.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.134, allocations: 0 / 334.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004152/0.1344, allocations: 250.1 kB / 334.5 MB, free: 12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1344, allocations: 8 kB / 334.5 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1344, allocations: 0 / 334.5 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.1346, allocations: 28.84 kB / 334.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.1348, allocations: 55.91 kB / 334.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.1362, allocations: 1.378 MB / 335.9 MB, free: 10.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.1363, allocations: 8 kB / 335.9 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1364, allocations: 11.94 kB / 335.9 MB, free: 10.37 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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 prepare postOptimizeDAE: time 0.0001415/0.1365, allocations: 137.8 kB / 336.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.1366, allocations: 19.72 kB / 336.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.1366, allocations: 25.86 kB / 336.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1366, allocations: 4 kB / 336.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1366, allocations: 0 / 336.1 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1367, allocations: 3.938 kB / 336.1 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/0.1376, allocations: 0.6558 MB / 336.8 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1376, allocations: 4 kB / 336.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.1378, allocations: 47.91 kB / 336.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.1379, allocations: 32.83 kB / 336.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.1379, allocations: 8 kB / 336.9 MB, free: 9.352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.1391, allocations: 1.374 MB / 338.3 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1391, allocations: 11.91 kB / 338.3 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.1397, allocations: 406.1 kB / 338.7 MB, free: 7.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.1398, allocations: 88.92 kB / 338.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1398, allocations: 4 kB / 338.8 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.14, allocations: 12 kB / 338.8 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.14, allocations: 15.97 kB / 338.8 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.1401, allocations: 12 kB / 338.8 MB, free: 7.262 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.656e-05/0.1402, allocations: 120.8 kB / 338.9 MB, free: 7.145 MB / 286.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1402, allocations: 0 / 338.9 MB, free: 7.145 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003313/0.1405, allocations: 60 kB / 339 MB, free: 7.086 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * 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.000176/0.1407, allocations: 107.2 kB / 339.1 MB, free: 6.969 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005829/0.1413, allocations: 294.2 kB / 339.4 MB, free: 6.668 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1413, allocations: 0 / 339.4 MB, free: 6.668 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.1416, allocations: 214.5 kB / 339.6 MB, free: 6.445 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.1422, allocations: 36.36 kB / 339.6 MB, free: 6.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.1436, allocations: 0.7656 MB / 340.4 MB, free: 5.617 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.144, allocations: 0.752 MB / 341.1 MB, free: 4.84 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.999e-05/0.1441, allocations: 25.94 kB / 341.2 MB, free: 4.816 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.246e-05/0.1442, allocations: 19.44 kB / 341.2 MB, free: 4.797 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.1442, allocations: 0 / 341.2 MB, free: 4.797 MB / 286.1 MB Notification: Performance of Templates: time 0.005949/0.1501, allocations: 2.251 MB / 343.4 MB, free: 2.551 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1)