Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 108.7 kB / 16.37 MB, free: 6.48 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.001207/0.001208, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.627/1.627, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05789/0.0579, allocations: 10.74 MB / 281.3 MB, free: 1.312 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.002787/0.002788, allocations: 63.91 kB / 342 MB, free: 4.453 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3767, allocations: 49.01 MB / 391 MB, free: 49.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003458/0.3802, allocations: 2.113 MB / 393.1 MB, free: 48.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.3813, allocations: 0.5285 MB / 393.6 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.3814, allocations: 9.438 kB / 393.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.3816, allocations: 60.44 kB / 393.7 MB, free: 48.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.814e-05/0.3817, allocations: 36.67 kB / 393.8 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.3825, allocations: 255.5 kB / 394 MB, free: 47.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006505/0.3831, allocations: 0.5069 MB / 394.5 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.3834, allocations: 82.33 kB / 394.6 MB, free: 47.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.3836, allocations: 174.7 kB / 394.8 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.3839, allocations: 186.8 kB / 394.9 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.417e-05/0.384, allocations: 27.62 kB / 395 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.384, allocations: 28.38 kB / 395 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.3842, allocations: 126.8 kB / 395.1 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.3844, allocations: 183 kB / 395.3 MB, free: 47.31 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.385, allocations: 373 kB / 395.7 MB, free: 47.15 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.385, allocations: 0 / 395.7 MB, free: 47.15 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.385, allocations: 0 / 395.7 MB, free: 47.15 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.385, allocations: 1.188 kB / 395.7 MB, free: 47.15 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001235/0.3863, allocations: 0.7241 MB / 396.4 MB, free: 46.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3863, allocations: 13.39 kB / 396.4 MB, free: 46.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.3864, allocations: 48.73 kB / 396.4 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.387, allocations: 385.1 kB / 396.8 MB, free: 46.26 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.3871, allocations: 27.16 kB / 396.9 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/0.3872, allocations: 36.25 kB / 396.9 MB, free: 46.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007837/0.388, allocations: 422.1 kB / 397.3 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.388, allocations: 2.5 kB / 397.3 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.388, allocations: 24.59 kB / 397.3 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.3881, allocations: 8.469 kB / 397.3 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.3887, allocations: 305.5 kB / 397.6 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.3911, allocations: 1.532 MB / 399.2 MB, free: 44.9 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.3919, allocations: 226.3 kB / 399.4 MB, free: 44.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.3921, allocations: 130.9 kB / 399.5 MB, free: 44.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.321e-05/0.3922, allocations: 6.688 kB / 399.5 MB, free: 44.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.3922, allocations: 39.94 kB / 399.6 MB, free: 44.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.3922, allocations: 0 / 399.6 MB, free: 44.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007398/0.3929, allocations: 355.2 kB / 399.9 MB, free: 44.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.393, allocations: 54.84 kB / 400 MB, free: 44.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.3935, allocations: 413.5 kB / 400.4 MB, free: 44.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.3935, allocations: 27.98 kB / 400.4 MB, free: 44.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.3937, allocations: 235 kB / 400.6 MB, free: 43.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.3937, allocations: 102.1 kB / 400.7 MB, free: 43.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3939, allocations: 73.84 kB / 400.8 MB, free: 43.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.394, allocations: 356.9 kB / 401.1 MB, free: 43.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.3942, allocations: 100.8 kB / 401.2 MB, free: 43.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.3944, allocations: 221.8 kB / 401.5 MB, free: 43.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.3962, allocations: 0.665 MB / 402.1 MB, free: 42.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3962, allocations: 5.125 kB / 402.1 MB, free: 42.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006805/0.3969, allocations: 451.7 kB / 402.6 MB, free: 42.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3969, allocations: 11.78 kB / 402.6 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.397, allocations: 5.125 kB / 402.6 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.397, allocations: 13.08 kB / 402.6 MB, free: 42.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.3974, allocations: 106.3 kB / 402.7 MB, free: 42.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.3974, allocations: 10.27 kB / 402.7 MB, free: 42.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.3976, allocations: 50.42 kB / 402.8 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.3976, allocations: 14.06 kB / 402.8 MB, free: 42.46 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 (51): * Single equations (assignments): 51 * 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.0002181/0.3978, allocations: 201.7 kB / 403 MB, free: 42.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.3979, allocations: 40.22 kB / 403 MB, free: 42.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005776/0.3985, allocations: 335.2 kB / 403.3 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3985, allocations: 6.719 kB / 403.3 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3985, allocations: 0 / 403.3 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3985, allocations: 0 / 403.3 MB, free: 42.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.3989, allocations: 402.2 kB / 403.7 MB, free: 41.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3989, allocations: 1.281 kB / 403.7 MB, free: 41.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.3993, allocations: 78.84 kB / 403.8 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3994, allocations: 5.062 kB / 403.8 MB, free: 41.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.3994, allocations: 12.41 kB / 403.8 MB, free: 41.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3994, allocations: 1.375 kB / 403.8 MB, free: 41.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3994, allocations: 3.984 kB / 403.8 MB, free: 41.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007001/0.4001, allocations: 0.52 MB / 404.4 MB, free: 41.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.4002, allocations: 122.8 kB / 404.5 MB, free: 41.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.4003, allocations: 14.06 kB / 404.5 MB, free: 41.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.4004, allocations: 19.3 kB / 404.5 MB, free: 41.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.4005, allocations: 19.98 kB / 404.5 MB, free: 41.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.4005, allocations: 10.08 kB / 404.5 MB, free: 41.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002392/0.4007, allocations: 275.1 kB / 404.8 MB, free: 41.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4007, allocations: 1.25 kB / 404.8 MB, free: 41.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003438/0.4011, allocations: 67.44 kB / 404.9 MB, free: 41.01 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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 0.0001055/0.4012, allocations: 106.8 kB / 405 MB, free: 40.92 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005212/0.4017, allocations: 307.3 kB / 405.3 MB, free: 40.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4018, allocations: 5.5 kB / 405.3 MB, free: 40.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.402, allocations: 131.4 kB / 405.4 MB, free: 40.73 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.4023, allocations: 36.84 kB / 405.4 MB, free: 40.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.4035, allocations: 0.8226 MB / 406.3 MB, free: 40.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.4038, allocations: 0.8369 MB / 407.1 MB, free: 39.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.404, allocations: 77.94 kB / 407.2 MB, free: 39.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.4041, allocations: 33.98 kB / 407.2 MB, free: 39.36 MB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4041, allocations: 4 kB / 407.2 MB, free: 39.36 MB / 318.1 MB Notification: Performance of Templates: time 0.006111/0.4103, allocations: 2.5 MB / 409.7 MB, free: 37.41 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1)