Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008158/0.008158, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001381/0.001381, allocations: 189.4 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.777/1.777, allocations: 205.1 MB / 222.6 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05919/0.05919, allocations: 10.74 MB / 280.6 MB, free: 10.38 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.001619/0.001619, allocations: 78.69 kB / 390.9 MB, free: 4.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4294, allocations: 49 MB / 439.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.004126/0.4336, allocations: 2.119 MB / 442 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.435, allocations: 0.5397 MB / 442.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.4352, allocations: 17.41 kB / 442.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.4356, allocations: 51.84 kB / 442.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.4357, allocations: 35.33 kB / 442.6 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009118/0.4366, allocations: 261 kB / 442.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008315/0.4375, allocations: 0.5052 MB / 443.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002661/0.4377, allocations: 76.23 kB / 443.5 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.438, allocations: 173.9 kB / 443.6 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004002/0.4384, allocations: 186.2 kB / 443.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.158e-05/0.4385, allocations: 32.06 kB / 443.8 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.681e-05/0.4386, allocations: 28.84 kB / 443.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.4389, allocations: 125.9 kB / 444 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.4391, allocations: 171.3 kB / 444.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006894/0.4398, allocations: 377.3 kB / 444.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4398, allocations: 0 / 444.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4398, allocations: 0 / 444.5 MB, free: 2.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.4399, allocations: 0 / 444.5 MB, free: 2.484 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001334/0.4412, allocations: 0.7332 MB / 445.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4412, allocations: 12.42 kB / 445.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.755e-05/0.4413, allocations: 52.39 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.4419, allocations: 384.3 kB / 445.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.4419, allocations: 27.94 kB / 445.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.442, allocations: 40.91 kB / 445.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.4428, allocations: 422.5 kB / 446.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.4428, allocations: 3.562 kB / 446.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.4429, allocations: 26.08 kB / 446.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.4429, allocations: 9.812 kB / 446.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006481/0.4435, allocations: 304.7 kB / 446.5 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.446, allocations: 1.529 MB / 448 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/0.4468, allocations: 238.1 kB / 448.3 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.4471, allocations: 118 kB / 448.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.4471, allocations: 6.359 kB / 448.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.4472, allocations: 40.78 kB / 448.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.4472, allocations: 3.938 kB / 448.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007595/0.4479, allocations: 357 kB / 448.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.448, allocations: 53.84 kB / 448.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.4484, allocations: 402.2 kB / 449.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.4485, allocations: 31.64 kB / 449.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.4487, allocations: 243.9 kB / 449.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.898e-05/0.4487, allocations: 99.53 kB / 449.6 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.4489, allocations: 76.17 kB / 449.7 MB, free: 15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.449, allocations: 358.1 kB / 450 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.4493, allocations: 103.8 kB / 450.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.4495, allocations: 222.2 kB / 450.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.4515, allocations: 0.6749 MB / 451 MB, free: 13.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4515, allocations: 1.875 kB / 451 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008167/0.4523, allocations: 453 kB / 451.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.4524, allocations: 10.81 kB / 451.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.4524, allocations: 4.125 kB / 451.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/0.4524, allocations: 5.5 kB / 451.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.4529, allocations: 104.8 kB / 451.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.4529, allocations: 10.86 kB / 451.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.4531, allocations: 54.73 kB / 451.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.4532, allocations: 13.75 kB / 451.7 MB, free: 13.67 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 (51): * Single equations (assignments): 51 * 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.0003001/0.4535, allocations: 200.7 kB / 451.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.4536, allocations: 43.91 kB / 451.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/0.4543, allocations: 342.7 kB / 452.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4543, allocations: 7.422 kB / 452.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4543, allocations: 0 / 452.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4543, allocations: 1.031 kB / 452.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005328/0.4548, allocations: 394.2 kB / 452.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4549, allocations: 4 kB / 452.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.4553, allocations: 79.34 kB / 452.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.4553, allocations: 5.344 kB / 452.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.4553, allocations: 12.28 kB / 452.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4553, allocations: 1.5 kB / 452.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4553, allocations: 3.938 kB / 452.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008524/0.4562, allocations: 0.5237 MB / 453.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4563, allocations: 121.7 kB / 453.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.4564, allocations: 11.2 kB / 453.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.4565, allocations: 15.11 kB / 453.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.4566, allocations: 16.17 kB / 453.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.4567, allocations: 9.703 kB / 453.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003259/0.457, allocations: 276.5 kB / 453.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.457, allocations: 0 / 453.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000381/0.4574, allocations: 71.56 kB / 453.8 MB, free: 12.22 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.0001545/0.4575, allocations: 111.2 kB / 453.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006739/0.4582, allocations: 307.8 kB / 454.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4582, allocations: 0 / 454.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.4585, allocations: 141.8 kB / 454.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.4591, allocations: 34.78 kB / 454.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/0.4612, allocations: 0.8357 MB / 455.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/0.462, allocations: 0.8374 MB / 456 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003389/0.4623, allocations: 84.94 kB / 456.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.4625, allocations: 30.56 kB / 456.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4625, allocations: 0 / 456.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Templates: time 0.01084/0.4733, allocations: 2.57 MB / 458.7 MB, free: 9.273 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1)