Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008106/0.008106, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.785/1.785, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05649/0.05649, allocations: 10.74 MB / 281.5 MB, free: 10.45 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.0005297/0.0005296, allocations: 16 kB / 342.2 MB, free: 23.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1166, allocations: 50.01 MB / 392.2 MB, free: 5.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003069/0.1197, allocations: 1.87 MB / 394.1 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1214, allocations: 0.6668 MB / 394.8 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.1218, allocations: 19.81 kB / 394.8 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1221, allocations: 43.66 kB / 394.8 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.1225, allocations: 27.73 kB / 394.9 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.1236, allocations: 295.5 kB / 395.2 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009881/0.1246, allocations: 0.5351 MB / 395.7 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.1248, allocations: 92.98 kB / 395.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/0.1252, allocations: 183.1 kB / 396 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.1256, allocations: 195 kB / 396.2 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.72e-05/0.1256, allocations: 16 kB / 396.2 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.595e-05/0.1257, allocations: 12 kB / 396.2 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.1259, allocations: 119.6 kB / 396.3 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.1261, allocations: 196.5 kB / 396.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.1265, allocations: 382.6 kB / 396.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1265, allocations: 0 / 396.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1265, allocations: 0 / 396.9 MB, free: 0.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1265, allocations: 0 / 396.9 MB, free: 0.75 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001358/0.1279, allocations: 0.7129 MB / 397.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1279, allocations: 11.97 kB / 397.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.1281, allocations: 60.28 kB / 397.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.1286, allocations: 397.9 kB / 398 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.642e-05/0.1287, allocations: 84.97 kB / 398.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.558e-05/0.1288, allocations: 44.28 kB / 398.2 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000773/0.1296, allocations: 469.2 kB / 398.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.1296, allocations: 3.938 kB / 398.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.1297, allocations: 16 kB / 398.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1297, allocations: 12 kB / 398.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006706/0.1304, allocations: 363.7 kB / 399 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.1331, allocations: 1.709 MB / 400.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008839/0.134, allocations: 307.2 kB / 401 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.1343, allocations: 181.3 kB / 401.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.1343, allocations: 8.219 kB / 401.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1344, allocations: 42.77 kB / 401.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.1344, allocations: 4 kB / 401.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008578/0.1352, allocations: 451.1 kB / 401.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1353, allocations: 55.41 kB / 401.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000458/0.1357, allocations: 425.8 kB / 402.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1358, allocations: 29.7 kB / 402.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.136, allocations: 251.9 kB / 402.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.1361, allocations: 122.2 kB / 402.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/0.1362, allocations: 57.69 kB / 402.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1364, allocations: 358.8 kB / 403 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.1367, allocations: 136.9 kB / 403.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.137, allocations: 254.8 kB / 403.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002275/0.1393, allocations: 0.8206 MB / 404.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1393, allocations: 0 / 404.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008418/0.1401, allocations: 0.5118 MB / 404.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.1402, allocations: 11.94 kB / 404.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1402, allocations: 4.469 kB / 404.7 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1402, allocations: 8 kB / 404.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/0.1407, allocations: 127.8 kB / 404.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.1408, allocations: 4 kB / 404.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.141, allocations: 59.42 kB / 404.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.141, allocations: 23.94 kB / 404.9 MB, free: 8.328 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 (61): * Single equations (assignments): 61 * 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.0002685/0.1413, allocations: 203.6 kB / 405.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.1414, allocations: 47.38 kB / 405.2 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007434/0.1421, allocations: 413.5 kB / 405.6 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.1421, allocations: 4 kB / 405.6 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1421, allocations: 0 / 405.6 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.1422, allocations: 7.984 kB / 405.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.1427, allocations: 449.1 kB / 406 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1427, allocations: 0 / 406 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005435/0.1432, allocations: 103.9 kB / 406.1 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.1433, allocations: 3.938 kB / 406.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.646e-05/0.1433, allocations: 15.94 kB / 406.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1433, allocations: 4 kB / 406.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1433, allocations: 0 / 406.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009387/0.1443, allocations: 0.6175 MB / 406.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1444, allocations: 136.3 kB / 406.9 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.1444, allocations: 8 kB / 406.9 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.1446, allocations: 23.98 kB / 406.9 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.1447, allocations: 23.97 kB / 406.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1447, allocations: 12 kB / 406.9 MB, free: 6.176 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003019/0.145, allocations: 295 kB / 407.2 MB, free: 5.891 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1451, allocations: 0 / 407.2 MB, free: 5.891 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.1454, allocations: 79.75 kB / 407.3 MB, free: 5.812 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.0001297/0.1456, allocations: 111.9 kB / 407.4 MB, free: 5.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006312/0.1462, allocations: 383 kB / 407.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1462, allocations: 0.9375 kB / 407.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002632/0.1465, allocations: 175.5 kB / 408 MB, free: 5.148 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.1469, allocations: 41.55 kB / 408 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.1484, allocations: 1.135 MB / 409.1 MB, free: 3.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.1488, allocations: 0.8547 MB / 410 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002651/0.1491, allocations: 87.34 kB / 410.1 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.958e-05/0.1492, allocations: 39.44 kB / 410.1 MB, free: 2.938 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1492, allocations: 4 kB / 410.1 MB, free: 2.934 MB / 302.1 MB Notification: Performance of Templates: time 0.006676/0.1559, allocations: 2.633 MB / 412.8 MB, free: 308 kB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) Environment - environmentSimulation: