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.007074/0.007074, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001373/0.001374, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.646/1.646, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05745/0.05745, allocations: 10.73 MB / 280.6 MB, free: 10.42 MB / 238.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.001755/0.001755, allocations: 64.53 kB / 390.9 MB, free: 5.012 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.282, allocations: 49.01 MB / 439.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003733/0.2858, allocations: 1.895 MB / 441.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.2873, allocations: 0.7971 MB / 442.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.2875, allocations: 16.12 kB / 442.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.2877, allocations: 54.09 kB / 442.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.2879, allocations: 57.52 kB / 442.7 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007867/0.2887, allocations: 200.5 kB / 442.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000496/0.2892, allocations: 280.3 kB / 443.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.2894, allocations: 48.5 kB / 443.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.2896, allocations: 112.6 kB / 443.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.2899, allocations: 124.5 kB / 443.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.29, allocations: 15.84 kB / 443.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.2902, allocations: 92.03 kB / 443.5 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2903, allocations: 58.75 kB / 443.6 MB, free: 2.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.2904, allocations: 109.2 kB / 443.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.2908, allocations: 274.4 kB / 444 MB, free: 2.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2909, allocations: 0 / 444 MB, free: 2.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2909, allocations: 1.094 kB / 444 MB, free: 2.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.2909, allocations: 0 / 444 MB, free: 2.777 MB / 318.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.0009044/0.2918, allocations: 0.6057 MB / 444.6 MB, free: 2.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.2918, allocations: 13.72 kB / 444.6 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.846e-05/0.2919, allocations: 35.31 kB / 444.6 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/0.2925, allocations: 358.8 kB / 445 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.2926, allocations: 155.2 kB / 445.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.2926, allocations: 20.7 kB / 445.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.2931, allocations: 221.9 kB / 445.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2931, allocations: 5.281 kB / 445.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.2931, allocations: 5.531 kB / 445.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.2931, allocations: 4.562 kB / 445.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.2934, allocations: 112.9 kB / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.2947, allocations: 0.7253 MB / 446.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.295, allocations: 113.5 kB / 446.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.2951, allocations: 72.83 kB / 446.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.2951, allocations: 1.453 kB / 446.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.2953, allocations: 146.2 kB / 446.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.2954, allocations: 0 / 446.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006104/0.296, allocations: 293.9 kB / 446.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.296, allocations: 89.47 kB / 446.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.2964, allocations: 276.1 kB / 447.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.2964, allocations: 31.77 kB / 447.2 MB, free: 492 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.2965, allocations: 178.6 kB / 447.4 MB, free: 336 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.2966, allocations: 59.81 kB / 447.4 MB, free: 288 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.773e-05/0.2967, allocations: 54.44 kB / 447.5 MB, free: 256 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2969, allocations: 339 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.297, allocations: 65.34 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.2973, allocations: 150.7 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.2976, allocations: 282.3 kB / 448.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2976, allocations: 1.406 kB / 448.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005442/0.2982, allocations: 343.8 kB / 448.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.2982, allocations: 37.62 kB / 448.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2983, allocations: 2.375 kB / 448.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2983, allocations: 8.906 kB / 448.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.2985, allocations: 55.53 kB / 448.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.2986, allocations: 9.219 kB / 448.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.2987, allocations: 28.31 kB / 448.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.2987, allocations: 11.84 kB / 448.8 MB, free: 15.31 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.0001678/0.2989, allocations: 199.2 kB / 449 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.2989, allocations: 29.92 kB / 449 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.299, allocations: 31 kB / 449.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.299, allocations: 0 / 449.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.299, allocations: 5.422 kB / 449.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.299, allocations: 8.641 kB / 449.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006976/0.2997, allocations: 0.6172 MB / 449.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2998, allocations: 3.844 kB / 449.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.3, allocations: 38.38 kB / 449.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3, allocations: 0 / 449.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.3, allocations: 11.88 kB / 449.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3, allocations: 0 / 449.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3001, allocations: 5.625 kB / 449.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.3007, allocations: 447.4 kB / 450.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.3007, allocations: 108.3 kB / 450.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.3008, allocations: 12.06 kB / 450.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3009, allocations: 4 kB / 450.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.301, allocations: 7.703 kB / 450.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.301, allocations: 15.69 kB / 450.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.3012, allocations: 198.4 kB / 450.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3012, allocations: 0 / 450.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004009/0.3016, allocations: 59.62 kB / 450.6 MB, free: 14 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.0002241/0.3019, allocations: 135.7 kB / 450.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.3022, allocations: 254.4 kB / 451 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3023, allocations: 9.906 kB / 451 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.3024, allocations: 157.9 kB / 451.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3028, allocations: 18.28 kB / 451.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/0.3036, allocations: 0.4999 MB / 451.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.3039, allocations: 0.7641 MB / 452.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.3041, allocations: 27.28 kB / 452.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.3041, allocations: 22.88 kB / 452.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3041, allocations: 1.031 kB / 452.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of Templates: time 0.005323/0.3094, allocations: 1.816 MB / 454.3 MB, free: 11.59 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)