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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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.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.001601/0.001601, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001598/0.001598, allocations: 196.7 kB / 16.91 MB, free: 6.195 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.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06633/0.06633, allocations: 11.2 MB / 301.9 MB, free: 4.316 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 59.89 kB / 364.8 MB, free: 5.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1919, allocations: 51.97 MB / 416.7 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002597/0.1946, allocations: 1.956 MB / 418.7 MB, free: 20.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1957, allocations: 0.7388 MB / 419.4 MB, free: 20.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.1959, allocations: 15.88 kB / 419.5 MB, free: 19.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.1961, allocations: 55.69 kB / 419.5 MB, free: 19.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.1962, allocations: 48.66 kB / 419.6 MB, free: 19.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.1968, allocations: 173.4 kB / 419.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.1971, allocations: 276.8 kB / 420 MB, free: 19.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1972, allocations: 44.09 kB / 420 MB, free: 19.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1973, allocations: 119.4 kB / 420.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1975, allocations: 116.7 kB / 420.3 MB, free: 19.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.1976, allocations: 16 kB / 420.3 MB, free: 19.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1977, allocations: 95.52 kB / 420.4 MB, free: 19.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.1978, allocations: 55.77 kB / 420.4 MB, free: 19.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.522e-05/0.1978, allocations: 107.3 kB / 420.5 MB, free: 18.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.198, allocations: 193.5 kB / 420.7 MB, free: 18.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1981, allocations: 7.922 kB / 420.7 MB, free: 18.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1981, allocations: 0 / 420.7 MB, free: 18.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1981, allocations: 4 kB / 420.7 MB, free: 18.72 MB / 302.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.0006973/0.1988, allocations: 0.6016 MB / 421.3 MB, free: 18.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1988, allocations: 8.031 kB / 421.3 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.1989, allocations: 36.56 kB / 421.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.1992, allocations: 335.1 kB / 421.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.397e-05/0.1993, allocations: 149.4 kB / 421.9 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.1994, allocations: 24.12 kB / 421.9 MB, free: 17.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.1997, allocations: 216.5 kB / 422.1 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1997, allocations: 4 kB / 422.1 MB, free: 17.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.1997, allocations: 8 kB / 422.1 MB, free: 17.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.1997, allocations: 4 kB / 422.1 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.1999, allocations: 115.9 kB / 422.2 MB, free: 17.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009532/0.2009, allocations: 0.7265 MB / 422.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.2011, allocations: 114.5 kB / 423.1 MB, free: 16.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.616e-05/0.2012, allocations: 68.84 kB / 423.1 MB, free: 16.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.2012, allocations: 4 kB / 423.1 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.2014, allocations: 137 kB / 423.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.2014, allocations: 0 / 423.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003787/0.2018, allocations: 299 kB / 423.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.2019, allocations: 85.05 kB / 423.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.202, allocations: 279.2 kB / 423.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.2021, allocations: 33.81 kB / 423.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.2021, allocations: 184 kB / 424.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.2022, allocations: 51.27 kB / 424.2 MB, free: 15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.2023, allocations: 57.84 kB / 424.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.2023, allocations: 342.8 kB / 424.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.2024, allocations: 68.5 kB / 424.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.886e-05/0.2025, allocations: 141 kB / 424.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.2027, allocations: 295 kB / 425.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2027, allocations: 0 / 425.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003313/0.2031, allocations: 335.8 kB / 425.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.2031, allocations: 45.62 kB / 425.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2031, allocations: 0 / 425.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2031, allocations: 4 kB / 425.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.2033, allocations: 51.92 kB / 425.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2034, allocations: 7.984 kB / 425.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2035, allocations: 23.78 kB / 425.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2035, allocations: 16 kB / 425.5 MB, free: 13.52 MB / 302.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.0001078/0.2036, allocations: 187.5 kB / 425.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.2036, allocations: 31.62 kB / 425.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.2037, allocations: 34.23 kB / 425.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2037, allocations: 0 / 425.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2037, allocations: 0 / 425.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2037, allocations: 3.938 kB / 425.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.2042, allocations: 0.6257 MB / 426.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.2042, allocations: 8.031 kB / 426.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.2045, allocations: 31.97 kB / 426.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2045, allocations: 11.92 kB / 426.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.2045, allocations: 11.94 kB / 426.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2045, allocations: 3.938 kB / 426.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2045, allocations: 0 / 426.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.2049, allocations: 452.6 kB / 426.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.2049, allocations: 96.77 kB / 427 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.205, allocations: 12 kB / 427 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2051, allocations: 4 kB / 427 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.2051, allocations: 7.984 kB / 427 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.2052, allocations: 12 kB / 427 MB, free: 11.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.2053, allocations: 190 kB / 427.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2053, allocations: 0 / 427.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.2056, allocations: 59.89 kB / 427.3 MB, free: 11.64 MB / 302.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.0001424/0.2057, allocations: 139.4 kB / 427.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.206, allocations: 275 kB / 427.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2061, allocations: 0 / 427.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.2062, allocations: 148.1 kB / 427.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.2065, allocations: 25.77 kB / 427.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.2071, allocations: 0.6112 MB / 428.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.2072, allocations: 0.7597 MB / 429.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.2073, allocations: 23.38 kB / 429.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2073, allocations: 0 / 429.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of Templates: time 0.004077/0.2114, allocations: 2.949 MB / 432.2 MB, free: 6.645 MB / 302.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)