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.001574/0.001574, allocations: 110.8 kB / 16.37 MB, free: 6.004 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.001439/0.001439, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.701/1.701, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05795/0.05795, allocations: 10.74 MB / 281.3 MB, free: 1.309 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.001684/0.001684, allocations: 59.91 kB / 342 MB, free: 4.449 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3214, allocations: 49 MB / 391 MB, free: 49.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002967/0.3244, allocations: 1.903 MB / 392.9 MB, free: 48.6 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.3262, allocations: 0.7909 MB / 393.7 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.3263, allocations: 15.59 kB / 393.7 MB, free: 48.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.3267, allocations: 62.09 kB / 393.8 MB, free: 48.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.3268, allocations: 55.31 kB / 393.8 MB, free: 47.99 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008919/0.3277, allocations: 197.8 kB / 394 MB, free: 47.89 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005217/0.3282, allocations: 291.2 kB / 394.3 MB, free: 47.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.3284, allocations: 49 kB / 394.4 MB, free: 47.74 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.3286, allocations: 116.6 kB / 394.5 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.3289, allocations: 118.7 kB / 394.6 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.329, allocations: 19.62 kB / 394.6 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.3292, allocations: 92.8 kB / 394.7 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3293, allocations: 50.41 kB / 394.7 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.3294, allocations: 109.8 kB / 394.8 MB, free: 47.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004196/0.3298, allocations: 277.8 kB / 395.1 MB, free: 47.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3298, allocations: 0.75 kB / 395.1 MB, free: 47.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3298, allocations: 0 / 395.1 MB, free: 47.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.954e-06/0.3299, allocations: 0 / 395.1 MB, free: 47.39 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.0008356/0.3307, allocations: 0.5975 MB / 395.7 MB, free: 46.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3307, allocations: 10.42 kB / 395.7 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.112e-05/0.3308, allocations: 35.81 kB / 395.8 MB, free: 46.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.3314, allocations: 365.5 kB / 396.1 MB, free: 46.56 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.3315, allocations: 155.2 kB / 396.3 MB, free: 46.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.3316, allocations: 29.11 kB / 396.3 MB, free: 46.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003878/0.332, allocations: 218.7 kB / 396.5 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.332, allocations: 0 / 396.5 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.332, allocations: 7.125 kB / 396.5 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.332, allocations: 4.094 kB / 396.5 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.3322, allocations: 116.2 kB / 396.6 MB, free: 46.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3333, allocations: 0.7294 MB / 397.4 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.3336, allocations: 117.9 kB / 397.5 MB, free: 45.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.3337, allocations: 72.77 kB / 397.6 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3337, allocations: 1.875 kB / 397.6 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.3339, allocations: 137.7 kB / 397.7 MB, free: 45.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.3339, allocations: 0 / 397.7 MB, free: 45.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004869/0.3344, allocations: 294.4 kB / 398 MB, free: 45.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3345, allocations: 84.58 kB / 398.1 MB, free: 45.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.3347, allocations: 285.6 kB / 398.3 MB, free: 45.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3348, allocations: 31.17 kB / 398.4 MB, free: 45.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.3349, allocations: 178.3 kB / 398.5 MB, free: 44.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.3349, allocations: 56.56 kB / 398.6 MB, free: 44.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.179e-05/0.335, allocations: 56.92 kB / 398.7 MB, free: 44.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.3351, allocations: 340.2 kB / 399 MB, free: 44.53 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3352, allocations: 61.22 kB / 399 MB, free: 44.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.3354, allocations: 156.5 kB / 399.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.3356, allocations: 282.4 kB / 399.5 MB, free: 44.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3357, allocations: 1.25 kB / 399.5 MB, free: 44.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004461/0.3361, allocations: 334.8 kB / 399.8 MB, free: 43.99 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.3362, allocations: 49.61 kB / 399.8 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3362, allocations: 2.625 kB / 399.9 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.3362, allocations: 6.562 kB / 399.9 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.3364, allocations: 53.27 kB / 399.9 MB, free: 43.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.3365, allocations: 7.609 kB / 399.9 MB, free: 43.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3366, allocations: 28.25 kB / 399.9 MB, free: 43.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.3366, allocations: 14.5 kB / 400 MB, free: 43.91 MB / 318.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.0001316/0.3367, allocations: 189.9 kB / 400.1 MB, free: 43.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.3368, allocations: 28.5 kB / 400.2 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.3369, allocations: 34.86 kB / 400.2 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3369, allocations: 1.094 kB / 400.2 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3369, allocations: 1.844 kB / 400.2 MB, free: 43.71 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3369, allocations: 4.969 kB / 400.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008331/0.3377, allocations: 0.626 MB / 400.8 MB, free: 43.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3377, allocations: 5.406 kB / 400.8 MB, free: 43.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.338, allocations: 32.34 kB / 400.9 MB, free: 43.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.338, allocations: 5.219 kB / 400.9 MB, free: 43.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.3381, allocations: 12.48 kB / 400.9 MB, free: 43.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3381, allocations: 5.281 kB / 400.9 MB, free: 43.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3381, allocations: 1 kB / 400.9 MB, free: 43.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.3388, allocations: 447.7 kB / 401.3 MB, free: 42.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/0.3389, allocations: 104.1 kB / 401.4 MB, free: 42.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.339, allocations: 8.578 kB / 401.4 MB, free: 42.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3391, allocations: 12.36 kB / 401.5 MB, free: 42.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.3392, allocations: 6.547 kB / 401.5 MB, free: 42.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.3392, allocations: 9.75 kB / 401.5 MB, free: 42.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002591/0.3395, allocations: 193.8 kB / 401.7 MB, free: 42.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3395, allocations: 0 / 401.7 MB, free: 42.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005048/0.34, allocations: 53.97 kB / 401.7 MB, free: 42.72 MB / 318.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.0002615/0.3403, allocations: 130.7 kB / 401.8 MB, free: 42.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004976/0.3408, allocations: 271.1 kB / 402.1 MB, free: 42.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3408, allocations: 0 / 402.1 MB, free: 42.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.341, allocations: 155.2 kB / 402.3 MB, free: 42.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.3414, allocations: 23.41 kB / 402.3 MB, free: 42.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.3424, allocations: 0.5054 MB / 402.8 MB, free: 41.99 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3427, allocations: 0.7632 MB / 403.6 MB, free: 41.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.3428, allocations: 35.17 kB / 403.6 MB, free: 41.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.3429, allocations: 19.69 kB / 403.6 MB, free: 41.23 MB / 318.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3429, allocations: 0 / 403.6 MB, free: 41.23 MB / 318.1 MB Notification: Performance of Templates: time 0.005865/0.3488, allocations: 1.784 MB / 405.4 MB, free: 40.37 MB / 318.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 -s cvode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1)