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.01084/0.01084, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001702/0.001702, allocations: 199.1 kB / 16.67 MB, free: 5.52 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.797/1.797, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05708/0.05708, allocations: 10.73 MB / 280.6 MB, free: 1.297 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.002617/0.002617, allocations: 68.23 kB / 390.8 MB, free: 45.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1679, allocations: 49.03 MB / 439.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.004202/0.1722, allocations: 1.891 MB / 441.7 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.1745, allocations: 0.788 MB / 442.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.1748, allocations: 15.88 kB / 442.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.1751, allocations: 63.55 kB / 442.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.1754, allocations: 51.64 kB / 442.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1764, allocations: 194.6 kB / 442.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000485/0.1769, allocations: 295.3 kB / 443.1 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.1772, allocations: 48.67 kB / 443.2 MB, free: 464 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.1773, allocations: 115.5 kB / 443.3 MB, free: 348 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.1776, allocations: 123.4 kB / 443.4 MB, free: 224 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.1777, allocations: 16 kB / 443.4 MB, free: 208 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.1779, allocations: 95.8 kB / 443.5 MB, free: 112 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.178, allocations: 47.83 kB / 443.6 MB, free: 64 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.1782, allocations: 115.3 kB / 443.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.1786, allocations: 274.9 kB / 444 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1787, allocations: 0 / 444 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1787, allocations: 0 / 444 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.1787, allocations: 0 / 444 MB, free: 15.68 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.001102/0.1798, allocations: 0.6053 MB / 444.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.1799, allocations: 12.03 kB / 444.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.18, allocations: 32.56 kB / 444.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007335/0.1807, allocations: 355.2 kB / 445 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.1809, allocations: 157.4 kB / 445.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/0.181, allocations: 24.12 kB / 445.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005535/0.1816, allocations: 220.5 kB / 445.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1816, allocations: 4 kB / 445.4 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.1816, allocations: 12 kB / 445.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.1816, allocations: 4 kB / 445.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.1819, allocations: 111.9 kB / 445.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.1834, allocations: 0.7379 MB / 446.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.1838, allocations: 106.5 kB / 446.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.1839, allocations: 68.83 kB / 446.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.1839, allocations: 4 kB / 446.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.1842, allocations: 144.3 kB / 446.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.1842, allocations: 0 / 446.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006435/0.1849, allocations: 299.1 kB / 446.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.1849, allocations: 85.05 kB / 446.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.1853, allocations: 279.3 kB / 447.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.1853, allocations: 25.7 kB / 447.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.1855, allocations: 192 kB / 447.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.1855, allocations: 51.27 kB / 447.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.1856, allocations: 57.92 kB / 447.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1858, allocations: 338.8 kB / 447.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.1859, allocations: 64.48 kB / 447.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.1861, allocations: 144.2 kB / 448 MB, free: 11.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.1864, allocations: 287.5 kB / 448.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1864, allocations: 4 kB / 448.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004214/0.1868, allocations: 349.5 kB / 448.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.1869, allocations: 37.69 kB / 448.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1869, allocations: 0 / 448.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1869, allocations: 8 kB / 448.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.1872, allocations: 51.91 kB / 448.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1872, allocations: 4 kB / 448.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1873, allocations: 28.03 kB / 448.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.1873, allocations: 16 kB / 448.8 MB, free: 10.45 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.0001762/0.1875, allocations: 199.2 kB / 449 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.1876, allocations: 27.72 kB / 449 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.1876, allocations: 30.3 kB / 449.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1876, allocations: 7.922 kB / 449.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1876, allocations: 0 / 449.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.1877, allocations: 3.938 kB / 449.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/0.1884, allocations: 0.6374 MB / 449.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1884, allocations: 0 / 449.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.1887, allocations: 31.92 kB / 449.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1887, allocations: 4 kB / 449.7 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.1887, allocations: 11.94 kB / 449.7 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1887, allocations: 0 / 449.7 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1887, allocations: 0 / 449.7 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.1893, allocations: 449.8 kB / 450.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.1894, allocations: 100.7 kB / 450.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.1894, allocations: 11.94 kB / 450.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.1896, allocations: 8.047 kB / 450.3 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.1896, allocations: 8 kB / 450.3 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.1897, allocations: 15.92 kB / 450.3 MB, free: 8.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1899, allocations: 190 kB / 450.5 MB, free: 8.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1899, allocations: 4 kB / 450.5 MB, free: 8.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003503/0.1902, allocations: 59.94 kB / 450.6 MB, free: 8.539 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.0002321/0.1905, allocations: 131.2 kB / 450.7 MB, free: 8.402 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.1909, allocations: 262.7 kB / 451 MB, free: 8.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1909, allocations: 4.688 kB / 451 MB, free: 8.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.1911, allocations: 147.4 kB / 451.1 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.1914, allocations: 32.66 kB / 451.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009233/0.1923, allocations: 0.5 MB / 451.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.1927, allocations: 0.7597 MB / 452.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.55e-05/0.1928, allocations: 26.28 kB / 452.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.1929, allocations: 19.72 kB / 452.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1929, allocations: 0 / 452.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of Templates: time 0.005749/0.1986, allocations: 1.829 MB / 454.3 MB, free: 4.77 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)