Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008409/0.0008409, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001908, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008824/0.0008824, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002246, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9978/0.9978, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09217/1.09, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04165/0.04165, allocations: 9.788 MB / 253.7 MB, free: 5.609 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006794/0.04845, allocations: 3.491 MB / 257.2 MB, free: 2.113 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 258.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.726e-05, allocations: 2.312 kB / 258.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift): time 0.001628/0.001645, allocations: 1.279 MB / 259.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006679/0.002313, allocations: 480.1 kB / 260.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.002432, allocations: 23.75 kB / 260.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.116e-05/0.002513, allocations: 63.33 kB / 260.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.407e-05/0.002547, allocations: 19.75 kB / 260.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.002891, allocations: 199.5 kB / 260.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.003159, allocations: 305.3 kB / 260.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.003293, allocations: 58.84 kB / 260.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.003435, allocations: 159.5 kB / 261.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.003548, allocations: 71.7 kB / 261.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.003574, allocations: 20 kB / 261.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.003656, allocations: 35.98 kB / 261.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.46e-05/0.003691, allocations: 43.8 kB / 261.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.003736, allocations: 55.81 kB / 261.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.003924, allocations: 179.1 kB / 261.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-05/0.003938, allocations: 0 / 261.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003939, allocations: 0 / 261.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.003954, allocations: 0 / 261.5 MB, free: 13.86 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005941/0.004548, allocations: 0.5348 MB / 262 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.004579, allocations: 8.031 kB / 262 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.004635, allocations: 48.91 kB / 262.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.004926, allocations: 276.9 kB / 262.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.004983, allocations: 76.56 kB / 262.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.005015, allocations: 32.33 kB / 262.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.005249, allocations: 290.2 kB / 262.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.005261, allocations: 4.172 kB / 262.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.005276, allocations: 16.38 kB / 262.7 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.005284, allocations: 12.12 kB / 262.8 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.823e-05/0.005372, allocations: 80.91 kB / 262.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007971/0.006169, allocations: 1.335 MB / 264.2 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.006349, allocations: 74.53 kB / 264.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.00638, allocations: 28.84 kB / 264.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.006403, allocations: 8 kB / 264.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.00651, allocations: 93.86 kB / 264.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.006512, allocations: 4 kB / 264.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.000154/0.006666, allocations: 117.5 kB / 264.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.006715, allocations: 106.8 kB / 264.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.006849, allocations: 274.8 kB / 264.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.006863, allocations: 25.7 kB / 264.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.006945, allocations: 192.3 kB / 265.1 MB, free: 10 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.006974, allocations: 59.52 kB / 265.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.00703, allocations: 73.59 kB / 265.2 MB, free: 9.867 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.007107, allocations: 342.7 kB / 265.5 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/0.007132, allocations: 24.31 kB / 265.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.007233, allocations: 214.4 kB / 265.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.007425, allocations: 301.2 kB / 266.1 MB, free: 8.812 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.007429, allocations: 4 kB / 266.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001957/0.007625, allocations: 224.9 kB / 266.3 MB, free: 8.582 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.007637, allocations: 8 kB / 266.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.007643, allocations: 8.844 kB / 266.3 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.007654, allocations: 8 kB / 266.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.007803, allocations: 75.84 kB / 266.4 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.007811, allocations: 11.98 kB / 266.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.007885, allocations: 31.78 kB / 266.4 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.007897, allocations: 20 kB / 266.4 MB, free: 8.422 MB / 266.7 MB Warning: Assuming fixed start value for the following 2 variables: Id.satin:DISCRETE(fixed = true ) \"input of the saturation block\" type: Real Id.Iout:DISCRETE(fixed = true ) \"output of the Integral block\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 19 (Id.CS,$PRE.Id.CS,$PRE.Id.satin,Id.satin,$PRE.Id.Iout,Id.Iout,$whenCondition1,Ic.ATreq_in,Ic.satHIGH_in,Ic.satLOW_in,Ic_AW.ATreq_in,Ic_AW.satHIGH_in,Ic_AW.satLOW_in,Id.ATreq_in,Id.satHIGH_in,Id.satLOW_in,Ic.TS_in,Ic_AW.TS_in,Id.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001036/0.008001, allocations: 141.6 kB / 266.6 MB, free: 8.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.008021, allocations: 20.39 kB / 266.6 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.741e-05/0.008118, allocations: 87.38 kB / 266.7 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.00812, allocations: 0 / 266.7 MB, free: 8.156 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.008122, allocations: 4 kB / 266.7 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.008126, allocations: 3.984 kB / 266.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.008479, allocations: 490.7 kB / 267.2 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.008482, allocations: 4 kB / 267.2 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.558e-05/0.008568, allocations: 28.08 kB / 267.2 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.008585, allocations: 27.75 kB / 267.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.00859, allocations: 4 kB / 267.2 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.008601, allocations: 7.984 kB / 267.2 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.008606, allocations: 4.125 kB / 267.3 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.008608, allocations: 4 kB / 267.3 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.00882, allocations: 382.2 kB / 267.6 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.008836, allocations: 7.938 kB / 267.6 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.008911, allocations: 8 kB / 267.6 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.008931, allocations: 15.95 kB / 267.7 MB, free: 7.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.008938, allocations: 7.984 kB / 267.7 MB, free: 7.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.008986, allocations: 80.64 kB / 267.7 MB, free: 7.047 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008986, allocations: 0 / 267.7 MB, free: 7.047 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.009239, allocations: 55.88 kB / 267.8 MB, free: 6.992 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (Ic_AW.Iout,Ic.Iout) * Number of discrete variables: 4 ($whenCondition1,Id.CS,Id.Iout,Id.satin) * Number of discrete states: 4 (Id.SP,Id.PV,Id.CS,Id.bias) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000118/0.009357, allocations: 92.36 kB / 267.9 MB, free: 6.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.009501, allocations: 137.2 kB / 268 MB, free: 6.758 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.00951, allocations: 4 kB / 268 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.009546, allocations: 36.78 kB / 268.1 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.009817, allocations: 53.61 kB / 268.1 MB, free: 6.664 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.01025, allocations: 455.6 kB / 268.6 MB, free: 6.184 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.311e-05/0.01031, allocations: 88.25 kB / 268.6 MB, free: 6.078 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.39e-05/0.01037, allocations: 38.89 kB / 268.7 MB, free: 6.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.01044, allocations: 79.38 kB / 268.8 MB, free: 5.961 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01044, allocations: 4 kB / 268.8 MB, free: 5.957 MB / 266.7 MB Notification: Performance of Templates: time 0.003749/0.01419, allocations: 1.8 MB / 270.6 MB, free: 4.188 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestI_biasNoDrift.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6074912613257766]