Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.PID_Controller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008053/0.008053, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.72/1.72, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001874/0.001874, allocations: 115.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004366, allocations: 8 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.273, allocations: 38.77 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3786, allocations: 71.41 MB / 384.3 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.3789, allocations: 71.97 kB / 384.4 MB, free: 3.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0245/0.4034, allocations: 8.336 MB / 392.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4035, allocations: 3.938 kB / 392.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.776e-05/0.4035, allocations: 16.17 kB / 392.7 MB, free: 10.69 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001448/0.405, allocations: 0.7051 MB / 393.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.4051, allocations: 12.03 kB / 393.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.4052, allocations: 47.53 kB / 393.5 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007909/0.406, allocations: 363 kB / 393.8 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.4061, allocations: 50.36 kB / 393.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.4062, allocations: 39.94 kB / 393.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009844/0.4072, allocations: 422.7 kB / 394.3 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.4073, allocations: 0 / 394.3 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.4073, allocations: 16 kB / 394.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.4074, allocations: 8 kB / 394.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.4084, allocations: 398.3 kB / 394.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.4108, allocations: 1.175 MB / 395.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.4117, allocations: 354.6 kB / 396.3 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.4117, allocations: 4 kB / 396.3 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.871e-05/0.4118, allocations: 34.56 kB / 396.3 MB, free: 6.898 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.452e-06/0.4118, allocations: 0 / 396.3 MB, free: 6.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.003376/0.4152, allocations: 1.48 MB / 397.8 MB, free: 5.324 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/0.4153, allocations: 110.8 kB / 397.9 MB, free: 5.191 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.4157, allocations: 287.7 kB / 398.2 MB, free: 4.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.4157, allocations: 33.64 kB / 398.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.4159, allocations: 208.1 kB / 398.4 MB, free: 4.656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.4161, allocations: 122.3 kB / 398.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.599e-05/0.4161, allocations: 4 kB / 398.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.4163, allocations: 346.8 kB / 398.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.4167, allocations: 164.6 kB / 399 MB, free: 4.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.4171, allocations: 227.1 kB / 399.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.4176, allocations: 175.2 kB / 399.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4176, allocations: 7.984 kB / 399.4 MB, free: 3.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009995/0.4186, allocations: 461.2 kB / 399.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.4186, allocations: 5.25 kB / 399.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.4187, allocations: 4.062 kB / 399.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.4187, allocations: 4 kB / 399.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.4193, allocations: 151.8 kB / 400 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.4193, allocations: 7.984 kB / 400.1 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.4196, allocations: 43.92 kB / 400.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.4197, allocations: 15.94 kB / 400.1 MB, free: 2.918 MB / 298.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): 46 * 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 0.0002224/0.4199, allocations: 161.8 kB / 400.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.42, allocations: 39.53 kB / 400.3 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.572e-05/0.4201, allocations: 39.95 kB / 400.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4201, allocations: 0 / 400.3 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4201, allocations: 7.938 kB / 400.4 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4201, allocations: 0 / 400.4 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.4218, allocations: 0.9425 MB / 401.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.4218, allocations: 4 kB / 401.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/0.4223, allocations: 104 kB / 401.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.4223, allocations: 3.984 kB / 401.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.4224, allocations: 11.95 kB / 401.4 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.4224, allocations: 4 kB / 401.4 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.4224, allocations: 7.984 kB / 401.4 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.4239, allocations: 0.7636 MB / 402.2 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.4241, allocations: 132.7 kB / 402.3 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.4242, allocations: 12 kB / 402.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.4246, allocations: 55.95 kB / 402.4 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.4247, allocations: 31.91 kB / 402.4 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.4247, allocations: 8 kB / 402.4 MB, free: 456 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002517/0.425, allocations: 223.1 kB / 402.6 MB, free: 236 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.425, allocations: 3.938 kB / 402.7 MB, free: 232 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003926/0.4254, allocations: 83.98 kB / 402.7 MB, free: 148 kB / 298.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.0001813/0.4256, allocations: 111.1 kB / 402.8 MB, free: 28 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009793/0.4266, allocations: 387.7 kB / 403.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4266, allocations: 0 / 403.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.427, allocations: 204.1 kB / 403.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.4275, allocations: 69.56 kB / 403.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.4296, allocations: 1.208 MB / 404.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.4301, allocations: 0.8109 MB / 405.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002483/0.4303, allocations: 50.95 kB / 405.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4304, allocations: 27.44 kB / 405.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4304, allocations: 0 / 405.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of Templates: time 0.008871/0.4393, allocations: 4.001 MB / 409.6 MB, free: 9.25 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.PID_Controller.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.PID_Controller.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.PID_Controller.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.PID_Controller.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.PID_Controller.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.PID_Controller -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.PID_Controller.pipe 2>&1)