Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.PID_Controller.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.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001018, allocations: 94.7 kB / 16.3 MB, free: 6.133 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.001045/0.001046, allocations: 179 kB / 17.2 MB, free: 6.016 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.456/1.456, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004867/0.000487, allocations: 16 kB / 280.1 MB, free: 3.758 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1012, allocations: 47.57 MB / 327.7 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.003423/0.1046, allocations: 2.589 MB / 330.3 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1067, allocations: 0.9636 MB / 331.2 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004177/0.1071, allocations: 11.94 kB / 331.3 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.1075, allocations: 51.56 kB / 331.3 MB, free: 480 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005241/0.108, allocations: 127.6 kB / 331.4 MB, free: 352 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.1086, allocations: 179.7 kB / 331.6 MB, free: 172 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006572/0.1092, allocations: 343.9 kB / 331.9 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.1095, allocations: 131.8 kB / 332.1 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1097, allocations: 155.3 kB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1099, allocations: 163.2 kB / 332.4 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.11, allocations: 16 kB / 332.4 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.289e-05/0.11, allocations: 16 kB / 332.4 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.1101, allocations: 71.67 kB / 332.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.016e-05/0.1102, allocations: 97.44 kB / 332.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1105, allocations: 351.3 kB / 332.9 MB, free: 14.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.1105, allocations: 0 / 332.9 MB, free: 14.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1105, allocations: 0 / 332.9 MB, free: 14.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1106, allocations: 4 kB / 332.9 MB, free: 14.83 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001176/0.1117, allocations: 0.7131 MB / 333.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.1118, allocations: 16.02 kB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.1119, allocations: 47.44 kB / 333.7 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.1123, allocations: 354.6 kB / 334 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1123, allocations: 29 kB / 334.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.1124, allocations: 39.91 kB / 334.1 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.1132, allocations: 466.3 kB / 334.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1133, allocations: 7.984 kB / 334.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.1133, allocations: 20 kB / 334.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1133, allocations: 8 kB / 334.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009579/0.1143, allocations: 419.6 kB / 335 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.1163, allocations: 1.586 MB / 336.6 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007941/0.1171, allocations: 338.7 kB / 336.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.1171, allocations: 7.953 kB / 336.9 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.1172, allocations: 38.56 kB / 337 MB, free: 10.55 MB / 286.1 MB Notification: Performance of pre-optimization done (n=30): time 1.293e-06/0.1172, allocations: 0 / 337 MB, free: 10.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.003186/0.1204, allocations: 1.506 MB / 338.5 MB, free: 8.957 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.1204, allocations: 81.09 kB / 338.6 MB, free: 8.859 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.1208, allocations: 361.5 kB / 338.9 MB, free: 8.496 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.1208, allocations: 33.7 kB / 338.9 MB, free: 8.457 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.121, allocations: 243.9 kB / 339.2 MB, free: 8.215 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.337e-05/0.1211, allocations: 122.4 kB / 339.3 MB, free: 8.094 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.1211, allocations: 4 kB / 339.3 MB, free: 8.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1213, allocations: 350.8 kB / 339.7 MB, free: 7.738 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/0.1217, allocations: 188.7 kB / 339.8 MB, free: 7.555 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.1223, allocations: 276.8 kB / 340.1 MB, free: 7.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.1227, allocations: 195.9 kB / 340.3 MB, free: 7.059 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1228, allocations: 0 / 340.3 MB, free: 7.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001149/0.1239, allocations: 0.5286 MB / 340.8 MB, free: 6.523 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003328/0.1243, allocations: 0.7862 MB / 341.6 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1243, allocations: 4 kB / 341.6 MB, free: 5.672 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1243, allocations: 4 kB / 341.6 MB, free: 5.668 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009006/0.1252, allocations: 263.7 kB / 341.9 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.1269, allocations: 1.563 MB / 343.4 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.1272, allocations: 47.97 kB / 343.5 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.1273, allocations: 19.98 kB / 343.5 MB, free: 3.648 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.1273, allocations: 4 kB / 343.5 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008974/0.1282, allocations: 439.7 kB / 343.9 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1282, allocations: 4 kB / 343.9 MB, free: 3.211 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.02e-06/0.1282, allocations: 8.156 kB / 344 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.1287, allocations: 127.8 kB / 344.1 MB, free: 3.078 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1287, allocations: 4 kB / 344.1 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.129, allocations: 47.95 kB / 344.1 MB, free: 3.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.129, allocations: 16 kB / 344.1 MB, free: 3.012 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (kinematicPTP.noWphase,integrator.local_reset,PI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002355/0.1293, allocations: 241 kB / 344.4 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.1293, allocations: 39.53 kB / 344.4 MB, free: 2.727 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.363e-05/0.1294, allocations: 44.25 kB / 344.5 MB, free: 2.684 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1294, allocations: 4 kB / 344.5 MB, free: 2.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1294, allocations: 7.938 kB / 344.5 MB, free: 2.672 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1295, allocations: 0 / 344.5 MB, free: 2.672 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.1312, allocations: 0.9689 MB / 345.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1312, allocations: 0 / 345.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.1316, allocations: 100 kB / 345.5 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1316, allocations: 7.938 kB / 345.5 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.1317, allocations: 8 kB / 345.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1317, allocations: 0 / 345.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.1317, allocations: 4 kB / 345.6 MB, free: 1.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.1332, allocations: 0.7944 MB / 346.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1334, allocations: 132.7 kB / 346.5 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.1334, allocations: 12 kB / 346.5 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.1337, allocations: 47.95 kB / 346.5 MB, free: 476 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/0.1338, allocations: 19.97 kB / 346.6 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.1338, allocations: 12 kB / 346.6 MB, free: 444 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002717/0.1341, allocations: 251.2 kB / 346.8 MB, free: 196 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1341, allocations: 0 / 346.8 MB, free: 196 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005316/0.1347, allocations: 140 kB / 347 MB, free: 56 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (PI.I.y,inertia1.phi,spring.phi_rel,spring.w_rel,inertia2.w,integrator.y) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001585/0.1348, allocations: 99.45 kB / 347.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.1367, allocations: 0.8007 MB / 347.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1367, allocations: 0 / 347.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.1372, allocations: 208.1 kB / 348.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.1378, allocations: 89.38 kB / 348.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.1399, allocations: 1.213 MB / 349.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.1403, allocations: 0.8315 MB / 350.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002499/0.1405, allocations: 63.23 kB / 350.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.1406, allocations: 31.44 kB / 350.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1406, allocations: 4 kB / 350.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of Templates: time 0.008041/0.1487, allocations: 4.108 MB / 354.4 MB, free: 8.551 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.PID_Controller.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1) Environment - environmentSimulation: