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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 177 kB / 23.49 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.05073/0.05073, allocations: 8.609 MB / 268.9 MB, free: 4.984 MB / 250.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 340.9 MB, free: 8.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.483e-05, allocations: 2.312 kB / 340.9 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.001714/0.001729, allocations: 1.91 MB / 342.8 MB, free: 6.801 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.002643, allocations: 0.7442 MB / 343.5 MB, free: 6.055 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.002783, allocations: 23.75 kB / 343.6 MB, free: 6.031 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.002955, allocations: 63.55 kB / 343.6 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.003029, allocations: 51.64 kB / 343.7 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.003474, allocations: 199.5 kB / 343.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.003681, allocations: 279.2 kB / 344.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.003794, allocations: 36.89 kB / 344.2 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.003922, allocations: 159.6 kB / 344.3 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.004069, allocations: 95.73 kB / 344.4 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.004092, allocations: 16 kB / 344.4 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.129e-05/0.004184, allocations: 91.8 kB / 344.5 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.004239, allocations: 59.75 kB / 344.6 MB, free: 5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.00429, allocations: 63.77 kB / 344.7 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.004498, allocations: 231.1 kB / 344.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004499, allocations: 0 / 344.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.0045, allocations: 0 / 344.9 MB, free: 4.711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.004504, allocations: 0 / 344.9 MB, free: 4.711 MB / 266.7 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.0005694/0.005074, allocations: 0.6376 MB / 345.5 MB, free: 4.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.005105, allocations: 8.031 kB / 345.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.00517, allocations: 56.7 kB / 345.6 MB, free: 3.965 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.005434, allocations: 310 kB / 345.9 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/0.00551, allocations: 183.1 kB / 346.1 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.005538, allocations: 20.38 kB / 346.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.005748, allocations: 221.2 kB / 346.3 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.005758, allocations: 7.938 kB / 346.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.005773, allocations: 4 kB / 346.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.005781, allocations: 4 kB / 346.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.753e-05/0.005879, allocations: 113.6 kB / 346.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.006472, allocations: 0.7088 MB / 347.1 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.006618, allocations: 112.7 kB / 347.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/0.006668, allocations: 73.36 kB / 347.3 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.006677, allocations: 0 / 347.3 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.006792, allocations: 160.4 kB / 347.5 MB, free: 1.875 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.006793, allocations: 0 / 347.5 MB, free: 1.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002687/0.007062, allocations: 278.7 kB / 347.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.007086, allocations: 81.11 kB / 347.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.007224, allocations: 330.2 kB / 348.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.007234, allocations: 29.7 kB / 348.2 MB, free: 1.109 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.007305, allocations: 231.1 kB / 348.4 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.007329, allocations: 63.47 kB / 348.5 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.007376, allocations: 63.58 kB / 348.5 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.823e-05/0.007424, allocations: 0.5157 MB / 349 MB, free: 220 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.007469, allocations: 62.2 kB / 349.1 MB, free: 152 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.57e-05/0.007565, allocations: 196.1 kB / 349.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.007742, allocations: 269 kB / 349.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007745, allocations: 0 / 349.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002468/0.007991, allocations: 318.7 kB / 349.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.008017, allocations: 37.69 kB / 349.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.008022, allocations: 4 kB / 349.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.008034, allocations: 4 kB / 349.9 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.00816, allocations: 51.91 kB / 350 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.008167, allocations: 4 kB / 350 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.008235, allocations: 31.78 kB / 350 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.008248, allocations: 12 kB / 350 MB, free: 15.09 MB / 282.7 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 9.424e-05/0.008342, allocations: 220.5 kB / 350.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.008368, allocations: 35.81 kB / 350.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.0084, allocations: 26.23 kB / 350.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.008402, allocations: 4 kB / 350.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.008405, allocations: 0 / 350.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.008408, allocations: 0 / 350.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.008807, allocations: 0.5822 MB / 350.9 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.008807, allocations: 0 / 350.9 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.008932, allocations: 35.97 kB / 350.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.008934, allocations: 4.031 kB / 350.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.008949, allocations: 8 kB / 350.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.008951, allocations: 4 kB / 350.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.008951, allocations: 0 / 350.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.009243, allocations: 483.4 kB / 351.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.00926, allocations: 23.78 kB / 351.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.009282, allocations: 4 kB / 351.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.009336, allocations: 8 kB / 351.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.009369, allocations: 7.984 kB / 351.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.009382, allocations: 7.938 kB / 351.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.493e-05/0.009477, allocations: 219 kB / 351.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009477, allocations: 0 / 351.7 MB, free: 13.33 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.009685, allocations: 59.89 kB / 351.7 MB, free: 13.27 MB / 282.7 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.0001388/0.009823, allocations: 135.1 kB / 351.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.01005, allocations: 247 kB / 352.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01005, allocations: 4 kB / 352.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.219e-05/0.01013, allocations: 160.8 kB / 352.3 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.01033, allocations: 20.84 kB / 352.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.01084, allocations: 0.4911 MB / 352.8 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.764e-05/0.01089, allocations: 92.17 kB / 352.9 MB, free: 12.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.03e-05/0.01095, allocations: 26.34 kB / 352.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.01098, allocations: 24.5 kB / 352.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01098, allocations: 4 kB / 352.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of Templates: time 0.003803/0.01478, allocations: 1.841 MB / 354.7 MB, free: 10.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.makefile [Timeout 660] (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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9382223249413073]