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.00122/0.00122, allocations: 105.2 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.001169/0.001169, allocations: 190.9 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.227/1.227, 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.05637/0.05637, 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.001518/0.001518, allocations: 72.45 kB / 341.2 MB, free: 5.184 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1948, allocations: 49 MB / 390.2 MB, free: 49.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002855/0.1977, allocations: 2.206 MB / 392.4 MB, free: 48.11 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1988, allocations: 0.6758 MB / 393.1 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.1989, allocations: 16.19 kB / 393.1 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.1991, allocations: 62.41 kB / 393.2 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.1993, allocations: 47.95 kB / 393.2 MB, free: 47.56 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000573/0.1999, allocations: 326.8 kB / 393.5 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.2004, allocations: 0.5665 MB / 394.1 MB, free: 47.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.2006, allocations: 97.62 kB / 394.2 MB, free: 47.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.2008, allocations: 207.9 kB / 394.4 MB, free: 47.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.201, allocations: 204.7 kB / 394.6 MB, free: 46.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.016e-05/0.2011, allocations: 33 kB / 394.6 MB, free: 46.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.28e-05/0.2011, allocations: 31.62 kB / 394.7 MB, free: 46.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.2013, allocations: 147.9 kB / 394.8 MB, free: 46.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.2014, allocations: 190 kB / 395 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.2017, allocations: 401.9 kB / 395.4 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2018, allocations: 0.75 kB / 395.4 MB, free: 46.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2018, allocations: 5.375 kB / 395.4 MB, free: 46.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.2018, allocations: 0 / 395.4 MB, free: 46.52 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001114/0.2029, allocations: 0.7837 MB / 396.2 MB, free: 45.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.2029, allocations: 12.86 kB / 396.2 MB, free: 45.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.488e-05/0.203, allocations: 54.91 kB / 396.2 MB, free: 45.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.2035, allocations: 406.1 kB / 396.6 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.653e-05/0.2035, allocations: 83.47 kB / 396.7 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.608e-05/0.2036, allocations: 42.36 kB / 396.8 MB, free: 45.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006667/0.2043, allocations: 468.6 kB / 397.2 MB, free: 45.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.2043, allocations: 7 kB / 397.2 MB, free: 45.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.2043, allocations: 18.83 kB / 397.2 MB, free: 45.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.2044, allocations: 9.75 kB / 397.3 MB, free: 45.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005941/0.205, allocations: 353.9 kB / 397.6 MB, free: 45.17 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.2072, allocations: 1.686 MB / 399.3 MB, free: 44.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007529/0.208, allocations: 304.3 kB / 399.6 MB, free: 43.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.2082, allocations: 180 kB / 399.8 MB, free: 43.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.2083, allocations: 4.688 kB / 399.8 MB, free: 43.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.2083, allocations: 36.28 kB / 399.8 MB, free: 43.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.2083, allocations: 0 / 399.8 MB, free: 43.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.000741/0.209, allocations: 449 kB / 400.2 MB, free: 43.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.2091, allocations: 58.94 kB / 400.3 MB, free: 43.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003416/0.2094, allocations: 426.6 kB / 400.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.2095, allocations: 30.89 kB / 400.7 MB, free: 43.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2096, allocations: 250 kB / 401 MB, free: 42.97 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.2096, allocations: 132.8 kB / 401.1 MB, free: 42.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.2097, allocations: 85.91 kB / 401.2 MB, free: 42.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.2098, allocations: 358.8 kB / 401.5 MB, free: 42.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.21, allocations: 128.9 kB / 401.7 MB, free: 42.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.2103, allocations: 247.2 kB / 401.9 MB, free: 42.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.2123, allocations: 0.8095 MB / 402.7 MB, free: 41.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2123, allocations: 1.031 kB / 402.7 MB, free: 41.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006908/0.213, allocations: 0.5047 MB / 403.2 MB, free: 41.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.213, allocations: 10.75 kB / 403.2 MB, free: 41.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.213, allocations: 3.469 kB / 403.2 MB, free: 41.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.213, allocations: 6.406 kB / 403.2 MB, free: 41.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.2135, allocations: 119.2 kB / 403.4 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.2136, allocations: 10.67 kB / 403.4 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.2138, allocations: 52.2 kB / 403.4 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.2138, allocations: 23.25 kB / 403.4 MB, free: 41.34 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 (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.0002034/0.214, allocations: 207.8 kB / 403.7 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.2141, allocations: 41.94 kB / 403.7 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006328/0.2147, allocations: 417.8 kB / 404.1 MB, free: 40.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2147, allocations: 3.875 kB / 404.1 MB, free: 40.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2147, allocations: 1.25 kB / 404.1 MB, free: 40.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.2147, allocations: 4 kB / 404.1 MB, free: 40.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.2151, allocations: 447.7 kB / 404.5 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2151, allocations: 0 / 404.5 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005237/0.2157, allocations: 97.16 kB / 404.6 MB, free: 40.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2157, allocations: 5.156 kB / 404.6 MB, free: 40.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.2157, allocations: 16.3 kB / 404.7 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2157, allocations: 2.25 kB / 404.7 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2157, allocations: 0 / 404.7 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007547/0.2165, allocations: 0.6132 MB / 405.3 MB, free: 40.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.2166, allocations: 125.9 kB / 405.4 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.2166, allocations: 12.14 kB / 405.4 MB, free: 39.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.2168, allocations: 11.16 kB / 405.4 MB, free: 39.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.2169, allocations: 26.83 kB / 405.5 MB, free: 39.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.2169, allocations: 15.53 kB / 405.5 MB, free: 39.95 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002272/0.2171, allocations: 286 kB / 405.7 MB, free: 39.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2171, allocations: 5.188 kB / 405.8 MB, free: 39.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003425/0.2175, allocations: 75.78 kB / 405.8 MB, free: 39.75 MB / 318.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 9.081e-05/0.2176, allocations: 111.3 kB / 405.9 MB, free: 39.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006365/0.2182, allocations: 411.7 kB / 406.3 MB, free: 39.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2182, allocations: 0 / 406.3 MB, free: 39.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.2185, allocations: 172.5 kB / 406.5 MB, free: 39.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2188, allocations: 48.64 kB / 406.6 MB, free: 39.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.22, allocations: 0.9911 MB / 407.5 MB, free: 38.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2203, allocations: 0.8579 MB / 408.4 MB, free: 37.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.2204, allocations: 41.62 kB / 408.4 MB, free: 37.93 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2204, allocations: 4 kB / 408.4 MB, free: 37.93 MB / 318.1 MB Notification: Performance of Templates: time 0.005223/0.2256, allocations: 5.062 MB / 413.5 MB, free: 32.93 MB / 318.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)