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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001294, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05651/0.05651, allocations: 10.75 MB / 27.48 MB, free: 1.875 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 235.7 MB, free: 11.74 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009037/0.0009037, allocations: 98.33 kB / 285.5 MB, free: 12.86 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 55.91 kB / 345.3 MB, free: 0.9727 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.206, allocations: 49.01 MB / 394.3 MB, free: 35.57 MB / 298.8 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002502/0.2085, allocations: 1.949 MB / 396.3 MB, free: 33.61 MB / 298.8 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2097, allocations: 0.8049 MB / 397.1 MB, free: 32.8 MB / 298.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.2099, allocations: 15.88 kB / 397.1 MB, free: 32.78 MB / 298.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.2101, allocations: 47.75 kB / 397.1 MB, free: 32.73 MB / 298.8 MB Notification: Performance of NFTyping.typeBindings: time 9.884e-05/0.2102, allocations: 47.75 kB / 397.2 MB, free: 32.69 MB / 298.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.2107, allocations: 166.9 kB / 397.3 MB, free: 32.53 MB / 298.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.2109, allocations: 263.3 kB / 397.6 MB, free: 32.27 MB / 298.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.211, allocations: 48.72 kB / 397.6 MB, free: 32.23 MB / 298.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.2111, allocations: 103.5 kB / 397.7 MB, free: 32.12 MB / 298.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.2113, allocations: 115.4 kB / 397.9 MB, free: 32.01 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.2113, allocations: 8 kB / 397.9 MB, free: 32 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.2115, allocations: 79.92 kB / 397.9 MB, free: 31.93 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.2115, allocations: 55.77 kB / 398 MB, free: 31.87 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.2116, allocations: 111.2 kB / 398.1 MB, free: 31.76 MB / 298.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.2119, allocations: 253.1 kB / 398.3 MB, free: 31.52 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2119, allocations: 0 / 398.3 MB, free: 31.52 MB / 298.8 MB Notification: Performance of FrontEnd: time 8.12e-07/0.2119, allocations: 0 / 398.3 MB, free: 31.52 MB / 298.8 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.2119, allocations: 0 / 398.3 MB, free: 31.52 MB / 298.8 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.0006764/0.2126, allocations: 0.6015 MB / 398.9 MB, free: 30.86 MB / 298.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.2126, allocations: 16.03 kB / 399 MB, free: 30.84 MB / 298.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.2127, allocations: 32.56 kB / 399 MB, free: 30.81 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.213, allocations: 331.2 kB / 399.3 MB, free: 30.45 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.2131, allocations: 153.4 kB / 399.5 MB, free: 30.27 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.2132, allocations: 24.12 kB / 399.5 MB, free: 30.25 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.2135, allocations: 224.5 kB / 399.7 MB, free: 30.02 MB / 298.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2135, allocations: 0 / 399.7 MB, free: 30.02 MB / 298.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.2135, allocations: 11.94 kB / 399.7 MB, free: 30 MB / 298.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2136, allocations: 8 kB / 399.7 MB, free: 30 MB / 298.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.2137, allocations: 119.7 kB / 399.8 MB, free: 29.88 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009487/0.2147, allocations: 0.7301 MB / 400.6 MB, free: 29.09 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.2149, allocations: 114.5 kB / 400.7 MB, free: 28.97 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.765e-05/0.215, allocations: 68.83 kB / 400.8 MB, free: 28.9 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.215, allocations: 0 / 400.8 MB, free: 28.9 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.2152, allocations: 141.9 kB / 400.9 MB, free: 28.75 MB / 298.8 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.2152, allocations: 0 / 400.9 MB, free: 28.75 MB / 298.8 MB Notification: Performance of matching and sorting (n=16): time 0.0003581/0.2155, allocations: 299 kB / 401.2 MB, free: 28.44 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.2156, allocations: 81.05 kB / 401.3 MB, free: 28.34 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.2157, allocations: 287.2 kB / 401.5 MB, free: 28.05 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.2158, allocations: 29.81 kB / 401.6 MB, free: 28.01 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.2158, allocations: 183.9 kB / 401.8 MB, free: 27.83 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.2159, allocations: 51.25 kB / 401.8 MB, free: 27.78 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.2159, allocations: 57.94 kB / 401.9 MB, free: 27.71 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.216, allocations: 338.8 kB / 402.2 MB, free: 27.38 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.2161, allocations: 60.48 kB / 402.3 MB, free: 27.32 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.907e-05/0.2162, allocations: 156.1 kB / 402.4 MB, free: 27.12 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.2164, allocations: 283.3 kB / 402.7 MB, free: 26.8 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2164, allocations: 0 / 402.7 MB, free: 26.8 MB / 298.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003303/0.2167, allocations: 346.5 kB / 403 MB, free: 26.45 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.2168, allocations: 38.08 kB / 403.1 MB, free: 26.4 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.2168, allocations: 8 kB / 403.1 MB, free: 26.39 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2168, allocations: 4 kB / 403.1 MB, free: 26.39 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.217, allocations: 51.91 kB / 403.1 MB, free: 26.34 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/0.2171, allocations: 4 kB / 403.1 MB, free: 26.34 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.2172, allocations: 35.67 kB / 403.2 MB, free: 26.3 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.2172, allocations: 12 kB / 403.2 MB, free: 26.29 MB / 298.8 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.0001066/0.2173, allocations: 180.1 kB / 403.3 MB, free: 26.1 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.2173, allocations: 31.62 kB / 403.4 MB, free: 26.07 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.2174, allocations: 30.3 kB / 403.4 MB, free: 26.04 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2174, allocations: 4 kB / 403.4 MB, free: 26.04 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2174, allocations: 3.984 kB / 403.4 MB, free: 26.03 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2174, allocations: 3.938 kB / 403.4 MB, free: 26.03 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.2179, allocations: 0.6258 MB / 404 MB, free: 25.34 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2179, allocations: 0 / 404 MB, free: 25.34 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.2182, allocations: 39.95 kB / 404.1 MB, free: 25.3 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.2182, allocations: 3.938 kB / 404.1 MB, free: 25.29 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.2182, allocations: 11.92 kB / 404.1 MB, free: 25.28 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2182, allocations: 4 kB / 404.1 MB, free: 25.28 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2182, allocations: 96 / 404.1 MB, free: 25.28 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.2206, allocations: 2.556 MB / 406.7 MB, free: 22.54 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.2207, allocations: 96.83 kB / 406.8 MB, free: 22.43 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.2207, allocations: 8.062 kB / 406.8 MB, free: 22.42 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.2208, allocations: 4 kB / 406.8 MB, free: 22.42 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.2209, allocations: 15.92 kB / 406.8 MB, free: 22.4 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.2209, allocations: 12.12 kB / 406.8 MB, free: 22.39 MB / 298.8 MB Notification: Performance of sorting global known variables: time 0.0001098/0.221, allocations: 193.9 kB / 407 MB, free: 22.2 MB / 298.8 MB Notification: Performance of sort global known variables: time 1.51e-07/0.221, allocations: 0 / 407 MB, free: 22.2 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0003916/0.2214, allocations: 75.84 kB / 407.1 MB, free: 22.13 MB / 298.8 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.0001327/0.2216, allocations: 135.3 kB / 407.2 MB, free: 21.99 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.2218, allocations: 267.2 kB / 407.5 MB, free: 21.71 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2218, allocations: 0 / 407.5 MB, free: 21.71 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.2219, allocations: 155.4 kB / 407.6 MB, free: 21.55 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.2222, allocations: 22.91 kB / 407.6 MB, free: 21.53 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.2229, allocations: 0.7975 MB / 408.4 MB, free: 20.68 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.2231, allocations: 0.7638 MB / 409.2 MB, free: 19.89 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.2232, allocations: 30.28 kB / 409.2 MB, free: 19.86 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.2232, allocations: 23.44 kB / 409.2 MB, free: 19.84 MB / 298.8 MB Notification: Performance of SimCode: time 2.3e-07/0.2232, allocations: 0 / 409.2 MB, free: 19.84 MB / 298.8 MB Notification: Performance of Templates: time 0.004442/0.2277, allocations: 2.185 MB / 411.4 MB, free: 17.66 MB / 298.8 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)