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.001595/0.001595, allocations: 112.9 kB / 16.42 MB, free: 6.457 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.002465/0.002465, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.312/1.312, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05662/0.05662, 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.00136/0.00136, allocations: 71.22 kB / 391.5 MB, free: 46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07515/0.07652, allocations: 49.02 MB / 440.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002414/0.07897, allocations: 1.898 MB / 442.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.08024, allocations: 0.7958 MB / 443.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.08039, allocations: 19.81 kB / 443.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.08056, allocations: 55.56 kB / 443.3 MB, free: 1.031 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.054e-05/0.08068, allocations: 51.64 kB / 443.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.08116, allocations: 191.6 kB / 443.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.08141, allocations: 291.3 kB / 443.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.08154, allocations: 48.66 kB / 443.9 MB, free: 472 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.08164, allocations: 127.5 kB / 444 MB, free: 344 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.08182, allocations: 115.4 kB / 444.1 MB, free: 228 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.08187, allocations: 16 kB / 444.1 MB, free: 212 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.08199, allocations: 91.92 kB / 444.2 MB, free: 120 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.08207, allocations: 55.77 kB / 444.3 MB, free: 64 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.08217, allocations: 107.3 kB / 444.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.08249, allocations: 279 kB / 444.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.0825, allocations: 0 / 444.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.08251, allocations: 0 / 444.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.08252, allocations: 0 / 444.7 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.000814/0.08334, allocations: 0.6047 MB / 445.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.08338, allocations: 8.031 kB / 445.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/0.08346, allocations: 40.56 kB / 445.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.08394, allocations: 355.2 kB / 445.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.08406, allocations: 153.4 kB / 445.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.08412, allocations: 24.12 kB / 445.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.08449, allocations: 220.4 kB / 446 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.08451, allocations: 4 kB / 446 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.08454, allocations: 8 kB / 446.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.08455, allocations: 4 kB / 446.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.08477, allocations: 119.9 kB / 446.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.08594, allocations: 0.7301 MB / 446.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.08619, allocations: 110.5 kB / 447 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.0863, allocations: 68.83 kB / 447.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.08632, allocations: 0 / 447.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.08652, allocations: 153 kB / 447.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.08654, allocations: 0 / 447.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004754/0.08702, allocations: 291.1 kB / 447.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.08708, allocations: 81.05 kB / 447.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.08735, allocations: 279.2 kB / 447.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.08738, allocations: 33.7 kB / 447.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.08752, allocations: 184 kB / 448.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.08756, allocations: 51.25 kB / 448.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.08765, allocations: 61.88 kB / 448.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.08778, allocations: 342.8 kB / 448.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.08789, allocations: 60.48 kB / 448.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.08805, allocations: 152.1 kB / 448.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.08837, allocations: 287.5 kB / 449 MB, free: 10.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.08838, allocations: 0 / 449 MB, free: 10.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004624/0.08885, allocations: 345.6 kB / 449.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.0889, allocations: 40.05 kB / 449.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.08892, allocations: 4 kB / 449.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.08894, allocations: 7.984 kB / 449.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.08918, allocations: 47.92 kB / 449.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.0892, allocations: 8.359 kB / 449.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.08934, allocations: 31.69 kB / 449.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.08938, allocations: 15.94 kB / 449.5 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.0001529/0.08954, allocations: 191.2 kB / 449.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.08959, allocations: 23.72 kB / 449.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.08965, allocations: 38.22 kB / 449.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.08966, allocations: 4 kB / 449.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.08966, allocations: 0 / 449.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.08973, allocations: 104.7 kB / 449.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.08977, allocations: 11.94 kB / 449.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.08986, allocations: 8 kB / 449.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.08991, allocations: 11.98 kB / 449.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004918/0.09041, allocations: 394.9 kB / 450.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005334/0.09095, allocations: 0.528 MB / 450.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001193/0.09108, allocations: 92.02 kB / 450.9 MB, free: 8.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.09124, allocations: 193.9 kB / 451.1 MB, free: 8.781 MB / 334.1 MB Notification: Performance of Backend: time 3.71e-07/0.09125, allocations: 0 / 451.1 MB, free: 8.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006066/0.09186, allocations: 305.6 kB / 451.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009095/0.09278, allocations: 0.9891 MB / 452.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of Templates: time 0.00525/0.09804, allocations: 2.005 MB / 454.4 MB, free: 5.422 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)