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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001133/0.001133, allocations: 179.7 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.133/1.133, allocations: 194.5 MB / 211.6 MB, free: 3.062 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001543/0.001543, allocations: 116.9 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002819, allocations: 8 kB / 310.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07434/0.07463, allocations: 44.51 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2216/0.2963, allocations: 76.61 MB / 431.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.2967, allocations: 79.19 kB / 431.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01767/0.3143, allocations: 7.509 MB / 439.2 MB, free: 6.672 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3144, allocations: 0 / 439.2 MB, free: 6.672 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.3144, allocations: 8 kB / 439.3 MB, free: 6.664 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0009246/0.3153, allocations: 0.6949 MB / 440 MB, free: 5.953 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3154, allocations: 8.031 kB / 440 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.273e-05/0.3155, allocations: 51.39 kB / 440 MB, free: 5.895 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.3158, allocations: 321.5 kB / 440.3 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.3158, allocations: 29.97 kB / 440.4 MB, free: 5.551 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.575e-05/0.3159, allocations: 30.88 kB / 440.4 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000647/0.3165, allocations: 414.2 kB / 440.8 MB, free: 5.215 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.3166, allocations: 7.906 kB / 440.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.3166, allocations: 14.25 kB / 440.8 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3166, allocations: 8 kB / 440.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000782/0.3174, allocations: 405.2 kB / 441.2 MB, free: 4.879 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.3188, allocations: 1.18 MB / 442.4 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/0.3195, allocations: 343.3 kB / 442.7 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3196, allocations: 7.375 kB / 442.7 MB, free: 3.598 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.3196, allocations: 38.14 kB / 442.8 MB, free: 3.555 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.713e-06/0.3196, allocations: 8 kB / 442.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.00261/0.3222, allocations: 1.466 MB / 444.2 MB, free: 2.223 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.3223, allocations: 81.11 kB / 444.3 MB, free: 2.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.3225, allocations: 287.2 kB / 444.6 MB, free: 1.895 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3225, allocations: 29.39 kB / 444.6 MB, free: 1.863 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.3226, allocations: 216.8 kB / 444.8 MB, free: 1.695 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.3227, allocations: 113.7 kB / 445 MB, free: 1.598 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.3227, allocations: 11.06 kB / 445 MB, free: 1.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.3228, allocations: 344.4 kB / 445.3 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/0.3232, allocations: 177 kB / 445.5 MB, free: 1.125 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.3236, allocations: 242.4 kB / 445.7 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.324, allocations: 203 kB / 445.9 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.324, allocations: 0 / 445.9 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00086/0.3249, allocations: 487.4 kB / 446.4 MB, free: 400 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.325, allocations: 447.8 kB / 446.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.325, allocations: 11.94 kB / 446.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.325, allocations: 0 / 446.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008499/0.3259, allocations: 259.2 kB / 447.1 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005881/0.3265, allocations: 0.6854 MB / 447.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.3268, allocations: 54.09 kB / 447.8 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.3268, allocations: 11.98 kB / 447.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.3268, allocations: 4 kB / 447.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008243/0.3277, allocations: 407.1 kB / 448.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-06/0.3277, allocations: 0 / 448.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.169e-06/0.3277, allocations: 4 kB / 448.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.3281, allocations: 119.3 kB / 448.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3282, allocations: 11.89 kB / 448.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.3284, allocations: 47.95 kB / 448.4 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.3284, allocations: 12 kB / 448.4 MB, free: 14.42 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * 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 initialization (46): * Single equations (assignments): 45 * 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.0002083/0.3287, allocations: 233.5 kB / 448.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.3287, allocations: 35.61 kB / 448.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.707e-05/0.3288, allocations: 39.95 kB / 448.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.3288, allocations: 4 kB / 448.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.3288, allocations: 3.953 kB / 448.7 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3289, allocations: 1.5 kB / 448.7 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.3304, allocations: 0.9425 MB / 449.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3304, allocations: 7.953 kB / 449.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/0.3308, allocations: 100 kB / 449.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3308, allocations: 0 / 449.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.3308, allocations: 11.98 kB / 449.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3309, allocations: 4 kB / 449.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3309, allocations: 0 / 449.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.3322, allocations: 0.7665 MB / 450.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.3324, allocations: 132.8 kB / 450.7 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/0.3324, allocations: 4 kB / 450.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.3327, allocations: 51.95 kB / 450.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.3328, allocations: 23.92 kB / 450.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3328, allocations: 11.98 kB / 450.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002206/0.333, allocations: 223.1 kB / 451 MB, free: 11.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3331, allocations: 7.938 kB / 451 MB, free: 11.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004817/0.3335, allocations: 134.2 kB / 451.2 MB, free: 11.55 MB / 330.7 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 (31): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000136/0.3337, allocations: 107.2 kB / 451.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.3354, allocations: 0.7348 MB / 452 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3355, allocations: 0 / 452 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.3359, allocations: 196.1 kB / 452.2 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.3364, allocations: 82.78 kB / 452.3 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3382, allocations: 1.218 MB / 453.5 MB, free: 9.188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.3385, allocations: 0.8116 MB / 454.3 MB, free: 8.352 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002231/0.3388, allocations: 55.98 kB / 454.3 MB, free: 8.301 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.042e-05/0.3389, allocations: 31.44 kB / 454.4 MB, free: 8.27 MB / 330.7 MB Notification: Performance of SimCode: time 4.7e-07/0.3389, allocations: 0.8438 kB / 454.4 MB, free: 8.27 MB / 330.7 MB Notification: Performance of Templates: time 0.006994/0.3459, allocations: 3.842 MB / 458.2 MB, free: 4.512 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.PID_Controller.makefile (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)