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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001485/0.001485, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001207, allocations: 197.3 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.1793/0.1793, allocations: 11.15 MB / 301.2 MB, free: 1.367 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.89 kB / 364.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09502/0.09626, allocations: 51.98 MB / 416 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003341/0.09964, allocations: 2.307 MB / 418.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.1009, allocations: 0.7026 MB / 419.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.1011, allocations: 23.81 kB / 419.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.1013, allocations: 43.59 kB / 419.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1015, allocations: 27.73 kB / 419.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.1021, allocations: 315.5 kB / 419.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.1026, allocations: 0.5985 MB / 420.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.1028, allocations: 92.81 kB / 420.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.1031, allocations: 235 kB / 420.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.1033, allocations: 215 kB / 420.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.949e-05/0.1034, allocations: 40 kB / 420.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-05/0.1035, allocations: 36 kB / 420.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.1036, allocations: 143.6 kB / 420.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.1038, allocations: 210.6 kB / 421 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.1042, allocations: 422.7 kB / 421.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1042, allocations: 0 / 421.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1042, allocations: 0 / 421.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1042, allocations: 0 / 421.4 MB, free: 1.754 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001222/0.1054, allocations: 0.8066 MB / 422.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1055, allocations: 15.89 kB / 422.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.264e-05/0.1056, allocations: 56.28 kB / 422.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.106, allocations: 417.8 kB / 422.7 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.1061, allocations: 84.97 kB / 422.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.851e-05/0.1062, allocations: 48.36 kB / 422.8 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1905/0.2967, allocations: 0.4929 MB / 423.3 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.2968, allocations: 3.406 kB / 423.3 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.2968, allocations: 18.44 kB / 423.3 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.2969, allocations: 12.12 kB / 423.4 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.2975, allocations: 370 kB / 423.7 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002534/0.3001, allocations: 2.061 MB / 425.8 MB, free: 40.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007494/0.3008, allocations: 292.8 kB / 426.1 MB, free: 40.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/0.3011, allocations: 173.7 kB / 426.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.3011, allocations: 5.656 kB / 426.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3011, allocations: 40.67 kB / 426.3 MB, free: 40.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.963e-06/0.3011, allocations: 0 / 426.3 MB, free: 40.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007106/0.3019, allocations: 446.5 kB / 426.7 MB, free: 40.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.3019, allocations: 57.08 kB / 426.8 MB, free: 40.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003696/0.3023, allocations: 452.1 kB / 427.2 MB, free: 40.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3023, allocations: 35.83 kB / 427.3 MB, free: 40.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.3024, allocations: 270.7 kB / 427.5 MB, free: 40.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.3025, allocations: 121.2 kB / 427.6 MB, free: 39.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.3026, allocations: 99.94 kB / 427.7 MB, free: 39.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.3027, allocations: 361.5 kB / 428.1 MB, free: 39.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.3029, allocations: 135.4 kB / 428.2 MB, free: 39.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.3032, allocations: 283.6 kB / 428.5 MB, free: 39.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.3052, allocations: 0.8326 MB / 429.3 MB, free: 39.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3053, allocations: 0 / 429.3 MB, free: 39.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006886/0.306, allocations: 0.539 MB / 429.9 MB, free: 39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.306, allocations: 5.938 kB / 429.9 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.306, allocations: 6.562 kB / 429.9 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.306, allocations: 5.875 kB / 429.9 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004593/0.3065, allocations: 127.5 kB / 430 MB, free: 38.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3065, allocations: 8.375 kB / 430 MB, free: 38.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.3067, allocations: 63.92 kB / 430.1 MB, free: 38.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.3067, allocations: 24.59 kB / 430.1 MB, free: 38.95 MB / 350.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: 20 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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.0002184/0.307, allocations: 207.1 kB / 430.3 MB, free: 38.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.307, allocations: 45.84 kB / 430.4 MB, free: 38.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006164/0.3077, allocations: 413.7 kB / 430.8 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3077, allocations: 3.281 kB / 430.8 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3077, allocations: 0 / 430.8 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.3077, allocations: 8.438 kB / 430.8 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.3081, allocations: 460 kB / 431.2 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3081, allocations: 3.312 kB / 431.2 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.3087, allocations: 100.1 kB / 431.3 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3087, allocations: 0 / 431.3 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.3087, allocations: 12.42 kB / 431.3 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.3087, allocations: 0.8906 kB / 431.3 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3088, allocations: 0 / 431.3 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007166/0.3095, allocations: 0.6233 MB / 432 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.08e-05/0.3095, allocations: 125.2 kB / 432.1 MB, free: 37.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.3096, allocations: 14.5 kB / 432.1 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.3098, allocations: 13.61 kB / 432.1 MB, free: 37.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.3098, allocations: 27.56 kB / 432.1 MB, free: 37.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.3099, allocations: 10.41 kB / 432.1 MB, free: 37.85 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.3101, allocations: 297.2 kB / 432.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3101, allocations: 0 / 432.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003338/0.3104, allocations: 84.69 kB / 432.5 MB, free: 37.69 MB / 350.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 0.0001016/0.3105, allocations: 113.9 kB / 432.6 MB, free: 37.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006353/0.3112, allocations: 422.6 kB / 433 MB, free: 37.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3112, allocations: 0 / 433 MB, free: 37.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.3114, allocations: 174.7 kB / 433.2 MB, free: 37.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.3118, allocations: 50.55 kB / 433.3 MB, free: 37.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3129, allocations: 1.13 MB / 434.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.3131, allocations: 0.8693 MB / 435.3 MB, free: 36.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002276/0.3134, allocations: 93.22 kB / 435.3 MB, free: 36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.3135, allocations: 39.58 kB / 435.4 MB, free: 36 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3135, allocations: 0 / 435.4 MB, free: 36 MB / 350.1 MB Notification: Performance of Templates: time 0.005953/0.3194, allocations: 2.859 MB / 438.2 MB, free: 35.82 MB / 350.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)