Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001288, allocations: 110 kB / 16.27 MB, free: 6.355 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.001337/0.001337, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.231/1.231, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05716/0.05716, allocations: 10.73 MB / 281.2 MB, free: 1.375 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.00154/0.00154, allocations: 64.12 kB / 341.2 MB, free: 5.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.201, allocations: 49.01 MB / 390.2 MB, free: 49.63 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.002974/0.2041, allocations: 2.186 MB / 392.4 MB, free: 48.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.2056, allocations: 1.03 MB / 393.4 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.2058, allocations: 14.84 kB / 393.4 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.2061, allocations: 90.95 kB / 393.5 MB, free: 47.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.2062, allocations: 66.92 kB / 393.6 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008069/0.2071, allocations: 317.3 kB / 393.9 MB, free: 47.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005448/0.2076, allocations: 0.594 MB / 394.5 MB, free: 46.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2078, allocations: 86.25 kB / 394.6 MB, free: 46.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.208, allocations: 208.2 kB / 394.8 MB, free: 46.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.2084, allocations: 248.2 kB / 395 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.078e-05/0.2085, allocations: 33.56 kB / 395.1 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.2087, allocations: 113.2 kB / 395.2 MB, free: 46.63 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.2088, allocations: 157.5 kB / 395.3 MB, free: 46.56 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.209, allocations: 217.8 kB / 395.5 MB, free: 46.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004896/0.2095, allocations: 495.3 kB / 396 MB, free: 46.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2095, allocations: 1.375 kB / 396 MB, free: 46.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2095, allocations: 0 / 396 MB, free: 46.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.2095, allocations: 0 / 396 MB, free: 46.21 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001205/0.2107, allocations: 0.8534 MB / 396.9 MB, free: 45.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2108, allocations: 14.27 kB / 396.9 MB, free: 45.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.893e-05/0.2109, allocations: 64.34 kB / 397 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/0.2114, allocations: 417.7 kB / 397.4 MB, free: 45.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.2114, allocations: 28.97 kB / 397.4 MB, free: 45.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.2115, allocations: 49.09 kB / 397.4 MB, free: 45.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.2122, allocations: 0.5014 MB / 397.9 MB, free: 44.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.2123, allocations: 8.797 kB / 398 MB, free: 44.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.2123, allocations: 19.91 kB / 398 MB, free: 44.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.2123, allocations: 13.25 kB / 398 MB, free: 44.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.213, allocations: 390.8 kB / 398.4 MB, free: 44.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.2153, allocations: 1.802 MB / 400.2 MB, free: 43.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.2158, allocations: 270.8 kB / 400.4 MB, free: 43.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.216, allocations: 177.9 kB / 400.6 MB, free: 43.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.2161, allocations: 6.703 kB / 400.6 MB, free: 43.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003264/0.2164, allocations: 249.5 kB / 400.9 MB, free: 43.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.894e-06/0.2164, allocations: 5.344 kB / 400.9 MB, free: 43.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.0008944/0.2173, allocations: 0.578 MB / 401.4 MB, free: 42.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.2174, allocations: 85.94 kB / 401.5 MB, free: 42.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.2178, allocations: 499.2 kB / 402 MB, free: 42.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.2178, allocations: 30.73 kB / 402 MB, free: 42.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.218, allocations: 274.6 kB / 402.3 MB, free: 42.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.218, allocations: 148.7 kB / 402.5 MB, free: 42.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.2182, allocations: 102.1 kB / 402.6 MB, free: 41.99 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.2183, allocations: 373.8 kB / 402.9 MB, free: 41.63 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.2185, allocations: 163.1 kB / 403.1 MB, free: 41.56 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.2188, allocations: 331 kB / 403.4 MB, free: 41.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.2206, allocations: 1.082 MB / 404.5 MB, free: 40.53 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2206, allocations: 1.594 kB / 404.5 MB, free: 40.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009065/0.2216, allocations: 0.7236 MB / 405.2 MB, free: 40.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.2216, allocations: 44.44 kB / 405.3 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.2216, allocations: 4.406 kB / 405.3 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.2216, allocations: 8.594 kB / 405.3 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.2221, allocations: 132.3 kB / 405.4 MB, free: 40.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.2221, allocations: 12.55 kB / 405.4 MB, free: 40.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.2224, allocations: 60.55 kB / 405.5 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.2224, allocations: 24.19 kB / 405.5 MB, free: 40.04 MB / 318.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * 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.0002894/0.2227, allocations: 289.2 kB / 405.8 MB, free: 39.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.2228, allocations: 47.78 kB / 405.8 MB, free: 39.78 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007326/0.2235, allocations: 0.5272 MB / 406.3 MB, free: 39.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2235, allocations: 3.438 kB / 406.4 MB, free: 39.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2236, allocations: 0 / 406.4 MB, free: 39.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2236, allocations: 0 / 406.4 MB, free: 39.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.2239, allocations: 482.4 kB / 406.8 MB, free: 39.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.224, allocations: 1.438 kB / 406.8 MB, free: 39.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/0.2244, allocations: 90.34 kB / 406.9 MB, free: 39.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2244, allocations: 2.188 kB / 406.9 MB, free: 39.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/0.2245, allocations: 15.91 kB / 406.9 MB, free: 39.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2245, allocations: 1 kB / 406.9 MB, free: 39.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2245, allocations: 8.953 kB / 406.9 MB, free: 39.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000902/0.2254, allocations: 0.7018 MB / 407.6 MB, free: 38.67 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.2255, allocations: 137.6 kB / 407.8 MB, free: 38.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.2255, allocations: 18.5 kB / 407.8 MB, free: 38.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.2257, allocations: 16.3 kB / 407.8 MB, free: 38.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.2258, allocations: 21.78 kB / 407.8 MB, free: 38.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.2258, allocations: 16.98 kB / 407.8 MB, free: 38.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002659/0.2261, allocations: 339.5 kB / 408.2 MB, free: 38.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2261, allocations: 0 / 408.2 MB, free: 38.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003895/0.2265, allocations: 107.8 kB / 408.3 MB, free: 38.09 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.000163/0.2266, allocations: 152.8 kB / 408.4 MB, free: 37.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006699/0.2273, allocations: 0.6065 MB / 409 MB, free: 37.31 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2273, allocations: 0 / 409 MB, free: 37.31 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.2276, allocations: 275.1 kB / 409.3 MB, free: 37.03 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.2279, allocations: 55.3 kB / 409.4 MB, free: 36.98 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.229, allocations: 1.151 MB / 410.5 MB, free: 35.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.2293, allocations: 0.8859 MB / 411.4 MB, free: 34.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.817e-05/0.2294, allocations: 39.44 kB / 411.4 MB, free: 34.84 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2294, allocations: 0 / 411.4 MB, free: 34.84 MB / 318.1 MB Notification: Performance of Templates: time 0.00628/0.2357, allocations: 5.948 MB / 417.4 MB, free: 28.9 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1)