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.0128/0.0128, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.002063/0.002063, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.795/1.795, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05817/0.05817, allocations: 10.74 MB / 280.6 MB, free: 1.293 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.001457/0.001457, allocations: 70.47 kB / 390.8 MB, free: 45.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1185, allocations: 49.03 MB / 439.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002981/0.1215, allocations: 2.181 MB / 442 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1227, allocations: 0.6823 MB / 442.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.1229, allocations: 15.88 kB / 442.7 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.1232, allocations: 55.41 kB / 442.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.1234, allocations: 47.48 kB / 442.8 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.124, allocations: 331.3 kB / 443.2 MB, free: 496 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.1245, allocations: 0.5782 MB / 443.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.1248, allocations: 92.92 kB / 443.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.1251, allocations: 219.3 kB / 444 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.1255, allocations: 207 kB / 444.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.1255, allocations: 32 kB / 444.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.607e-05/0.1256, allocations: 32 kB / 444.3 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.1258, allocations: 143.6 kB / 444.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.1259, allocations: 206.6 kB / 444.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.1264, allocations: 402.5 kB / 445 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.729e-06/0.1264, allocations: 0 / 445 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1264, allocations: 3.938 kB / 445 MB, free: 14.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1264, allocations: 0 / 445 MB, free: 14.59 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001694/0.1282, allocations: 0.7833 MB / 445.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.1282, allocations: 15.89 kB / 445.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.1283, allocations: 52.28 kB / 445.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.129, allocations: 425.9 kB / 446.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-05/0.1291, allocations: 88.95 kB / 446.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/0.1292, allocations: 48.28 kB / 446.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007258/0.1299, allocations: 465.2 kB / 446.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.13, allocations: 7.938 kB / 446.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.13, allocations: 12 kB / 446.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.13, allocations: 8 kB / 446.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006048/0.1306, allocations: 359.6 kB / 447.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.1333, allocations: 1.686 MB / 449 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.1342, allocations: 302.5 kB / 449.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.1345, allocations: 177.3 kB / 449.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.1345, allocations: 8.219 kB / 449.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1345, allocations: 42.78 kB / 449.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.1345, allocations: 0 / 449.5 MB, free: 9.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008498/0.1354, allocations: 443.9 kB / 449.9 MB, free: 9.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.975e-05/0.1355, allocations: 55.41 kB / 450 MB, free: 9.422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.136, allocations: 421.8 kB / 450.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.136, allocations: 33.7 kB / 450.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.1363, allocations: 251.9 kB / 450.7 MB, free: 8.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.1364, allocations: 130.2 kB / 450.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.1365, allocations: 82.12 kB / 450.9 MB, free: 8.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1367, allocations: 358.8 kB / 451.2 MB, free: 8.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.137, allocations: 128.9 kB / 451.3 MB, free: 8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.1373, allocations: 258.6 kB / 451.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.1394, allocations: 0.7967 MB / 452.4 MB, free: 6.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1394, allocations: 7.875 kB / 452.4 MB, free: 6.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007639/0.1401, allocations: 0.5089 MB / 452.9 MB, free: 6.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.1402, allocations: 13.97 kB / 452.9 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1402, allocations: 4 kB / 452.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.1402, allocations: 4 kB / 452.9 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.1407, allocations: 123.8 kB / 453.1 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.1407, allocations: 8 kB / 453.1 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.1409, allocations: 51.52 kB / 453.1 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.141, allocations: 20.22 kB / 453.1 MB, free: 6.109 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 (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.0002712/0.1412, allocations: 195.5 kB / 453.3 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.1413, allocations: 47.45 kB / 453.4 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000705/0.142, allocations: 405.6 kB / 453.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.142, allocations: 4 kB / 453.8 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.1421, allocations: 4 kB / 453.8 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1421, allocations: 3.984 kB / 453.8 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.1426, allocations: 449.1 kB / 454.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1426, allocations: 0 / 454.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005122/0.1431, allocations: 99.88 kB / 454.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1431, allocations: 3.938 kB / 454.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.1432, allocations: 15.98 kB / 454.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1432, allocations: 0 / 454.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1432, allocations: 4 kB / 454.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008502/0.1441, allocations: 0.6133 MB / 455 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.1442, allocations: 128.4 kB / 455.1 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.1442, allocations: 15.92 kB / 455.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1444, allocations: 15.98 kB / 455.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.1445, allocations: 19.97 kB / 455.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1445, allocations: 12 kB / 455.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002761/0.1448, allocations: 287.1 kB / 455.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.305e-06/0.1448, allocations: 0 / 455.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003467/0.1451, allocations: 83.78 kB / 455.5 MB, free: 3.641 MB / 334.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.0001385/0.1453, allocations: 111.2 kB / 455.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006172/0.1459, allocations: 368.1 kB / 456 MB, free: 3.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1459, allocations: 4.188 kB / 456 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.1462, allocations: 175.8 kB / 456.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1466, allocations: 41.55 kB / 456.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1481, allocations: 0.9428 MB / 457.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.1487, allocations: 0.8469 MB / 458 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002292/0.1489, allocations: 95.34 kB / 458.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.149, allocations: 35.44 kB / 458.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.149, allocations: 4 kB / 458.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of Templates: time 0.007533/0.1566, allocations: 2.911 MB / 461 MB, free: 14.06 MB / 350.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile (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)