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.001151/0.001151, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001119/0.001119, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.651/1.651, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05797/0.05797, allocations: 10.74 MB / 281.3 MB, free: 1.289 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.001754/0.001754, allocations: 72.11 kB / 342 MB, free: 4.438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3891, allocations: 49 MB / 391 MB, free: 49.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003675/0.3929, allocations: 2.105 MB / 393.1 MB, free: 48.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.394, allocations: 499.2 kB / 393.6 MB, free: 48.17 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.3942, allocations: 14.97 kB / 393.6 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.3944, allocations: 53.94 kB / 393.6 MB, free: 48.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.391e-05/0.3945, allocations: 32.52 kB / 393.7 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.3952, allocations: 236 kB / 393.9 MB, free: 47.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006685/0.3959, allocations: 0.496 MB / 394.4 MB, free: 47.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.3961, allocations: 82.02 kB / 394.5 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002025/0.3963, allocations: 173.2 kB / 394.6 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.3966, allocations: 173.9 kB / 394.8 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-05/0.3966, allocations: 28.88 kB / 394.8 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.292e-05/0.3967, allocations: 28.88 kB / 394.9 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.3969, allocations: 130.8 kB / 395 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.3971, allocations: 171.1 kB / 395.2 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.3976, allocations: 362.2 kB / 395.5 MB, free: 47.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.3976, allocations: 5.375 kB / 395.5 MB, free: 47.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3976, allocations: 0 / 395.5 MB, free: 47.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.3976, allocations: 0 / 395.5 MB, free: 47.23 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.001219/0.3989, allocations: 0.7213 MB / 396.3 MB, free: 46.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3989, allocations: 12.36 kB / 396.3 MB, free: 46.67 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.288e-05/0.399, allocations: 48.27 kB / 396.3 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.3996, allocations: 383.8 kB / 396.7 MB, free: 46.35 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.3997, allocations: 75.78 kB / 396.8 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.3997, allocations: 35.95 kB / 396.8 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.4005, allocations: 418.7 kB / 397.2 MB, free: 46.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.4005, allocations: 15.2 kB / 397.2 MB, free: 46.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.4006, allocations: 11.34 kB / 397.2 MB, free: 46.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.4006, allocations: 7.625 kB / 397.2 MB, free: 46.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.4013, allocations: 300.4 kB / 397.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.4037, allocations: 1.566 MB / 399.1 MB, free: 44.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.4041, allocations: 188.1 kB / 399.3 MB, free: 44.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.4043, allocations: 123.3 kB / 399.4 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.4043, allocations: 6.641 kB / 399.4 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.4044, allocations: 37.69 kB / 399.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.4044, allocations: 0 / 399.4 MB, free: 44.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006378/0.405, allocations: 336.2 kB / 399.8 MB, free: 44.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.4051, allocations: 52.84 kB / 399.8 MB, free: 44.47 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.4054, allocations: 396.6 kB / 400.2 MB, free: 44.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.4055, allocations: 30.67 kB / 400.2 MB, free: 44.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.4056, allocations: 235.1 kB / 400.5 MB, free: 43.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.4056, allocations: 93.08 kB / 400.6 MB, free: 43.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.4057, allocations: 75.23 kB / 400.6 MB, free: 43.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.4058, allocations: 357.6 kB / 401 MB, free: 43.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.406, allocations: 101.5 kB / 401.1 MB, free: 43.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.4063, allocations: 212.7 kB / 401.3 MB, free: 43.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.4077, allocations: 0.6314 MB / 401.9 MB, free: 42.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4077, allocations: 1.062 kB / 401.9 MB, free: 42.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006348/0.4083, allocations: 433.9 kB / 402.3 MB, free: 42.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4083, allocations: 7.812 kB / 402.4 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4084, allocations: 4.375 kB / 402.4 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.4084, allocations: 5.438 kB / 402.4 MB, free: 42.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.4088, allocations: 95.81 kB / 402.5 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.4088, allocations: 4.594 kB / 402.5 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.409, allocations: 59.95 kB / 402.5 MB, free: 42.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.4091, allocations: 16.72 kB / 402.5 MB, free: 42.55 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.0003376/0.4094, allocations: 195.6 kB / 402.7 MB, free: 42.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.4095, allocations: 36.38 kB / 402.8 MB, free: 42.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005411/0.4101, allocations: 298.2 kB / 403.1 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4101, allocations: 2.188 kB / 403.1 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.4101, allocations: 1.094 kB / 403.1 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.4101, allocations: 3.938 kB / 403.1 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.4105, allocations: 391.9 kB / 403.4 MB, free: 41.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4106, allocations: 1.375 kB / 403.4 MB, free: 41.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00049/0.411, allocations: 66.23 kB / 403.5 MB, free: 41.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.4111, allocations: 5.094 kB / 403.5 MB, free: 41.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.4111, allocations: 15.11 kB / 403.5 MB, free: 41.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4111, allocations: 1.25 kB / 403.5 MB, free: 41.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4111, allocations: 1 kB / 403.5 MB, free: 41.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007753/0.4119, allocations: 497.1 kB / 404 MB, free: 41.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.412, allocations: 117 kB / 404.1 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.4121, allocations: 10.75 kB / 404.1 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.4122, allocations: 18.83 kB / 404.2 MB, free: 41.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.4123, allocations: 19.56 kB / 404.2 MB, free: 41.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.4123, allocations: 12 kB / 404.2 MB, free: 41.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003133/0.4127, allocations: 269.8 kB / 404.5 MB, free: 41.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4127, allocations: 1.312 kB / 404.5 MB, free: 41.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004275/0.4131, allocations: 61.27 kB / 404.5 MB, free: 41.16 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 0.0002227/0.4133, allocations: 116.1 kB / 404.6 MB, free: 41.06 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006474/0.414, allocations: 296.4 kB / 404.9 MB, free: 40.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.414, allocations: 1.156 kB / 404.9 MB, free: 40.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.4142, allocations: 122.9 kB / 405 MB, free: 40.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.4147, allocations: 32.88 kB / 405.1 MB, free: 40.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.4165, allocations: 0.8043 MB / 405.9 MB, free: 40.33 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.4169, allocations: 0.8377 MB / 406.7 MB, free: 39.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002219/0.4171, allocations: 72.59 kB / 406.8 MB, free: 39.53 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.4172, allocations: 28.81 kB / 406.8 MB, free: 39.53 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4172, allocations: 0 / 406.8 MB, free: 39.53 MB / 318.1 MB Notification: Performance of Templates: time 0.006484/0.4237, allocations: 2.361 MB / 409.2 MB, free: 37.91 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 -s cvode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)