Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006148/0.006148, allocations: 98.3 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 193.1 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05572/0.05572, allocations: 10.73 MB / 280.6 MB, free: 10.43 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 72.52 kB / 390.8 MB, free: 5.027 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3801, allocations: 49.02 MB / 439.9 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003794/0.384, allocations: 2.102 MB / 442 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009846/0.385, allocations: 409.3 kB / 442.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.3851, allocations: 13.06 kB / 442.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.3854, allocations: 54.92 kB / 442.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.3856, allocations: 32.73 kB / 442.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.3862, allocations: 191.3 kB / 442.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006922/0.3869, allocations: 459 kB / 443.1 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.3871, allocations: 87.97 kB / 443.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.3873, allocations: 156.8 kB / 443.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.3876, allocations: 167 kB / 443.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.82e-05/0.3877, allocations: 26.53 kB / 443.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.643e-05/0.3878, allocations: 25.84 kB / 443.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.388, allocations: 120.4 kB / 443.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.3882, allocations: 172 kB / 443.8 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.3886, allocations: 352.9 kB / 444.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3886, allocations: 0 / 444.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3886, allocations: 1.969 kB / 444.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.3887, allocations: 0 / 444.2 MB, free: 2.703 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001113/0.3898, allocations: 0.7116 MB / 444.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3898, allocations: 13.11 kB / 444.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.3899, allocations: 47 kB / 445 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.3904, allocations: 390.4 kB / 445.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.3905, allocations: 26.22 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-05/0.3905, allocations: 38.58 kB / 445.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007121/0.3913, allocations: 398.3 kB / 445.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.3913, allocations: 5.906 kB / 445.8 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.3913, allocations: 16.41 kB / 445.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.3914, allocations: 8.188 kB / 445.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.3919, allocations: 295 kB / 446.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.3941, allocations: 1.498 MB / 447.6 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.3946, allocations: 179.7 kB / 447.8 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.3948, allocations: 115.2 kB / 447.9 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.3949, allocations: 6.812 kB / 447.9 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3949, allocations: 31.88 kB / 447.9 MB, free: 264 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.403e-06/0.3949, allocations: 1 kB / 447.9 MB, free: 264 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006891/0.3956, allocations: 324.2 kB / 448.2 MB, free: 92 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.3956, allocations: 53.81 kB / 448.3 MB, free: 28 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/0.3962, allocations: 395.3 kB / 448.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.3962, allocations: 30.92 kB / 448.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.3964, allocations: 239.8 kB / 448.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.3965, allocations: 85.72 kB / 449 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.3966, allocations: 76.44 kB / 449.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.3969, allocations: 354 kB / 449.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.3971, allocations: 94.16 kB / 449.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.3974, allocations: 213.4 kB / 449.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.3989, allocations: 0.5775 MB / 450.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3989, allocations: 1.156 kB / 450.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007098/0.3996, allocations: 413.7 kB / 450.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3996, allocations: 10.19 kB / 450.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.3996, allocations: 4.344 kB / 450.7 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.3997, allocations: 8.844 kB / 450.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.4, allocations: 87.02 kB / 450.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.4, allocations: 10.14 kB / 450.9 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.4002, allocations: 46.59 kB / 450.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.4002, allocations: 20.97 kB / 450.9 MB, free: 14.15 MB / 334.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002846/0.4005, allocations: 192.1 kB / 451.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.4006, allocations: 42.78 kB / 451.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/0.4012, allocations: 292.5 kB / 451.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4012, allocations: 2.75 kB / 451.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4012, allocations: 1.375 kB / 451.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4012, allocations: 0 / 451.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.4017, allocations: 379 kB / 451.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4018, allocations: 1.281 kB / 451.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.4021, allocations: 61.27 kB / 451.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.4021, allocations: 5.094 kB / 451.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.4021, allocations: 11.17 kB / 451.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.4021, allocations: 1.125 kB / 451.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4021, allocations: 5 kB / 451.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/0.4029, allocations: 470.3 kB / 452.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.26e-05/0.403, allocations: 120.5 kB / 452.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.4031, allocations: 10.94 kB / 452.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.4032, allocations: 11.14 kB / 452.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.4033, allocations: 23.17 kB / 452.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.4033, allocations: 4.438 kB / 452.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.4036, allocations: 273.4 kB / 452.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4036, allocations: 0 / 452.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.404, allocations: 65.47 kB / 452.8 MB, free: 12.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00015/0.4042, allocations: 117.8 kB / 453 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005497/0.4047, allocations: 263 kB / 453.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4047, allocations: 0.9375 kB / 453.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.405, allocations: 112.2 kB / 453.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.4054, allocations: 39.17 kB / 453.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.4068, allocations: 0.7619 MB / 454.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.4074, allocations: 0.8278 MB / 455 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.4076, allocations: 80.94 kB / 455 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.154e-05/0.4077, allocations: 27.59 kB / 455.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4077, allocations: 0 / 455.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of Templates: time 0.007931/0.4156, allocations: 2.328 MB / 457.4 MB, free: 10.04 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)