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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 249.9 MB, free: 3.211 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06276/0.06276, allocations: 11.35 MB / 316.4 MB, free: 452 kB / 238.1 MB [Timeout remaining time 90] 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=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.89 kB / 441.1 MB, free: 6.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2804, allocations: 54.82 MB / 495.9 MB, free: 24.67 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002885/0.2833, allocations: 1.915 MB / 497.8 MB, free: 23.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.2846, allocations: 0.7581 MB / 498.6 MB, free: 22.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.2847, allocations: 15.81 kB / 498.6 MB, free: 22.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.2849, allocations: 58.61 kB / 498.6 MB, free: 22.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.285, allocations: 53.91 kB / 498.7 MB, free: 22.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005958/0.2856, allocations: 204.1 kB / 498.9 MB, free: 22.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.2859, allocations: 282.9 kB / 499.2 MB, free: 22.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.286, allocations: 27.41 kB / 499.2 MB, free: 22.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.2862, allocations: 119 kB / 499.3 MB, free: 22.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.2864, allocations: 125.9 kB / 499.4 MB, free: 22.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.2864, allocations: 17.19 kB / 499.4 MB, free: 22.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.2866, allocations: 92.2 kB / 499.5 MB, free: 22.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.2867, allocations: 53.33 kB / 499.6 MB, free: 22.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.585e-05/0.2867, allocations: 108.3 kB / 499.7 MB, free: 22.12 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.2871, allocations: 283.1 kB / 500 MB, free: 21.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2871, allocations: 0.9688 kB / 500 MB, free: 21.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2871, allocations: 3.938 kB / 500 MB, free: 21.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.2871, allocations: 0 / 500 MB, free: 21.92 MB / 366.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.0007353/0.2878, allocations: 0.6058 MB / 0.4888 GB, free: 21.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2879, allocations: 8.5 kB / 0.4888 GB, free: 21.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.639e-05/0.2879, allocations: 35.38 kB / 0.4889 GB, free: 21.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.2884, allocations: 372.7 kB / 0.4892 GB, free: 21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.964e-05/0.2885, allocations: 155.6 kB / 0.4894 GB, free: 20.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.2886, allocations: 24.47 kB / 0.4894 GB, free: 20.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.2889, allocations: 211 kB / 0.4896 GB, free: 20.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2889, allocations: 1.969 kB / 0.4896 GB, free: 20.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.2889, allocations: 9.75 kB / 0.4896 GB, free: 20.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.2889, allocations: 3.875 kB / 0.4896 GB, free: 20.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.2891, allocations: 121.8 kB / 0.4897 GB, free: 20.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.2901, allocations: 0.7243 MB / 0.4904 GB, free: 19.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.2904, allocations: 109.6 kB / 0.4906 GB, free: 19.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.661e-05/0.2905, allocations: 62.45 kB / 0.4906 GB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2905, allocations: 1 kB / 0.4906 GB, free: 19.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.2907, allocations: 140.1 kB / 0.4907 GB, free: 19.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2907, allocations: 0 / 0.4907 GB, free: 19.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004561/0.2911, allocations: 299.3 kB / 0.491 GB, free: 19.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2912, allocations: 89.22 kB / 0.4911 GB, free: 19.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.2914, allocations: 278.2 kB / 0.4914 GB, free: 19.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2914, allocations: 26.7 kB / 0.4914 GB, free: 19.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.2915, allocations: 184.9 kB / 0.4916 GB, free: 19.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.2915, allocations: 55.02 kB / 0.4916 GB, free: 19.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.2916, allocations: 64.56 kB / 0.4917 GB, free: 19.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.534e-05/0.2917, allocations: 342.4 kB / 0.492 GB, free: 18.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.2918, allocations: 61.2 kB / 0.4921 GB, free: 18.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.2919, allocations: 147 kB / 0.4922 GB, free: 18.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.2921, allocations: 285 kB / 0.4925 GB, free: 18.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2921, allocations: 1.062 kB / 0.4925 GB, free: 18.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004031/0.2925, allocations: 342.5 kB / 0.4928 GB, free: 18.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.2926, allocations: 44.56 kB / 0.4929 GB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2926, allocations: 6.25 kB / 0.4929 GB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2926, allocations: 4.625 kB / 0.4929 GB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.2928, allocations: 56.69 kB / 0.4929 GB, free: 18.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2929, allocations: 4.281 kB / 0.4929 GB, free: 18.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.293, allocations: 32.56 kB / 0.493 GB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.293, allocations: 14.19 kB / 0.493 GB, free: 18.02 MB / 366.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.0001305/0.2931, allocations: 184.8 kB / 0.4932 GB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.2932, allocations: 24.7 kB / 0.4932 GB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.837e-05/0.2932, allocations: 31.23 kB / 0.4932 GB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2932, allocations: 1.531 kB / 0.4932 GB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2932, allocations: 0 / 0.4932 GB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2932, allocations: 3.938 kB / 0.4932 GB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.2938, allocations: 0.6317 MB / 0.4938 GB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2938, allocations: 0 / 0.4938 GB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.2941, allocations: 36.25 kB / 0.4939 GB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2941, allocations: 3.984 kB / 0.4939 GB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.2941, allocations: 12.53 kB / 0.4939 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2941, allocations: 4.438 kB / 0.4939 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2941, allocations: 5.312 kB / 0.4939 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.2946, allocations: 455.6 kB / 0.4943 GB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.2946, allocations: 103.5 kB / 0.4944 GB, free: 16.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.2947, allocations: 12.59 kB / 0.4944 GB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.2948, allocations: 6.531 kB / 0.4944 GB, free: 16.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.2948, allocations: 8.703 kB / 0.4944 GB, free: 16.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.2949, allocations: 8.781 kB / 0.4945 GB, free: 16.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.295, allocations: 190.7 kB / 0.4946 GB, free: 16.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.295, allocations: 4 kB / 0.4946 GB, free: 16.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.2954, allocations: 62.36 kB / 0.4947 GB, free: 16.69 MB / 366.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.0002174/0.2956, allocations: 136.3 kB / 0.4948 GB, free: 16.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.296, allocations: 221.6 kB / 0.495 GB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.296, allocations: 0.75 kB / 0.495 GB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.2961, allocations: 132.5 kB / 0.4952 GB, free: 16.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.2964, allocations: 25 kB / 0.4952 GB, free: 16.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.2972, allocations: 0.5295 MB / 0.4957 GB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.2974, allocations: 0.7634 MB / 0.4965 GB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.2974, allocations: 20.09 kB / 0.4965 GB, free: 15.23 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2974, allocations: 0 / 0.4965 GB, free: 15.23 MB / 366.1 MB Notification: Performance of Templates: time 0.005338/0.3028, allocations: 2.98 MB / 0.4994 GB, free: 13.68 MB / 366.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) [Timeout 480]