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.9009/0.9009, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001839/0.001839, allocations: 151.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.355e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05054/0.05058, allocations: 25.18 MB / 205.4 MB, free: 8.441 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05375/0.1044, allocations: 38 MB / 243.4 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.1047, allocations: 71.91 kB / 243.5 MB, free: 2.309 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1369/0.2416, allocations: 7.894 MB / 251.4 MB, free: 41.31 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2416, allocations: 0 / 251.4 MB, free: 41.31 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.143e-05/0.2417, allocations: 7.75 kB / 251.4 MB, free: 41.31 MB / 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.001057/0.2427, allocations: 0.6369 MB / 252 MB, free: 40.84 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.2428, allocations: 9.375 kB / 252 MB, free: 40.84 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.2429, allocations: 41.66 kB / 252 MB, free: 40.82 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005979/0.2435, allocations: 353.2 kB / 252.4 MB, free: 40.55 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.354e-05/0.2436, allocations: 49.14 kB / 252.4 MB, free: 40.51 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.2437, allocations: 40.61 kB / 252.5 MB, free: 40.49 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.2442, allocations: 345.8 kB / 252.8 MB, free: 40.31 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.2443, allocations: 0 / 252.8 MB, free: 40.31 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.2443, allocations: 12.03 kB / 252.8 MB, free: 40.3 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.2443, allocations: 7.781 kB / 252.8 MB, free: 40.3 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.2448, allocations: 230.9 kB / 253.1 MB, free: 40.22 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.2465, allocations: 1.147 MB / 254.2 MB, free: 39.39 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.2471, allocations: 241.4 kB / 254.4 MB, free: 39.28 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.2473, allocations: 101.6 kB / 254.5 MB, free: 39.23 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.2473, allocations: 2.719 kB / 254.5 MB, free: 39.23 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2473, allocations: 35.81 kB / 254.6 MB, free: 39.18 MB / 186.7 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.2473, allocations: 1.219 kB / 254.6 MB, free: 39.18 MB / 186.7 MB Notification: Performance of matching and sorting (n=28): time 0.001278/0.2486, allocations: 0.9426 MB / 255.5 MB, free: 38.44 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.2487, allocations: 105.8 kB / 255.6 MB, free: 38.32 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.2489, allocations: 274.7 kB / 255.9 MB, free: 38.15 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.249, allocations: 33.05 kB / 255.9 MB, free: 38.11 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.2491, allocations: 212.7 kB / 256.1 MB, free: 37.92 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.2491, allocations: 97.03 kB / 256.2 MB, free: 37.84 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/0.2491, allocations: 8 kB / 256.2 MB, free: 37.83 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.2492, allocations: 348.5 kB / 256.6 MB, free: 37.49 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.2494, allocations: 103.2 kB / 256.7 MB, free: 37.45 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.2496, allocations: 167.4 kB / 256.8 MB, free: 37.33 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.2497, allocations: 106.5 kB / 256.9 MB, free: 37.28 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2498, allocations: 2.406 kB / 256.9 MB, free: 37.28 MB / 186.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004482/0.2502, allocations: 334.8 kB / 257.3 MB, free: 37.11 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2502, allocations: 11.31 kB / 257.3 MB, free: 37.11 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2503, allocations: 3.984 kB / 257.3 MB, free: 37.11 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2503, allocations: 3.75 kB / 257.3 MB, free: 37.11 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.2508, allocations: 141.6 kB / 257.4 MB, free: 37.07 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.2508, allocations: 3.906 kB / 257.4 MB, free: 37.07 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.2511, allocations: 50.34 kB / 257.5 MB, free: 37.05 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.2511, allocations: 15.3 kB / 257.5 MB, free: 37.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 7.57e-05/0.2512, allocations: 120.7 kB / 257.6 MB, free: 36.92 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.2513, allocations: 39 kB / 257.7 MB, free: 36.9 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.802e-05/0.2514, allocations: 39.55 kB / 257.7 MB, free: 36.86 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2514, allocations: 0 / 257.7 MB, free: 36.86 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2514, allocations: 3.656 kB / 257.7 MB, free: 36.86 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.2514, allocations: 4 kB / 257.7 MB, free: 36.86 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008089/0.2522, allocations: 0.7625 MB / 258.5 MB, free: 36.24 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2522, allocations: 0 / 258.5 MB, free: 36.24 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.2526, allocations: 104.8 kB / 258.6 MB, free: 36.21 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.2526, allocations: 3.719 kB / 258.6 MB, free: 36.21 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.2527, allocations: 4 kB / 258.6 MB, free: 36.21 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2527, allocations: 3.875 kB / 258.6 MB, free: 36.21 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2527, allocations: 3.953 kB / 258.6 MB, free: 36.2 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005516/0.2532, allocations: 0.5416 MB / 259.1 MB, free: 35.79 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.2533, allocations: 112.3 kB / 259.2 MB, free: 35.68 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.2534, allocations: 7.812 kB / 259.2 MB, free: 35.67 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.2537, allocations: 54.38 kB / 259.3 MB, free: 35.65 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.2538, allocations: 29.47 kB / 259.3 MB, free: 35.63 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.2538, allocations: 7.594 kB / 259.3 MB, free: 35.63 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001706/0.254, allocations: 216.5 kB / 259.5 MB, free: 35.5 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.254, allocations: 0 / 259.5 MB, free: 35.5 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.2543, allocations: 72.62 kB / 259.6 MB, free: 35.43 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.0001308/0.2545, allocations: 111.2 kB / 259.7 MB, free: 35.32 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.2548, allocations: 241 kB / 260 MB, free: 35.08 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2548, allocations: 3.938 kB / 260 MB, free: 35.08 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.255, allocations: 119.9 kB / 260.1 MB, free: 34.96 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.2554, allocations: 61.17 kB / 260.1 MB, free: 34.9 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.2571, allocations: 0.8894 MB / 261 MB, free: 33.98 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2573, allocations: 0.8035 MB / 261.8 MB, free: 33.14 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.2575, allocations: 50.94 kB / 261.9 MB, free: 33.09 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.2576, allocations: 35.31 kB / 261.9 MB, free: 33.05 MB / 186.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2576, allocations: 0 / 261.9 MB, free: 33.05 MB / 186.7 MB Notification: Performance of Templates: time 0.006001/0.2636, allocations: 3.861 MB / 265.8 MB, free: 29.2 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)