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.001287/0.001287, allocations: 107.7 kB / 16.41 MB, free: 6.504 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.001623/0.001623, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.353/1.353, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05939/0.05939, allocations: 10.73 MB / 281.3 MB, free: 1.281 MB / 222.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.001552/0.001553, allocations: 63.48 kB / 391.5 MB, free: 46.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07494/0.0765, allocations: 49.03 MB / 440.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002553/0.0791, allocations: 2.115 MB / 442.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008153/0.07993, allocations: 0.5298 MB / 443.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.08008, allocations: 15.88 kB / 443.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.08027, allocations: 47.47 kB / 443.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.718e-05/0.08037, allocations: 43.61 kB / 443.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.08089, allocations: 255.5 kB / 443.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.08126, allocations: 0.5116 MB / 444 MB, free: 280 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.08142, allocations: 92.58 kB / 444.1 MB, free: 188 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.08157, allocations: 175.4 kB / 444.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.08181, allocations: 183.1 kB / 444.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.469e-05/0.08189, allocations: 32 kB / 444.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.734e-05/0.08194, allocations: 28 kB / 444.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.08208, allocations: 135.6 kB / 444.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.08222, allocations: 170.8 kB / 444.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.08255, allocations: 370.6 kB / 445.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.08256, allocations: 0 / 445.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.08257, allocations: 0 / 445.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.08258, allocations: 3.938 kB / 445.2 MB, free: 15.11 MB / 334.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.001047/0.08363, allocations: 0.7134 MB / 445.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.08367, allocations: 15.89 kB / 445.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.879e-05/0.08376, allocations: 48.28 kB / 446 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.08425, allocations: 383.8 kB / 446.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.08429, allocations: 25.38 kB / 446.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.08435, allocations: 40.28 kB / 446.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/0.08504, allocations: 420.5 kB / 446.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.08507, allocations: 12.12 kB / 446.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.08512, allocations: 23.94 kB / 446.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.08513, allocations: 8 kB / 446.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005451/0.08568, allocations: 310.3 kB / 447.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.08786, allocations: 1.528 MB / 448.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.08859, allocations: 226.5 kB / 448.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.0888, allocations: 124.8 kB / 449.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.08884, allocations: 0 / 449.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.08887, allocations: 42.5 kB / 449.1 MB, free: 11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.425e-06/0.08888, allocations: 0 / 449.1 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006571/0.08954, allocations: 357.4 kB / 449.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.08957, allocations: 51.41 kB / 449.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.08997, allocations: 409.5 kB / 449.9 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.09, allocations: 25.7 kB / 449.9 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.09015, allocations: 239.9 kB / 450.2 MB, free: 9.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.09022, allocations: 106.5 kB / 450.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.09033, allocations: 73.69 kB / 450.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.09045, allocations: 350.8 kB / 450.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.09065, allocations: 104.4 kB / 450.8 MB, free: 9.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.09095, allocations: 224.2 kB / 451 MB, free: 8.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.09282, allocations: 0.6746 MB / 451.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.09283, allocations: 0 / 451.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006916/0.09353, allocations: 452.4 kB / 452.1 MB, free: 7.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.09356, allocations: 11.94 kB / 452.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.09358, allocations: 8.406 kB / 452.1 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.0936, allocations: 8 kB / 452.1 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.09402, allocations: 103.9 kB / 452.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.09404, allocations: 7.938 kB / 452.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.09423, allocations: 51.52 kB / 452.3 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.09427, allocations: 20 kB / 452.3 MB, free: 7.613 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.0002353/0.09451, allocations: 203.5 kB / 452.5 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.09458, allocations: 39.47 kB / 452.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006017/0.09519, allocations: 337.3 kB / 452.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.09521, allocations: 0 / 452.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.09521, allocations: 0 / 452.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.09531, allocations: 120.6 kB / 453 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.09536, allocations: 12 kB / 453 MB, free: 6.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.09555, allocations: 11.98 kB / 453 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.09562, allocations: 15.97 kB / 453 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009209/0.09654, allocations: 449.2 kB / 453.5 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008555/0.09741, allocations: 0.6394 MB / 454.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002255/0.09765, allocations: 139.9 kB / 454.3 MB, free: 5.613 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002851/0.09794, allocations: 275.1 kB / 454.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of Backend: time 6.91e-07/0.09796, allocations: 0 / 454.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007009/0.09866, allocations: 308.1 kB / 454.8 MB, free: 5.039 MB / 334.1 MB Notification: Performance of SimCode: time 0.001198/0.09987, allocations: 1.233 MB / 456.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of Templates: time 0.00715/0.107, allocations: 3.282 MB / 459.3 MB, free: 492 kB / 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)