Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 102 kB / 16.27 MB, free: 6.414 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.00129/0.00129, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06504/0.06504, allocations: 11.2 MB / 302.3 MB, free: 4.117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 63.89 kB / 365.3 MB, free: 5.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2148, allocations: 51.98 MB / 417.2 MB, free: 22.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002723/0.2176, allocations: 2.228 MB / 419.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.219, allocations: 1.016 MB / 420.5 MB, free: 19.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.2192, allocations: 15.88 kB / 420.5 MB, free: 19.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.2194, allocations: 88.53 kB / 420.6 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.2196, allocations: 74.5 kB / 420.7 MB, free: 19.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007207/0.2203, allocations: 339.3 kB / 421 MB, free: 18.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.2207, allocations: 0.6131 MB / 421.6 MB, free: 18.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.2209, allocations: 83.62 kB / 421.7 MB, free: 18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.2211, allocations: 215.3 kB / 421.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.2213, allocations: 242.9 kB / 422.1 MB, free: 17.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.2214, allocations: 40 kB / 422.2 MB, free: 17.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.2215, allocations: 115.9 kB / 422.3 MB, free: 17.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.2217, allocations: 151.6 kB / 422.4 MB, free: 17.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.2218, allocations: 234.5 kB / 422.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.2221, allocations: 0.5118 MB / 423.2 MB, free: 16.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2222, allocations: 0 / 423.2 MB, free: 16.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2222, allocations: 0 / 423.2 MB, free: 16.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2222, allocations: 0 / 423.2 MB, free: 16.51 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001095/0.2233, allocations: 0.8707 MB / 424 MB, free: 15.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2233, allocations: 15.89 kB / 424.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.092e-05/0.2234, allocations: 64.12 kB / 424.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.2238, allocations: 433.6 kB / 424.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.2239, allocations: 33.38 kB / 424.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.2239, allocations: 44.38 kB / 424.6 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.2246, allocations: 0.555 MB / 425.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.2246, allocations: 11.83 kB / 425.2 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.2247, allocations: 24 kB / 425.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.2247, allocations: 8 kB / 425.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005496/0.2252, allocations: 407.6 kB / 425.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002288/0.2275, allocations: 2.15 MB / 427.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.228, allocations: 282.2 kB / 428 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.2282, allocations: 176.8 kB / 428.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.2283, allocations: 4 kB / 428.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003259/0.2286, allocations: 260.9 kB / 428.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.374e-06/0.2286, allocations: 0 / 428.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.0008139/0.2294, allocations: 0.5741 MB / 429.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.2295, allocations: 93.31 kB / 429.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.2299, allocations: 0.5096 MB / 429.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.2299, allocations: 29.7 kB / 429.7 MB, free: 9.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.23, allocations: 287.8 kB / 430 MB, free: 9.402 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/0.2301, allocations: 146 kB / 430.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.2302, allocations: 110.1 kB / 430.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.2303, allocations: 374.8 kB / 430.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.2305, allocations: 169.1 kB / 430.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.2308, allocations: 358.7 kB / 431.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.2327, allocations: 1.117 MB / 432.2 MB, free: 6.945 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2327, allocations: 0 / 432.2 MB, free: 6.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008873/0.2336, allocations: 0.7494 MB / 433 MB, free: 6.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.2336, allocations: 41.69 kB / 433 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.2336, allocations: 8 kB / 433 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.2337, allocations: 8 kB / 433 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.2342, allocations: 148.4 kB / 433.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.2342, allocations: 12 kB / 433.2 MB, free: 5.965 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.2344, allocations: 71.27 kB / 433.2 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.2345, allocations: 24 kB / 433.3 MB, free: 5.871 MB / 302.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: 27 * Number of states: 0 () * Number of discrete variables: 15 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0002791/0.2348, allocations: 290.4 kB / 433.5 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.2348, allocations: 51.34 kB / 433.6 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000697/0.2355, allocations: 0.5174 MB / 434.1 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2355, allocations: 7.938 kB / 434.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2355, allocations: 0 / 434.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2356, allocations: 7.984 kB / 434.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.2359, allocations: 481 kB / 434.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2359, allocations: 0 / 434.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/0.2364, allocations: 87.88 kB / 434.7 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2364, allocations: 4 kB / 434.7 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.2365, allocations: 19.98 kB / 434.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2365, allocations: 7.938 kB / 434.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2365, allocations: 0 / 434.7 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/0.2373, allocations: 0.7123 MB / 435.4 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.2374, allocations: 128.5 kB / 435.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.2375, allocations: 23.97 kB / 435.6 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.2376, allocations: 19.92 kB / 435.6 MB, free: 3.422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.2377, allocations: 23.97 kB / 435.6 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.2377, allocations: 12 kB / 435.6 MB, free: 3.387 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002684/0.238, allocations: 346.8 kB / 436 MB, free: 3.051 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.238, allocations: 0 / 436 MB, free: 3.051 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003987/0.2384, allocations: 119.8 kB / 436.1 MB, free: 2.934 MB / 302.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.0001727/0.2386, allocations: 146.9 kB / 436.2 MB, free: 2.785 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007379/0.2393, allocations: 0.6051 MB / 436.8 MB, free: 2.168 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2393, allocations: 0 / 436.8 MB, free: 2.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.2396, allocations: 272.7 kB / 437.1 MB, free: 1.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2399, allocations: 53.92 kB / 437.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.2411, allocations: 1.182 MB / 438.3 MB, free: 0.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.2415, allocations: 0.9014 MB / 439.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.2416, allocations: 39.44 kB / 439.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.2416, allocations: 0 / 439.3 MB, free: 15.66 MB / 318.1 MB Notification: Performance of Templates: time 0.01029/0.2519, allocations: 6.128 MB / 445.4 MB, free: 9.535 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1)