Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 105.4 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.001008/0.001008, allocations: 189.8 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.249/1.249, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05626/0.05626, allocations: 10.73 MB / 281.2 MB, free: 1.371 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.001355/0.001355, allocations: 79.88 kB / 341.2 MB, free: 5.191 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1987, allocations: 49.01 MB / 390.2 MB, free: 49.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002751/0.2015, allocations: 2.094 MB / 392.3 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008385/0.2024, allocations: 496.5 kB / 392.8 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2025, allocations: 12.94 kB / 392.8 MB, free: 47.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.2027, allocations: 50.81 kB / 392.9 MB, free: 47.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.377e-05/0.2028, allocations: 40.56 kB / 392.9 MB, free: 47.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.2032, allocations: 236.2 kB / 393.1 MB, free: 47.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004387/0.2037, allocations: 0.4928 MB / 393.6 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.2039, allocations: 87.16 kB / 393.7 MB, free: 47.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.204, allocations: 162.8 kB / 393.9 MB, free: 47.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.2042, allocations: 180.6 kB / 394 MB, free: 47.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.2043, allocations: 27.5 kB / 394.1 MB, free: 47.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.909e-05/0.2044, allocations: 28.69 kB / 394.1 MB, free: 47.26 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.2045, allocations: 122.6 kB / 394.2 MB, free: 47.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.2046, allocations: 175.2 kB / 394.4 MB, free: 47.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.2049, allocations: 353.6 kB / 394.7 MB, free: 46.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.205, allocations: 0.6562 kB / 394.7 MB, free: 46.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.205, allocations: 5.25 kB / 394.7 MB, free: 46.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.205, allocations: 3.938 kB / 394.7 MB, free: 46.91 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009889/0.206, allocations: 0.7238 MB / 395.5 MB, free: 46.35 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.206, allocations: 14.67 kB / 395.5 MB, free: 46.35 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.927e-05/0.2061, allocations: 50.88 kB / 395.5 MB, free: 46.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.2065, allocations: 357.2 kB / 395.9 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.2065, allocations: 84.44 kB / 396 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.626e-05/0.2066, allocations: 36.31 kB / 396 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005783/0.2072, allocations: 418.8 kB / 396.4 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.2072, allocations: 9.938 kB / 396.4 MB, free: 45.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.2073, allocations: 16.09 kB / 396.4 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.2073, allocations: 7.594 kB / 396.4 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.2078, allocations: 300.8 kB / 396.7 MB, free: 45.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.2098, allocations: 1.566 MB / 398.3 MB, free: 44.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.2102, allocations: 184.8 kB / 398.5 MB, free: 44.56 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.2104, allocations: 129.6 kB / 398.6 MB, free: 44.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.2104, allocations: 3.281 kB / 398.6 MB, free: 44.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.2104, allocations: 33.02 kB / 398.6 MB, free: 44.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.2104, allocations: 0 / 398.6 MB, free: 44.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006067/0.211, allocations: 342 kB / 399 MB, free: 44.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.2111, allocations: 54.36 kB / 399 MB, free: 44.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.2114, allocations: 396.8 kB / 399.4 MB, free: 44.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2115, allocations: 33.45 kB / 399.4 MB, free: 44.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2116, allocations: 233.6 kB / 399.7 MB, free: 43.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.2116, allocations: 88.59 kB / 399.8 MB, free: 43.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.2117, allocations: 71.3 kB / 399.8 MB, free: 43.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.2118, allocations: 358 kB / 400.2 MB, free: 43.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.212, allocations: 102 kB / 400.3 MB, free: 43.31 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.2122, allocations: 215.6 kB / 400.5 MB, free: 43.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.2135, allocations: 0.6287 MB / 401.1 MB, free: 42.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2135, allocations: 5.203 kB / 401.1 MB, free: 42.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005878/0.2141, allocations: 429.1 kB / 401.5 MB, free: 42.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2142, allocations: 10.44 kB / 401.6 MB, free: 42.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2142, allocations: 3.656 kB / 401.6 MB, free: 42.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2142, allocations: 5.781 kB / 401.6 MB, free: 42.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.2146, allocations: 104.6 kB / 401.7 MB, free: 42.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.2146, allocations: 5.75 kB / 401.7 MB, free: 42.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.2148, allocations: 50.14 kB / 401.7 MB, free: 42.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.2148, allocations: 20.88 kB / 401.7 MB, free: 42.4 MB / 318.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 (48): * Single equations (assignments): 48 * 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.0001785/0.215, allocations: 201 kB / 401.9 MB, free: 42.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.215, allocations: 35 kB / 402 MB, free: 42.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.2155, allocations: 299.6 kB / 402.3 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2155, allocations: 2.219 kB / 402.3 MB, free: 42.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2156, allocations: 4 kB / 402.3 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2156, allocations: 3.938 kB / 402.3 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.2159, allocations: 392.9 kB / 402.7 MB, free: 41.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2159, allocations: 0 / 402.7 MB, free: 41.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.2163, allocations: 69.86 kB / 402.7 MB, free: 41.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.2163, allocations: 2.125 kB / 402.7 MB, free: 41.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.2164, allocations: 11.33 kB / 402.7 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2164, allocations: 5.156 kB / 402.7 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2164, allocations: 0 / 402.7 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005961/0.217, allocations: 497.6 kB / 403.2 MB, free: 41.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.2171, allocations: 117.4 kB / 403.3 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.2171, allocations: 7.5 kB / 403.4 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.2172, allocations: 13.91 kB / 403.4 MB, free: 41.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.2173, allocations: 27.05 kB / 403.4 MB, free: 41.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.2173, allocations: 8.328 kB / 403.4 MB, free: 41.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002137/0.2175, allocations: 278.8 kB / 403.7 MB, free: 41.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2175, allocations: 0 / 403.7 MB, free: 41.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003334/0.2179, allocations: 62.78 kB / 403.7 MB, free: 41 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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 8.691e-05/0.218, allocations: 105.4 kB / 403.8 MB, free: 40.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004909/0.2185, allocations: 323.7 kB / 404.2 MB, free: 40.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2185, allocations: 1.469 kB / 404.2 MB, free: 40.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.2187, allocations: 118.9 kB / 404.3 MB, free: 40.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.219, allocations: 41.5 kB / 404.3 MB, free: 40.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009665/0.22, allocations: 0.8403 MB / 405.2 MB, free: 40.13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.2202, allocations: 0.8458 MB / 406 MB, free: 39.35 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.914e-05/0.2203, allocations: 29.09 kB / 406 MB, free: 39.34 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2203, allocations: 1.094 kB / 406 MB, free: 39.34 MB / 318.1 MB Notification: Performance of Templates: time 0.004952/0.2253, allocations: 4.291 MB / 410.3 MB, free: 36.14 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)