Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7787/0.7787, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001587/0.001587, allocations: 155.4 kB / 144 MB, free: 4.793 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.342e-05/1.336e-05, allocations: 0 / 173.8 MB, free: 22.81 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04488/0.04491, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04907/0.09403, allocations: 37.34 MB / 236.4 MB, free: 8.301 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.09427, allocations: 63.95 kB / 236.4 MB, free: 8.238 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02141/0.1157, allocations: 7.839 MB / 244.3 MB, free: 376 kB / 186.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1157, allocations: 0 / 244.3 MB, free: 376 kB / 186.7 MB Notification: Performance of Transformations before backend: time 3.265e-05/0.1158, allocations: 8 kB / 244.3 MB, free: 368 kB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.09777/0.2136, allocations: 0.6298 MB / 244.9 MB, free: 41.27 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.2136, allocations: 11.25 kB / 244.9 MB, free: 41.27 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.2138, allocations: 42.16 kB / 245 MB, free: 41.25 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.2145, allocations: 347.2 kB / 245.3 MB, free: 41.04 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/0.2145, allocations: 40.98 kB / 245.3 MB, free: 41.01 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.2146, allocations: 19.64 kB / 245.3 MB, free: 41.01 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004634/0.2151, allocations: 219.1 kB / 245.6 MB, free: 41.01 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/0.2156, allocations: 298.4 kB / 245.9 MB, free: 40.93 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.2157, allocations: 5.328 kB / 245.9 MB, free: 40.93 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.2157, allocations: 2.906 kB / 245.9 MB, free: 40.93 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2157, allocations: 12.19 kB / 245.9 MB, free: 40.93 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.2177, allocations: 1.072 MB / 246.9 MB, free: 40.52 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.2182, allocations: 232.4 kB / 247.2 MB, free: 40.49 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.2183, allocations: 94.67 kB / 247.3 MB, free: 40.48 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.2184, allocations: 5.688 kB / 247.3 MB, free: 40.48 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.2184, allocations: 36.38 kB / 247.3 MB, free: 40.44 MB / 186.7 MB Notification: Performance of pre-optimization done (n=26): time 1.804e-06/0.2184, allocations: 0 / 247.3 MB, free: 40.44 MB / 186.7 MB Notification: Performance of matching and sorting (n=28): time 0.001304/0.2197, allocations: 0.8689 MB / 248.2 MB, free: 39.93 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.2198, allocations: 107.8 kB / 248.3 MB, free: 39.81 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.2201, allocations: 242.8 kB / 248.5 MB, free: 39.71 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.2201, allocations: 28.48 kB / 248.5 MB, free: 39.68 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.2202, allocations: 217.7 kB / 248.8 MB, free: 39.54 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/0.2203, allocations: 97.05 kB / 248.9 MB, free: 39.48 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.438e-05/0.2203, allocations: 0 / 248.9 MB, free: 39.48 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.2204, allocations: 342.4 kB / 249.2 MB, free: 39.16 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.2206, allocations: 91.7 kB / 249.3 MB, free: 39.16 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.2208, allocations: 163.7 kB / 249.4 MB, free: 39.11 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.2209, allocations: 102.3 kB / 249.5 MB, free: 39.1 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.221, allocations: 0 / 249.5 MB, free: 39.1 MB / 186.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004879/0.2214, allocations: 308.3 kB / 249.8 MB, free: 39.04 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2215, allocations: 9.625 kB / 249.8 MB, free: 39.04 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2215, allocations: 5.969 kB / 249.9 MB, free: 39.04 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.2215, allocations: 2.781 kB / 249.9 MB, free: 39.04 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.2221, allocations: 145 kB / 250 MB, free: 39.04 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.2222, allocations: 2.75 kB / 250 MB, free: 39.04 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.2225, allocations: 40.52 kB / 250 MB, free: 39.04 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.2225, allocations: 8.688 kB / 250 MB, free: 39.04 MB / 186.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 9.948e-05/0.2226, allocations: 113.8 kB / 250.2 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.2227, allocations: 40.56 kB / 250.2 MB, free: 38.91 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.559e-05/0.2228, allocations: 36.89 kB / 250.2 MB, free: 38.88 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2228, allocations: 2.938 kB / 250.2 MB, free: 38.88 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.2228, allocations: 5.5 kB / 250.2 MB, free: 38.88 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.2228, allocations: 1.5 kB / 250.2 MB, free: 38.88 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.224, allocations: 0.6987 MB / 250.9 MB, free: 38.43 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.224, allocations: 2.047 kB / 250.9 MB, free: 38.43 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/0.2245, allocations: 98.3 kB / 251 MB, free: 38.42 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.2245, allocations: 4.469 kB / 251 MB, free: 38.42 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.2245, allocations: 5.562 kB / 251.1 MB, free: 38.42 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.2245, allocations: 2.844 kB / 251.1 MB, free: 38.42 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.2245, allocations: 4.453 kB / 251.1 MB, free: 38.42 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/0.2254, allocations: 0.4966 MB / 251.6 MB, free: 38.06 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.2255, allocations: 108.6 kB / 251.7 MB, free: 37.95 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.2256, allocations: 3.906 kB / 251.7 MB, free: 37.95 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.226, allocations: 54.62 kB / 251.7 MB, free: 37.94 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.303e-05/0.2261, allocations: 29.31 kB / 251.7 MB, free: 37.93 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.2261, allocations: 7.281 kB / 251.8 MB, free: 37.93 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001926/0.2263, allocations: 193.1 kB / 251.9 MB, free: 37.82 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2263, allocations: 0 / 251.9 MB, free: 37.82 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004209/0.2268, allocations: 63.47 kB / 252 MB, free: 37.82 MB / 186.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001375/0.2269, allocations: 102.9 kB / 252.1 MB, free: 37.72 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.2273, allocations: 230.5 kB / 252.3 MB, free: 37.63 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2273, allocations: 5.125 kB / 252.3 MB, free: 37.63 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.2275, allocations: 107.7 kB / 252.4 MB, free: 37.59 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.228, allocations: 60.14 kB / 252.5 MB, free: 37.57 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.23, allocations: 0.8625 MB / 253.4 MB, free: 37.14 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.2302, allocations: 0.8133 MB / 254.2 MB, free: 36.43 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0002123/0.2305, allocations: 45.14 kB / 254.2 MB, free: 36.43 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.2306, allocations: 29.72 kB / 254.2 MB, free: 36.42 MB / 186.7 MB Notification: Performance of SimCode: time 5.82e-07/0.2306, allocations: 5.219 kB / 254.3 MB, free: 36.41 MB / 186.7 MB Notification: Performance of Templates: time 0.006228/0.2368, allocations: 3.589 MB / 257.8 MB, free: 36.16 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_3.1_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1)