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.001121/0.001121, allocations: 108.5 kB / 16.41 MB, free: 6.508 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.001115/0.001115, allocations: 185.5 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.32/1.32, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05913/0.05913, allocations: 10.75 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.001442/0.001442, allocations: 61.52 kB / 391.5 MB, free: 45.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.08527, allocations: 49.04 MB / 440.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002613/0.08793, allocations: 2.095 MB / 442.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008367/0.08878, allocations: 0.5025 MB / 443.1 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.08893, allocations: 11.94 kB / 443.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.08912, allocations: 47.47 kB / 443.2 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.08923, allocations: 43.61 kB / 443.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.08975, allocations: 231.5 kB / 443.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.09012, allocations: 0.4917 MB / 444 MB, free: 380 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.09029, allocations: 84.64 kB / 444 MB, free: 296 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.09044, allocations: 171.4 kB / 444.2 MB, free: 124 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.0907, allocations: 187.1 kB / 444.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.843e-05/0.09077, allocations: 28 kB / 444.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.038e-05/0.09082, allocations: 28 kB / 444.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.09097, allocations: 131.6 kB / 444.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.09112, allocations: 166.9 kB / 444.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.09146, allocations: 358.6 kB / 445.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.09148, allocations: 7.938 kB / 445.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.09148, allocations: 0 / 445.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.0915, allocations: 4 kB / 445.1 MB, free: 15.23 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001205/0.09271, allocations: 0.7208 MB / 445.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.09276, allocations: 11.89 kB / 445.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.486e-05/0.09286, allocations: 48.38 kB / 445.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.0934, allocations: 379.6 kB / 446.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.09349, allocations: 80.62 kB / 446.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-05/0.09357, allocations: 40.36 kB / 446.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007385/0.09431, allocations: 412 kB / 446.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.09435, allocations: 7.938 kB / 446.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.09439, allocations: 16 kB / 446.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.0944, allocations: 8 kB / 446.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.09495, allocations: 306.3 kB / 447.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.09755, allocations: 1.559 MB / 448.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/0.098, allocations: 182.2 kB / 448.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.09821, allocations: 128.7 kB / 449 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.09825, allocations: 7.922 kB / 449 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.09829, allocations: 34.56 kB / 449 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.0983, allocations: 0 / 449 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006941/0.099, allocations: 338.1 kB / 449.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.09904, allocations: 51.41 kB / 449.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.09954, allocations: 401.6 kB / 449.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.09957, allocations: 33.69 kB / 449.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.09977, allocations: 232 kB / 450 MB, free: 10.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.09985, allocations: 94.64 kB / 450.1 MB, free: 9.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.09996, allocations: 70.02 kB / 450.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1001, allocations: 354.7 kB / 450.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.1003, allocations: 96.7 kB / 450.6 MB, free: 9.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.1007, allocations: 220.9 kB / 450.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.1023, allocations: 0.6206 MB / 451.5 MB, free: 8.465 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1023, allocations: 0 / 451.5 MB, free: 8.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007424/0.1031, allocations: 434.3 kB / 451.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.1031, allocations: 8 kB / 451.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1031, allocations: 4.469 kB / 451.9 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1031, allocations: 8 kB / 451.9 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003985/0.1035, allocations: 95.88 kB / 452 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.662e-05/0.1036, allocations: 15.86 kB / 452 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.1038, allocations: 55.45 kB / 452.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.1038, allocations: 16 kB / 452.1 MB, free: 7.836 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.0003163/0.1041, allocations: 188 kB / 452.3 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.94e-05/0.1042, allocations: 35.53 kB / 452.3 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006037/0.1048, allocations: 300.8 kB / 452.6 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1048, allocations: 4 kB / 452.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1048, allocations: 0 / 452.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.105, allocations: 120.5 kB / 452.7 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.445e-05/0.105, allocations: 8 kB / 452.7 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1052, allocations: 19.97 kB / 452.8 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.1053, allocations: 15.97 kB / 452.8 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009375/0.1062, allocations: 420.3 kB / 453.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007925/0.107, allocations: 0.6151 MB / 453.8 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002634/0.1073, allocations: 119.9 kB / 453.9 MB, free: 5.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002574/0.1076, allocations: 275.1 kB / 454.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of Backend: time 5.61e-07/0.1076, allocations: 0 / 454.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006812/0.1083, allocations: 288 kB / 454.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of SimCode: time 0.001519/0.1098, allocations: 1.227 MB / 455.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of Templates: time 0.00746/0.1173, allocations: 3.129 MB / 458.8 MB, free: 1 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)