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.001162/0.001162, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01001/0.01001, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.749/1.749, allocations: 205.4 MB / 222.4 MB, free: 5.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05508/0.05508, allocations: 10.74 MB / 281.5 MB, free: 10.67 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.0005205/0.0005206, allocations: 12.22 kB / 342.2 MB, free: 23.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1092, allocations: 50 MB / 392.2 MB, free: 5.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002393/0.1117, allocations: 1.788 MB / 394 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1128, allocations: 498.7 kB / 394.5 MB, free: 3.164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.113, allocations: 11.88 kB / 394.5 MB, free: 3.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.1133, allocations: 35.66 kB / 394.6 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.1135, allocations: 23.8 kB / 394.6 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.1143, allocations: 207.7 kB / 394.8 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007106/0.115, allocations: 487.2 kB / 395.3 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.1152, allocations: 76.64 kB / 395.3 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.1155, allocations: 147.3 kB / 395.5 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.1158, allocations: 163.2 kB / 395.6 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.375e-05/0.1159, allocations: 16 kB / 395.7 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.825e-05/0.1159, allocations: 12 kB / 395.7 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.1161, allocations: 107.6 kB / 395.8 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.1163, allocations: 176.6 kB / 395.9 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.1168, allocations: 330.9 kB / 396.3 MB, free: 1.398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1168, allocations: 0 / 396.3 MB, free: 1.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1168, allocations: 0 / 396.3 MB, free: 1.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.1168, allocations: 0 / 396.3 MB, free: 1.398 MB / 286.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.001398/0.1182, allocations: 0.6581 MB / 396.9 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1183, allocations: 12.03 kB / 396.9 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.1184, allocations: 56.28 kB / 397 MB, free: 0.625 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.119, allocations: 359.8 kB / 397.3 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.433e-05/0.1191, allocations: 76.62 kB / 397.4 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/0.1192, allocations: 44.28 kB / 397.5 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009412/0.1202, allocations: 420 kB / 397.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.1202, allocations: 11.94 kB / 397.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.1203, allocations: 12 kB / 397.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.1203, allocations: 8 kB / 397.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.1211, allocations: 306.4 kB / 398.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/0.1245, allocations: 1.575 MB / 399.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006283/0.1251, allocations: 182.9 kB / 400 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.1255, allocations: 136.8 kB / 400.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.1255, allocations: 4 kB / 400.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.1256, allocations: 38.44 kB / 400.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.824e-06/0.1256, allocations: 0 / 400.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001016/0.1266, allocations: 353 kB / 400.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.1267, allocations: 51.41 kB / 400.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/0.1273, allocations: 401.5 kB / 400.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1274, allocations: 25.7 kB / 400.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002465/0.1276, allocations: 235.9 kB / 401.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.636e-05/0.1277, allocations: 86.81 kB / 401.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.1278, allocations: 41.69 kB / 401.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.128, allocations: 358.7 kB / 401.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.1283, allocations: 104.7 kB / 401.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.1287, allocations: 224.8 kB / 402 MB, free: 11.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/0.131, allocations: 0.6405 MB / 402.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1311, allocations: 0 / 402.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009803/0.1321, allocations: 446.2 kB / 403 MB, free: 10.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.1321, allocations: 11.98 kB / 403.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.1321, allocations: 4 kB / 403.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.1322, allocations: 4 kB / 403.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.1327, allocations: 91.89 kB / 403.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/0.1328, allocations: 19.86 kB / 403.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/0.1331, allocations: 55.67 kB / 403.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.1331, allocations: 16 kB / 403.2 MB, free: 10.03 MB / 302.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.0003348/0.1335, allocations: 183.7 kB / 403.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.1336, allocations: 35.53 kB / 403.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008409/0.1344, allocations: 324.7 kB / 403.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1344, allocations: 0 / 403.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.1345, allocations: 4 kB / 403.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.1345, allocations: 11.92 kB / 403.8 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006903/0.1352, allocations: 381.3 kB / 404.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1352, allocations: 0 / 404.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/0.1358, allocations: 75.88 kB / 404.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.1358, allocations: 4 kB / 404.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.1359, allocations: 8 kB / 404.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1359, allocations: 0 / 404.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.1359, allocations: 0 / 404.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.137, allocations: 0.5064 MB / 404.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.1372, allocations: 112.6 kB / 404.9 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.1373, allocations: 12 kB / 404.9 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.1375, allocations: 15.98 kB / 404.9 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.319e-05/0.1376, allocations: 19.91 kB / 404.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.1376, allocations: 12 kB / 404.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004574/0.1381, allocations: 271.1 kB / 405.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.906e-06/0.1381, allocations: 112 / 405.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005367/0.1387, allocations: 67.78 kB / 405.3 MB, free: 7.91 MB / 302.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.0001906/0.1389, allocations: 116.2 kB / 405.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007504/0.1396, allocations: 295.9 kB / 405.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1397, allocations: 0.9375 kB / 405.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.1399, allocations: 131.7 kB / 405.8 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.1404, allocations: 41.48 kB / 405.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.1423, allocations: 0.9656 MB / 406.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007944/0.1431, allocations: 0.834 MB / 407.6 MB, free: 5.477 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003178/0.1434, allocations: 75.22 kB / 407.7 MB, free: 5.402 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1435, allocations: 27.44 kB / 407.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1435, allocations: 3.938 kB / 407.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of Templates: time 0.009373/0.1529, allocations: 2.17 MB / 409.9 MB, free: 3.203 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: