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.001299/0.001299, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001275/0.001275, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06472/0.06472, allocations: 11.19 MB / 302.3 MB, free: 4.148 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 75.86 kB / 365.3 MB, free: 5.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2223, allocations: 51.97 MB / 417.3 MB, free: 22.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002931/0.2253, allocations: 1.884 MB / 419.1 MB, free: 20.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2265, allocations: 0.7585 MB / 419.9 MB, free: 19.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.2266, allocations: 11.88 kB / 419.9 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.2269, allocations: 59.56 kB / 420 MB, free: 19.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.526e-05/0.227, allocations: 56.88 kB / 420 MB, free: 19.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.2275, allocations: 201.9 kB / 420.2 MB, free: 19.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.2278, allocations: 279.4 kB / 420.5 MB, free: 19.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2279, allocations: 44.73 kB / 420.5 MB, free: 19.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.228, allocations: 107.6 kB / 420.6 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.2282, allocations: 119.4 kB / 420.8 MB, free: 18.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.2283, allocations: 18.69 kB / 420.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.2284, allocations: 99.84 kB / 420.9 MB, free: 18.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.2285, allocations: 47.78 kB / 420.9 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.037e-05/0.2286, allocations: 111.3 kB / 421 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.2288, allocations: 269 kB / 421.3 MB, free: 18.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2288, allocations: 0 / 421.3 MB, free: 18.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2289, allocations: 0 / 421.3 MB, free: 18.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.2289, allocations: 7.25 kB / 421.3 MB, free: 18.44 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.0007657/0.2296, allocations: 0.5938 MB / 421.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2297, allocations: 12.03 kB / 421.9 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.2298, allocations: 32.56 kB / 421.9 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.2301, allocations: 331.2 kB / 422.3 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.944e-05/0.2302, allocations: 157.4 kB / 422.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.2303, allocations: 24.12 kB / 422.4 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.2306, allocations: 220.5 kB / 422.7 MB, free: 16.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.2306, allocations: 0 / 422.7 MB, free: 16.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.2307, allocations: 12 kB / 422.7 MB, free: 16.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2307, allocations: 4 kB / 422.7 MB, free: 16.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.2309, allocations: 104 kB / 422.8 MB, free: 16.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009816/0.2319, allocations: 0.7459 MB / 423.5 MB, free: 16.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.2321, allocations: 110.5 kB / 423.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.2322, allocations: 68.83 kB / 423.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.2322, allocations: 4 kB / 423.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.2324, allocations: 145 kB / 423.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.2325, allocations: 0 / 423.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004096/0.2329, allocations: 299 kB / 424.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.2329, allocations: 81.05 kB / 424.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.2331, allocations: 279.3 kB / 424.5 MB, free: 15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.2331, allocations: 29.7 kB / 424.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.2332, allocations: 184.1 kB / 424.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.2333, allocations: 51.25 kB / 424.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.2333, allocations: 61.83 kB / 424.8 MB, free: 14.65 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.2334, allocations: 338.8 kB / 425.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.2335, allocations: 60.48 kB / 425.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.2336, allocations: 157.6 kB / 425.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.2338, allocations: 284.5 kB / 425.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2338, allocations: 4 kB / 425.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000357/0.2342, allocations: 331.6 kB / 425.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.2342, allocations: 41.69 kB / 426 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2342, allocations: 4 kB / 426 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.2343, allocations: 4 kB / 426 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.2345, allocations: 56.28 kB / 426.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2345, allocations: 4 kB / 426.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.2346, allocations: 27.72 kB / 426.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.2347, allocations: 16 kB / 426.1 MB, free: 13.24 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.000137/0.2348, allocations: 187.9 kB / 426.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.2349, allocations: 31.56 kB / 426.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.2349, allocations: 26.3 kB / 426.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2349, allocations: 8 kB / 426.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2349, allocations: 3.938 kB / 426.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2349, allocations: 3.938 kB / 426.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005364/0.2355, allocations: 0.6329 MB / 427 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2355, allocations: 0 / 427 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.2357, allocations: 31.98 kB / 427 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2357, allocations: 0 / 427 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.2358, allocations: 15.97 kB / 427 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2358, allocations: 4 kB / 427 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2358, allocations: 0 / 427 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.2362, allocations: 449.6 kB / 427.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.2362, allocations: 96.77 kB / 427.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.2363, allocations: 7.938 kB / 427.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.2364, allocations: 16.17 kB / 427.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.2365, allocations: 8 kB / 427.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.2365, allocations: 15.92 kB / 427.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.2366, allocations: 186 kB / 427.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2366, allocations: 4 kB / 427.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.237, allocations: 59.91 kB / 427.9 MB, free: 11.35 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.0001664/0.2371, allocations: 123.2 kB / 428 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.2375, allocations: 271.3 kB / 428.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2375, allocations: 0 / 428.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.2376, allocations: 159.3 kB / 428.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.2379, allocations: 24.53 kB / 428.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006913/0.2386, allocations: 0.5336 MB / 429 MB, free: 10.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.2388, allocations: 0.7713 MB / 429.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.2388, allocations: 19.44 kB / 429.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2389, allocations: 0 / 429.8 MB, free: 9.375 MB / 302.1 MB Notification: Performance of Templates: time 0.004738/0.2436, allocations: 2.942 MB / 432.7 MB, free: 6.441 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)