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.001216/0.001216, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001672/0.001672, allocations: 190.7 kB / 16.25 MB, free: 6.637 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.38/1.38, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0534/0.0534, allocations: 10.74 MB / 280.2 MB, free: 10.67 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.001276/0.001276, allocations: 71.89 kB / 340 MB, free: 23.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1036, allocations: 49.02 MB / 389.1 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002954/0.1066, allocations: 1.962 MB / 391 MB, free: 4.613 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1078, allocations: 0.7802 MB / 391.8 MB, free: 3.828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1079, allocations: 15.88 kB / 391.8 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.1081, allocations: 43.75 kB / 391.9 MB, free: 3.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.1082, allocations: 59.69 kB / 391.9 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004965/0.1087, allocations: 167.8 kB / 392.1 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.1091, allocations: 287.3 kB / 392.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1092, allocations: 44.73 kB / 392.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1093, allocations: 119.5 kB / 392.5 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.1095, allocations: 123.4 kB / 392.6 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.071e-05/0.1096, allocations: 16 kB / 392.7 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1097, allocations: 95.86 kB / 392.8 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.1098, allocations: 51.78 kB / 392.8 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.1099, allocations: 115.2 kB / 392.9 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.1102, allocations: 263.3 kB / 393.2 MB, free: 2.457 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1102, allocations: 0 / 393.2 MB, free: 2.457 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1102, allocations: 0 / 393.2 MB, free: 2.457 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1102, allocations: 0 / 393.2 MB, free: 2.457 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.0008799/0.1111, allocations: 0.6016 MB / 393.8 MB, free: 1.801 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1112, allocations: 8.031 kB / 393.8 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.1113, allocations: 36.56 kB / 393.8 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.1117, allocations: 323.3 kB / 394.1 MB, free: 1.402 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.1118, allocations: 153.4 kB / 394.3 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.387e-05/0.1119, allocations: 24.12 kB / 394.3 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.1123, allocations: 224.5 kB / 394.5 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1123, allocations: 0 / 394.5 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.1123, allocations: 8 kB / 394.5 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1123, allocations: 7.938 kB / 394.5 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.1126, allocations: 115.7 kB / 394.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.1138, allocations: 0.7457 MB / 395.4 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.114, allocations: 106.5 kB / 395.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.41e-05/0.1141, allocations: 72.81 kB / 395.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.1142, allocations: 0 / 395.6 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.1144, allocations: 145 kB / 395.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1144, allocations: 4 kB / 395.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004597/0.1149, allocations: 287.1 kB / 396 MB, free: 15.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.115, allocations: 85.05 kB / 396.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.1152, allocations: 287.3 kB / 396.4 MB, free: 15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.1153, allocations: 25.7 kB / 396.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1154, allocations: 184 kB / 396.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.1155, allocations: 55.25 kB / 396.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.1156, allocations: 53.94 kB / 396.7 MB, free: 14.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1157, allocations: 342.8 kB / 397 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.1158, allocations: 60.48 kB / 397.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.116, allocations: 152.1 kB / 397.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.1163, allocations: 295.3 kB / 397.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1163, allocations: 0 / 397.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004261/0.1167, allocations: 338.7 kB / 397.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.1167, allocations: 33.7 kB / 397.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1168, allocations: 4 kB / 397.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1168, allocations: 7.984 kB / 397.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.117, allocations: 47.92 kB / 397.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.117, allocations: 7.984 kB / 397.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.1172, allocations: 28 kB / 398 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.1172, allocations: 20 kB / 398 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.0001781/0.1174, allocations: 179.5 kB / 398.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.1174, allocations: 27.62 kB / 398.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.1175, allocations: 30.3 kB / 398.2 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1175, allocations: 0 / 398.2 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1175, allocations: 7.938 kB / 398.2 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1175, allocations: 7.875 kB / 398.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006875/0.1182, allocations: 0.6333 MB / 398.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-06/0.1182, allocations: 0 / 398.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.1185, allocations: 35.98 kB / 398.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1185, allocations: 3.984 kB / 398.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.1185, allocations: 11.94 kB / 398.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1185, allocations: 0 / 398.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1185, allocations: 0 / 398.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.1191, allocations: 453.7 kB / 399.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.1191, allocations: 104.8 kB / 399.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.1192, allocations: 8 kB / 399.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1193, allocations: 8 kB / 399.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.1194, allocations: 7.984 kB / 399.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.1194, allocations: 8 kB / 399.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002041/0.1196, allocations: 190 kB / 399.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1196, allocations: 0 / 399.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.1199, allocations: 71.83 kB / 399.8 MB, free: 11.36 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.0002065/0.1202, allocations: 123.2 kB / 399.9 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004123/0.1206, allocations: 271.1 kB / 400.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1206, allocations: 0.75 kB / 400.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.1208, allocations: 159.3 kB / 400.3 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.0002951/0.1211, allocations: 24.7 kB / 400.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009164/0.122, allocations: 0.5706 MB / 400.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1224, allocations: 0.7597 MB / 401.6 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1225, allocations: 34.28 kB / 401.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.1225, allocations: 23.38 kB / 401.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1225, allocations: 0 / 401.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of Templates: time 0.005787/0.1283, allocations: 1.776 MB / 403.5 MB, free: 7.535 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)