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.0009394/0.0009397, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.006768/0.006768, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.699/1.699, allocations: 205.4 MB / 222.5 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05736/0.05736, allocations: 10.73 MB / 281.5 MB, free: 10.45 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.0005592/0.0005592, allocations: 23.34 kB / 342.2 MB, free: 23.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1263, allocations: 50.01 MB / 392.3 MB, free: 5.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003336/0.1297, allocations: 1.596 MB / 393.9 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.1321, allocations: 0.7959 MB / 394.6 MB, free: 3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.1325, allocations: 15.88 kB / 394.7 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.1328, allocations: 43.75 kB / 394.7 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.133, allocations: 47.77 kB / 394.8 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.1338, allocations: 163.7 kB / 394.9 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004064/0.1342, allocations: 263.3 kB / 395.2 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.1345, allocations: 48.72 kB / 395.2 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1347, allocations: 95.5 kB / 395.3 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.1349, allocations: 119.4 kB / 395.4 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.135, allocations: 8 kB / 395.4 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.1352, allocations: 83.88 kB / 395.5 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1353, allocations: 47.77 kB / 395.6 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.1355, allocations: 129 kB / 395.7 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.1359, allocations: 251.2 kB / 395.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1359, allocations: 0 / 395.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1359, allocations: 0 / 395.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.136, allocations: 3.938 kB / 395.9 MB, free: 1.703 MB / 286.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.00108/0.1371, allocations: 0.5433 MB / 396.5 MB, free: 1.105 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.1371, allocations: 8.031 kB / 396.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.1372, allocations: 44.47 kB / 396.5 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.1378, allocations: 323.3 kB / 396.9 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.138, allocations: 153.4 kB / 397 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/0.1381, allocations: 24.12 kB / 397 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.1386, allocations: 216.5 kB / 397.2 MB, free: 276 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1386, allocations: 7.938 kB / 397.2 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.1387, allocations: 4 kB / 397.2 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.1387, allocations: 4 kB / 397.3 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.139, allocations: 119.7 kB / 397.4 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.1406, allocations: 0.7497 MB / 398.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.1409, allocations: 102.5 kB / 398.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.1411, allocations: 68.83 kB / 398.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.1411, allocations: 4 kB / 398.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.1414, allocations: 145 kB / 398.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.1414, allocations: 0 / 398.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006744/0.1421, allocations: 290.8 kB / 398.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.1422, allocations: 85.16 kB / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.1426, allocations: 291.3 kB / 399.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1426, allocations: 25.7 kB / 399.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.1428, allocations: 176 kB / 399.3 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/0.1429, allocations: 59.23 kB / 399.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.143, allocations: 37.7 kB / 399.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1432, allocations: 334.8 kB / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1433, allocations: 68.48 kB / 399.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.1436, allocations: 152.1 kB / 399.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.144, allocations: 278.4 kB / 400.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.144, allocations: 4 kB / 400.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006475/0.1447, allocations: 342.9 kB / 400.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.476e-05/0.1448, allocations: 37.7 kB / 400.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1448, allocations: 4 kB / 400.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1448, allocations: 4 kB / 400.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.1451, allocations: 51.91 kB / 400.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.1451, allocations: 4 kB / 400.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.1453, allocations: 31.7 kB / 400.7 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.1454, allocations: 20 kB / 400.7 MB, free: 12.56 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.0002059/0.1456, allocations: 183.5 kB / 400.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.1457, allocations: 27.62 kB / 400.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.956e-05/0.1457, allocations: 30.28 kB / 400.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1458, allocations: 0 / 400.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1458, allocations: 3.938 kB / 400.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1458, allocations: 7.938 kB / 400.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009563/0.1468, allocations: 0.6296 MB / 401.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1468, allocations: 11.91 kB / 401.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.1471, allocations: 31.98 kB / 401.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1471, allocations: 0 / 401.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.123e-05/0.1472, allocations: 15.92 kB / 401.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1472, allocations: 0 / 401.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1472, allocations: 0 / 401.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.1479, allocations: 453.5 kB / 402.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.148, allocations: 96.83 kB / 402.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.148, allocations: 11.92 kB / 402.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.1482, allocations: 8.062 kB / 402.2 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.1483, allocations: 7.984 kB / 402.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.1483, allocations: 4 kB / 402.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.1486, allocations: 190 kB / 402.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1486, allocations: 0 / 402.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005066/0.1491, allocations: 67.84 kB / 402.4 MB, free: 10.68 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.0002482/0.1494, allocations: 127.2 kB / 402.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005061/0.1499, allocations: 267.1 kB / 402.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1499, allocations: 0 / 402.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.1501, allocations: 156.1 kB / 403 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1506, allocations: 24.59 kB / 403 MB, free: 10.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.1517, allocations: 0.5885 MB / 403.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.1522, allocations: 0.7638 MB / 404.3 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.1523, allocations: 30.28 kB / 404.4 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.1524, allocations: 19.44 kB / 404.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1524, allocations: 0 / 404.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of Templates: time 0.006859/0.1593, allocations: 1.708 MB / 406.1 MB, free: 6.918 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: