Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 109.2 kB / 16.37 MB, free: 6.477 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.001234/0.001234, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.628/1.628, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05694/0.05694, allocations: 10.73 MB / 281.3 MB, free: 1.336 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.001608/0.001608, allocations: 71.91 kB / 342 MB, free: 4.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3605, allocations: 49 MB / 391 MB, free: 49.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.004252/0.3648, allocations: 2.115 MB / 393.1 MB, free: 48.49 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.3662, allocations: 398.9 kB / 393.5 MB, free: 48.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.3665, allocations: 9.562 kB / 393.5 MB, free: 48.22 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.3668, allocations: 50.67 kB / 393.6 MB, free: 48.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.672e-05/0.3669, allocations: 36.72 kB / 393.6 MB, free: 48.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.3675, allocations: 194.8 kB / 393.8 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.3681, allocations: 470.7 kB / 394.2 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.3683, allocations: 77.89 kB / 394.3 MB, free: 47.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.3686, allocations: 154.4 kB / 394.5 MB, free: 47.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.369, allocations: 171.8 kB / 394.6 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.3691, allocations: 26.12 kB / 394.7 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.816e-05/0.3692, allocations: 26.12 kB / 394.7 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3693, allocations: 116.5 kB / 394.8 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.3695, allocations: 168.3 kB / 395 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.37, allocations: 353.6 kB / 395.3 MB, free: 47.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.37, allocations: 1.375 kB / 395.3 MB, free: 47.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.37, allocations: 0 / 395.3 MB, free: 47.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.37, allocations: 0 / 395.3 MB, free: 47.35 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.001313/0.3713, allocations: 0.7051 MB / 396 MB, free: 46.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3714, allocations: 12.55 kB / 396 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.3715, allocations: 46.91 kB / 396.1 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.3721, allocations: 373.5 kB / 396.4 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.3721, allocations: 26.25 kB / 396.5 MB, free: 46.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.3722, allocations: 36.16 kB / 396.5 MB, free: 46.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007633/0.373, allocations: 400.1 kB / 396.9 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.673e-05/0.373, allocations: 11.34 kB / 396.9 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.3731, allocations: 15.75 kB / 396.9 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.3731, allocations: 7.531 kB / 396.9 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.3738, allocations: 291.8 kB / 397.2 MB, free: 46.17 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/0.3768, allocations: 1.491 MB / 398.7 MB, free: 45.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.3774, allocations: 188.7 kB / 398.9 MB, free: 45.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.3776, allocations: 117.2 kB / 399 MB, free: 45.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.3777, allocations: 2.906 kB / 399 MB, free: 45.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3777, allocations: 31.44 kB / 399 MB, free: 45.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.3777, allocations: 0 / 399 MB, free: 45.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.00074/0.3785, allocations: 321.1 kB / 399.3 MB, free: 44.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.3785, allocations: 57.53 kB / 399.4 MB, free: 44.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.379, allocations: 400 kB / 399.8 MB, free: 44.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.379, allocations: 26.61 kB / 399.8 MB, free: 44.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3792, allocations: 235.8 kB / 400.1 MB, free: 44.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.381e-05/0.3793, allocations: 84.33 kB / 400.1 MB, free: 44.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3794, allocations: 69.72 kB / 400.2 MB, free: 44.17 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3795, allocations: 356.2 kB / 400.5 MB, free: 43.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.3798, allocations: 94.72 kB / 400.6 MB, free: 43.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.3802, allocations: 208.7 kB / 400.8 MB, free: 43.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.3819, allocations: 0.5741 MB / 401.4 MB, free: 43.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.3819, allocations: 1.062 kB / 401.4 MB, free: 43.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008974/0.3828, allocations: 413.9 kB / 401.8 MB, free: 42.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.3829, allocations: 11.78 kB / 401.8 MB, free: 42.99 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.3829, allocations: 3.312 kB / 401.8 MB, free: 42.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.544e-05/0.3829, allocations: 5.812 kB / 401.8 MB, free: 42.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.3833, allocations: 99.03 kB / 401.9 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/0.3834, allocations: 5.562 kB / 401.9 MB, free: 42.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.3836, allocations: 46.89 kB / 402 MB, free: 42.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.3836, allocations: 19.78 kB / 402 MB, free: 42.92 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 (45): * Single equations (assignments): 45 * 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.0002927/0.3839, allocations: 188.3 kB / 402.2 MB, free: 42.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/0.384, allocations: 39.09 kB / 402.2 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006331/0.3846, allocations: 291.6 kB / 402.5 MB, free: 42.56 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.3846, allocations: 2.312 kB / 402.5 MB, free: 42.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3847, allocations: 4 kB / 402.5 MB, free: 42.56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3847, allocations: 3.938 kB / 402.5 MB, free: 42.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005639/0.3852, allocations: 376.8 kB / 402.9 MB, free: 42.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3853, allocations: 3.938 kB / 402.9 MB, free: 42.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.3857, allocations: 61.77 kB / 403 MB, free: 42.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.3858, allocations: 5 kB / 403 MB, free: 42.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.3858, allocations: 11.2 kB / 403 MB, free: 42.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3858, allocations: 5.734 kB / 403 MB, free: 42.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3858, allocations: 0 / 403 MB, free: 42.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.3866, allocations: 478 kB / 403.4 MB, free: 41.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.684e-05/0.3867, allocations: 113 kB / 403.6 MB, free: 41.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.3868, allocations: 11.3 kB / 403.6 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.3869, allocations: 13.52 kB / 403.6 MB, free: 41.76 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.188e-05/0.387, allocations: 18.66 kB / 403.6 MB, free: 41.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.387, allocations: 5.844 kB / 403.6 MB, free: 41.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003032/0.3873, allocations: 274 kB / 403.9 MB, free: 41.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3873, allocations: 0 / 403.9 MB, free: 41.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.3877, allocations: 68.78 kB / 403.9 MB, free: 41.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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.0001493/0.3879, allocations: 106.2 kB / 404 MB, free: 41.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006238/0.3885, allocations: 275.3 kB / 404.3 MB, free: 41.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3885, allocations: 1.031 kB / 404.3 MB, free: 41.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.3887, allocations: 116 kB / 404.4 MB, free: 41.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.3891, allocations: 31.12 kB / 404.5 MB, free: 41.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.3903, allocations: 0.7516 MB / 405.2 MB, free: 40.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3907, allocations: 0.8275 MB / 406 MB, free: 40.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.3909, allocations: 73.72 kB / 406.1 MB, free: 39.99 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.391, allocations: 31.12 kB / 406.1 MB, free: 39.98 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.391, allocations: 0 / 406.1 MB, free: 39.98 MB / 318.1 MB Notification: Performance of Templates: time 0.006737/0.3977, allocations: 2.275 MB / 408.4 MB, free: 38.72 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1)