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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05795/0.05795, allocations: 10.65 MB / 18.73 MB, free: 1.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.3 MB / 226.9 MB, free: 7.98 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007852/0.0007851, allocations: 90.41 kB / 277.3 MB, free: 5.512 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 1.7e-05/1.702e-05, allocations: 0 / 333.5 MB, free: 28.5 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 50 MB / 383.5 MB, free: 10.46 MB / 282.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3633/0.4794, allocations: 77.98 MB / 461.5 MB, free: 6.859 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4797, allocations: 76.14 kB / 461.6 MB, free: 6.816 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01315/0.4929, allocations: 4.682 MB / 466.3 MB, free: 2.785 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4929, allocations: 0 / 466.3 MB, free: 2.785 MB / 330.8 MB Notification: Performance of Transformations before backend: time 3.785e-05/0.493, allocations: 14.78 kB / 466.3 MB, free: 2.773 MB / 330.8 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.001021/0.494, allocations: 0.6246 MB / 466.9 MB, free: 2.133 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.494, allocations: 8.031 kB / 466.9 MB, free: 2.125 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.4942, allocations: 47.44 kB / 467 MB, free: 2.078 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.4949, allocations: 396.8 kB / 467.3 MB, free: 1.68 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.852e-05/0.495, allocations: 68.19 kB / 467.4 MB, free: 1.602 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.495, allocations: 27.28 kB / 467.4 MB, free: 1.578 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004592/0.4955, allocations: 252 kB / 467.7 MB, free: 1.406 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.4961, allocations: 375 kB / 468.1 MB, free: 1.086 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.4961, allocations: 0 / 468.1 MB, free: 1.086 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.4962, allocations: 0 / 468.1 MB, free: 1.086 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.4962, allocations: 12 kB / 468.1 MB, free: 1.074 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.4987, allocations: 1.491 MB / 469.6 MB, free: 15.73 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.4991, allocations: 169.2 kB / 469.7 MB, free: 15.6 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.4992, allocations: 104.8 kB / 469.8 MB, free: 15.53 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.4993, allocations: 8.125 kB / 469.8 MB, free: 15.52 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4993, allocations: 30.75 kB / 469.9 MB, free: 15.48 MB / 346.8 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.4993, allocations: 0 / 469.9 MB, free: 15.48 MB / 346.8 MB Notification: Performance of matching and sorting (n=22): time 0.0004358/0.4998, allocations: 225.3 kB / 470.1 MB, free: 15.3 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.4998, allocations: 55.39 kB / 470.1 MB, free: 15.24 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003168/0.5001, allocations: 283.3 kB / 470.4 MB, free: 15.01 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.5002, allocations: 25.7 kB / 470.4 MB, free: 14.98 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.5004, allocations: 241.9 kB / 470.7 MB, free: 14.79 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.187e-05/0.5004, allocations: 86.53 kB / 470.8 MB, free: 14.71 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.5005, allocations: 0 / 470.8 MB, free: 14.71 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.5007, allocations: 350 kB / 471.1 MB, free: 14.38 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.5008, allocations: 83.75 kB / 471.2 MB, free: 14.32 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.501, allocations: 198.3 kB / 471.4 MB, free: 14.12 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.5012, allocations: 122.1 kB / 471.5 MB, free: 14.03 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.5012, allocations: 4 kB / 471.5 MB, free: 14.02 MB / 346.8 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005144/0.5018, allocations: 367.9 kB / 471.9 MB, free: 13.73 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.5018, allocations: 8.469 kB / 471.9 MB, free: 13.72 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5018, allocations: 8 kB / 471.9 MB, free: 13.71 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.5018, allocations: 8 kB / 471.9 MB, free: 13.71 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.5022, allocations: 95.62 kB / 472 MB, free: 13.62 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.5023, allocations: 7.938 kB / 472 MB, free: 13.61 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.5024, allocations: 35.67 kB / 472 MB, free: 13.57 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.5025, allocations: 15.95 kB / 472 MB, free: 13.56 MB / 346.8 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(protected = true ) "proper part of the output" type: Real 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.5026, allocations: 126.3 kB / 472.2 MB, free: 13.43 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.5027, allocations: 27.62 kB / 472.2 MB, free: 13.41 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004217/0.5031, allocations: 261.6 kB / 472.4 MB, free: 13.21 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5031, allocations: 4 kB / 472.4 MB, free: 13.2 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5032, allocations: 4 kB / 472.4 MB, free: 13.2 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5032, allocations: 7.984 kB / 472.5 MB, free: 13.19 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.5036, allocations: 351 kB / 472.8 MB, free: 12.87 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5036, allocations: 0 / 472.8 MB, free: 12.87 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.504, allocations: 67.89 kB / 472.9 MB, free: 12.8 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.504, allocations: 0 / 472.9 MB, free: 12.8 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.504, allocations: 7.5 kB / 472.9 MB, free: 12.8 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5041, allocations: 3.984 kB / 472.9 MB, free: 12.8 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5041, allocations: 4 kB / 472.9 MB, free: 12.79 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.5046, allocations: 447.2 kB / 473.3 MB, free: 12.42 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.5047, allocations: 108.7 kB / 473.4 MB, free: 12.3 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.5047, allocations: 7.812 kB / 473.4 MB, free: 12.29 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.5049, allocations: 11.98 kB / 473.4 MB, free: 12.28 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.505, allocations: 7.984 kB / 473.4 MB, free: 12.27 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.505, allocations: 15.48 kB / 473.5 MB, free: 12.26 MB / 346.8 MB Notification: Performance of sorting global known variables: time 0.0002087/0.5052, allocations: 204.5 kB / 473.7 MB, free: 12.09 MB / 346.8 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5052, allocations: 0 / 473.7 MB, free: 12.09 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.0003397/0.5055, allocations: 59.75 kB / 473.7 MB, free: 12.04 MB / 346.8 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001551/0.5057, allocations: 114.7 kB / 473.8 MB, free: 11.92 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.5061, allocations: 248.1 kB / 474.1 MB, free: 11.74 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5061, allocations: 0 / 474.1 MB, free: 11.74 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.5063, allocations: 105 kB / 474.2 MB, free: 11.66 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.5065, allocations: 36.72 kB / 474.2 MB, free: 11.64 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009597/0.5075, allocations: 0.6237 MB / 474.8 MB, free: 11.04 MB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.5079, allocations: 0.8407 MB / 475.7 MB, free: 10.18 MB / 346.8 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.5081, allocations: 67.23 kB / 475.7 MB, free: 10.12 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.5082, allocations: 27.44 kB / 475.8 MB, free: 10.09 MB / 346.8 MB Notification: Performance of SimCode: time 2.41e-07/0.5082, allocations: 0 / 475.8 MB, free: 10.09 MB / 346.8 MB Notification: Performance of Templates: time 0.005305/0.5135, allocations: 1.808 MB / 477.6 MB, free: 8.297 MB / 346.8 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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1)