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.001527/0.001527, allocations: 170.1 kB / 12.72 MB, free: 2.594 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.314/1.314, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.0016/0.0016, allocations: 111.4 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.144e-05, allocations: 4 kB / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07793/0.07799, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2935/0.3715, allocations: 71.32 MB / 378.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.3718, allocations: 65.97 kB / 379 MB, free: 4.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02416/0.396, allocations: 8.327 MB / 387.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.396, allocations: 0 / 387.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.378e-05/0.3961, allocations: 12 kB / 387.3 MB, free: 13.89 MB / 282.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.001187/0.3973, allocations: 0.6545 MB / 388 MB, free: 13.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3973, allocations: 12.03 kB / 388 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.3974, allocations: 47.44 kB / 388.1 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006595/0.3981, allocations: 366.4 kB / 388.4 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.443e-05/0.3982, allocations: 52.42 kB / 388.5 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.3983, allocations: 38.22 kB / 388.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/0.3988, allocations: 351.9 kB / 388.8 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.3989, allocations: 6.812 kB / 388.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.3989, allocations: 14.44 kB / 388.9 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3989, allocations: 8 kB / 388.9 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004025/0.3993, allocations: 244.6 kB / 389.1 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.4012, allocations: 1.18 MB / 390.3 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.4018, allocations: 251.4 kB / 390.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.4019, allocations: 117.4 kB / 390.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.402, allocations: 0.5 kB / 390.7 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.402, allocations: 46.44 kB / 390.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.402, allocations: 0 / 390.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.001447/0.4035, allocations: 0.9758 MB / 391.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.4035, allocations: 102.8 kB / 391.8 MB, free: 9.945 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.4038, allocations: 283.7 kB / 392.1 MB, free: 9.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.4039, allocations: 37.27 kB / 392.1 MB, free: 9.676 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.404, allocations: 212.7 kB / 392.3 MB, free: 9.508 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.4041, allocations: 113.1 kB / 392.4 MB, free: 9.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.4041, allocations: 3.938 kB / 392.4 MB, free: 9.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4042, allocations: 345.9 kB / 392.7 MB, free: 9.078 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.4044, allocations: 110.9 kB / 392.9 MB, free: 9.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.4046, allocations: 172.9 kB / 393 MB, free: 8.863 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.4048, allocations: 107 kB / 393.1 MB, free: 8.797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4048, allocations: 0 / 393.1 MB, free: 8.797 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005121/0.4053, allocations: 351.4 kB / 393.5 MB, free: 8.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4054, allocations: 8 kB / 393.5 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.4054, allocations: 8.062 kB / 393.5 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4054, allocations: 7.984 kB / 393.5 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.406, allocations: 151.6 kB / 393.6 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.406, allocations: 3.953 kB / 393.6 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.4063, allocations: 43.59 kB / 393.7 MB, free: 8.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.4064, allocations: 8 kB / 393.7 MB, free: 8.32 MB / 282.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 (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.0001166/0.4065, allocations: 132.1 kB / 393.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.441e-05/0.4066, allocations: 35.53 kB / 393.9 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.815e-05/0.4067, allocations: 46.88 kB / 393.9 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4067, allocations: 4 kB / 393.9 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.4067, allocations: 0 / 393.9 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4067, allocations: 3.953 kB / 393.9 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.4077, allocations: 0.7948 MB / 394.7 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4077, allocations: 0 / 394.7 MB, free: 7.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.4081, allocations: 103.9 kB / 394.8 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.4082, allocations: 7.953 kB / 394.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.4082, allocations: 7.859 kB / 394.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.4082, allocations: 4 kB / 394.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4082, allocations: 0 / 394.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.4088, allocations: 0.5526 MB / 395.4 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.409, allocations: 144.1 kB / 395.5 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.409, allocations: 7.188 kB / 395.5 MB, free: 6.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.4095, allocations: 62.75 kB / 395.6 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.4096, allocations: 27.05 kB / 395.6 MB, free: 6.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.4096, allocations: 8 kB / 395.6 MB, free: 6.609 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002123/0.4098, allocations: 230.3 kB / 395.9 MB, free: 6.426 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4098, allocations: 4 kB / 395.9 MB, free: 6.422 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003406/0.4102, allocations: 71.38 kB / 395.9 MB, free: 6.359 MB / 282.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 (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.0001404/0.4103, allocations: 118.4 kB / 396 MB, free: 6.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004143/0.4107, allocations: 252.6 kB / 396.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4107, allocations: 0 / 396.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.4109, allocations: 128.3 kB / 396.4 MB, free: 5.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.4114, allocations: 79.02 kB / 396.5 MB, free: 5.922 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.4129, allocations: 0.8191 MB / 397.3 MB, free: 5.133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.4133, allocations: 0.8109 MB / 398.1 MB, free: 4.297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.4135, allocations: 50.94 kB / 398.2 MB, free: 4.246 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.484e-05/0.4136, allocations: 27.44 kB / 398.2 MB, free: 4.219 MB / 282.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4136, allocations: 0 / 398.2 MB, free: 4.219 MB / 282.7 MB Notification: Performance of Templates: time 0.007721/0.4214, allocations: 4.005 MB / 402.2 MB, free: 232 kB / 282.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)