Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008139/0.008139, allocations: 100.5 kB / 15.73 MB, free: 5.988 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.001338/0.001338, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.688/1.688, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05635/0.05635, allocations: 10.73 MB / 280.6 MB, free: 10.28 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.002093/0.002093, allocations: 78.7 kB / 390.9 MB, free: 4.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.4849, allocations: 49.01 MB / 439.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.004241/0.4892, allocations: 2.084 MB / 442 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.4907, allocations: 0.4953 MB / 442.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.491, allocations: 13.38 kB / 442.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.4914, allocations: 56.69 kB / 442.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.4916, allocations: 32.23 kB / 442.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.4927, allocations: 244.6 kB / 442.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000791/0.4935, allocations: 0.4891 MB / 443.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.4938, allocations: 83.58 kB / 443.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.4942, allocations: 173.9 kB / 443.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004517/0.4946, allocations: 178.6 kB / 443.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.589e-05/0.4947, allocations: 29 kB / 443.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.715e-05/0.4948, allocations: 28.38 kB / 443.8 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.4951, allocations: 131 kB / 443.9 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.4954, allocations: 166.7 kB / 444 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008553/0.4962, allocations: 369.3 kB / 444.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.4963, allocations: 1.062 kB / 444.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4963, allocations: 0 / 444.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.4963, allocations: 0 / 444.4 MB, free: 2.562 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.001744/0.498, allocations: 0.715 MB / 445.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.735e-05/0.4981, allocations: 17.11 kB / 445.1 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.4983, allocations: 48.14 kB / 445.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00071/0.499, allocations: 383.1 kB / 445.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-05/0.4991, allocations: 81.14 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.554e-05/0.4992, allocations: 35.58 kB / 445.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008046/0.5, allocations: 414.1 kB / 446.1 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.5, allocations: 11.36 kB / 446.1 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.5001, allocations: 14.88 kB / 446.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.5001, allocations: 8.312 kB / 446.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007236/0.5008, allocations: 305 kB / 446.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.5035, allocations: 1.557 MB / 448 MB, free: 180 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.504, allocations: 186.5 kB / 448.2 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.5043, allocations: 121.2 kB / 448.3 MB, free: 12 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/0.5044, allocations: 6.359 kB / 448.3 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/0.5044, allocations: 37 kB / 448.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.963e-06/0.5045, allocations: 0 / 448.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008146/0.5053, allocations: 340.7 kB / 448.6 MB, free: 15.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.5054, allocations: 58.08 kB / 448.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.5059, allocations: 397.9 kB / 449.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.5059, allocations: 29.7 kB / 449.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.5061, allocations: 237 kB / 449.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.666e-05/0.5062, allocations: 83.16 kB / 449.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.5063, allocations: 70.86 kB / 449.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.5065, allocations: 352.9 kB / 449.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.5068, allocations: 110.3 kB / 450 MB, free: 14.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.5071, allocations: 215.7 kB / 450.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.5089, allocations: 0.6259 MB / 450.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.5089, allocations: 2.219 kB / 450.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000757/0.5097, allocations: 425.3 kB / 451.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.5097, allocations: 10.94 kB / 451.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.5097, allocations: 6.734 kB / 451.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/0.5098, allocations: 10.81 kB / 451.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.5102, allocations: 91.17 kB / 451.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.5103, allocations: 9.016 kB / 451.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.5105, allocations: 50.95 kB / 451.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.5105, allocations: 17.84 kB / 451.4 MB, free: 13.81 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 (48): * Single equations (assignments): 48 * 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.0003832/0.5109, allocations: 192 kB / 451.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.511, allocations: 35.69 kB / 451.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007572/0.5118, allocations: 309.8 kB / 451.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.5118, allocations: 2.312 kB / 451.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.5118, allocations: 1.188 kB / 451.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.5119, allocations: 7.922 kB / 451.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006319/0.5125, allocations: 392 kB / 452.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.5125, allocations: 0 / 452.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.5129, allocations: 62.17 kB / 452.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.5129, allocations: 5.609 kB / 452.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.513, allocations: 8.094 kB / 452.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.513, allocations: 5.812 kB / 452.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.513, allocations: 0 / 452.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.5138, allocations: 0.4895 MB / 452.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.514, allocations: 120.3 kB / 453 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.514, allocations: 7.5 kB / 453 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.5142, allocations: 9.703 kB / 453 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.5143, allocations: 27.03 kB / 453 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.5143, allocations: 4.688 kB / 453.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003994/0.5147, allocations: 274.7 kB / 453.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.5147, allocations: 0 / 453.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004327/0.5152, allocations: 62.78 kB / 453.4 MB, free: 12.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.0001762/0.5153, allocations: 114.6 kB / 453.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007188/0.5161, allocations: 289 kB / 453.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.5161, allocations: 0 / 453.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.5164, allocations: 127.7 kB / 453.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.5168, allocations: 42.61 kB / 453.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.5185, allocations: 0.8037 MB / 454.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.5191, allocations: 0.8343 MB / 455.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.5193, allocations: 69.39 kB / 455.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.5194, allocations: 27.44 kB / 455.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5194, allocations: 0 / 455.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of Templates: time 0.007813/0.5272, allocations: 2.414 MB / 458.1 MB, free: 9.59 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)