Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.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.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 104.1 kB / 16.41 MB, free: 6.508 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.001345/0.001345, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.376/1.376, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05668/0.05668, allocations: 10.74 MB / 281.3 MB, free: 1.285 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.001413/0.001413, allocations: 63.33 kB / 391.5 MB, free: 45.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07843/0.07985, allocations: 49.03 MB / 440.5 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002651/0.08255, allocations: 1.899 MB / 442.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.08385, allocations: 0.7958 MB / 443.2 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.08405, allocations: 15.88 kB / 443.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.08428, allocations: 55.56 kB / 443.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.0844, allocations: 51.64 kB / 443.3 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.08502, allocations: 195.5 kB / 443.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.08531, allocations: 295.3 kB / 443.8 MB, free: 496 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.08546, allocations: 44.67 kB / 443.9 MB, free: 452 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.08559, allocations: 119.5 kB / 444 MB, free: 332 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.0858, allocations: 127.3 kB / 444.1 MB, free: 204 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.08585, allocations: 16 kB / 444.1 MB, free: 188 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.08599, allocations: 83.94 kB / 444.2 MB, free: 104 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.968e-05/0.08607, allocations: 67.69 kB / 444.3 MB, free: 36 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.08619, allocations: 103.4 kB / 444.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.08656, allocations: 267 kB / 444.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.08659, allocations: 4 kB / 444.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.0866, allocations: 3.938 kB / 444.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.08661, allocations: 0 / 444.6 MB, free: 15.66 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009124/0.08753, allocations: 0.6086 MB / 445.2 MB, free: 15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.08758, allocations: 8.031 kB / 445.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.647e-05/0.08767, allocations: 36.56 kB / 445.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.08821, allocations: 359.2 kB / 445.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.08835, allocations: 153.4 kB / 445.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.08841, allocations: 24.12 kB / 445.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.0888, allocations: 220.5 kB / 446 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.08882, allocations: 0 / 446 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.08885, allocations: 12 kB / 446 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.08886, allocations: 4 kB / 446 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.08908, allocations: 115.8 kB / 446.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.09026, allocations: 0.7301 MB / 446.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.09051, allocations: 114.4 kB / 447 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.09062, allocations: 76.81 kB / 447.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.09064, allocations: 0 / 447.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.09086, allocations: 141.1 kB / 447.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.09088, allocations: 4 kB / 447.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004582/0.09134, allocations: 287.1 kB / 447.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.09141, allocations: 89.03 kB / 447.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.09169, allocations: 279.3 kB / 447.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.09173, allocations: 29.7 kB / 447.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.09185, allocations: 188 kB / 448.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.09191, allocations: 51.27 kB / 448.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.09199, allocations: 57.92 kB / 448.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.09212, allocations: 342.8 kB / 448.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.09224, allocations: 64.48 kB / 448.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.0924, allocations: 144.2 kB / 448.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.0927, allocations: 291.5 kB / 449 MB, free: 10.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.09271, allocations: 0 / 449 MB, free: 10.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004359/0.09315, allocations: 345.6 kB / 449.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/0.09321, allocations: 37.69 kB / 449.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.09323, allocations: 4 kB / 449.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.09325, allocations: 4 kB / 449.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.0935, allocations: 55.91 kB / 449.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.09351, allocations: 4 kB / 449.4 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.09365, allocations: 31.88 kB / 449.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.09368, allocations: 20 kB / 449.5 MB, free: 10.42 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (signal.nextEventScaled,signal.nextEvent,$PRE.signal.nextEvent,signal.last,signal.b,signal.a,$whenCondition1,complexPoles.TS_in,LeadLAG.TS_in,FirstOrder.TS_in,Integrator.TS_in,Gain.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * 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.0001667/0.09385, allocations: 195.2 kB / 449.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.0939, allocations: 23.72 kB / 449.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.09396, allocations: 30.3 kB / 449.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.09397, allocations: 4 kB / 449.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.09398, allocations: 0 / 449.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.09398, allocations: 3.938 kB / 449.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000697/0.09469, allocations: 0.6366 MB / 450.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.0947, allocations: 0 / 450.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.09496, allocations: 39.91 kB / 450.4 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.09498, allocations: 0 / 450.4 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.09502, allocations: 11.94 kB / 450.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.09502, allocations: 0 / 450.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.09503, allocations: 0 / 450.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.09553, allocations: 449.7 kB / 450.9 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-05/0.0956, allocations: 100.7 kB / 451 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.09565, allocations: 12 kB / 451 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.09577, allocations: 4 kB / 451 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.09582, allocations: 15.86 kB / 451 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.09585, allocations: 8 kB / 451 MB, free: 8.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.09603, allocations: 193.9 kB / 451.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09604, allocations: 4 kB / 451.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.09639, allocations: 59.94 kB / 451.3 MB, free: 8.523 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Integrator.y,FirstOrder.Y,LeadLAG.uF,complexPoles.Y,complexPoles.dY) * Number of discrete variables: 6 ($whenCondition1,signal.a,signal.b,signal.last,signal.nextEvent,signal.nextEventScaled) * Number of discrete states: 6 (signal.nextEvent,signal.last,signal.nextEventScaled,signal.b,signal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.000191/0.09658, allocations: 127.2 kB / 451.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.09697, allocations: 259.2 kB / 451.6 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.09698, allocations: 0.75 kB / 451.6 MB, free: 8.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.09714, allocations: 155.4 kB / 451.8 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.09747, allocations: 30.69 kB / 451.8 MB, free: 7.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008274/0.09831, allocations: 0.5291 MB / 452.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.09867, allocations: 0.7638 MB / 453.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.09872, allocations: 19.44 kB / 453.1 MB, free: 6.555 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.09872, allocations: 4 kB / 453.1 MB, free: 6.551 MB / 334.1 MB Notification: Performance of Templates: time 0.00536/0.1041, allocations: 2.977 MB / 456.1 MB, free: 3.574 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1)