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.00126/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001343/0.001343, allocations: 193 kB / 16.13 MB, free: 6.66 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.806/1.806, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05384/0.05383, allocations: 10.74 MB / 280.1 MB, free: 10.71 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.001262/0.001262, allocations: 55.92 kB / 339.8 MB, free: 23.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/0.09572, allocations: 49.03 MB / 388.9 MB, free: 6.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003732/0.09951, allocations: 1.95 MB / 390.8 MB, free: 4.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1015, allocations: 0.8113 MB / 391.6 MB, free: 3.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.1017, allocations: 19.81 kB / 391.7 MB, free: 3.879 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.1022, allocations: 43.77 kB / 391.7 MB, free: 3.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.1023, allocations: 51.75 kB / 391.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.1029, allocations: 155.8 kB / 391.9 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.1034, allocations: 263.3 kB / 392.2 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.1036, allocations: 48.72 kB / 392.2 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1037, allocations: 103.5 kB / 392.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.104, allocations: 119.4 kB / 392.4 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.104, allocations: 8 kB / 392.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.1042, allocations: 79.92 kB / 392.5 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1043, allocations: 47.77 kB / 392.6 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1045, allocations: 107.3 kB / 392.7 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.1049, allocations: 255.3 kB / 392.9 MB, free: 2.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1049, allocations: 0 / 392.9 MB, free: 2.625 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.408e-06/0.1049, allocations: 0 / 392.9 MB, free: 2.625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1049, allocations: 3.938 kB / 392.9 MB, free: 2.621 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.0009458/0.1059, allocations: 0.6016 MB / 393.5 MB, free: 1.965 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1059, allocations: 12.02 kB / 393.5 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.519e-05/0.106, allocations: 40.56 kB / 393.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.1064, allocations: 319.3 kB / 393.9 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.1066, allocations: 153.4 kB / 394 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.1066, allocations: 24.12 kB / 394.1 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.1071, allocations: 216.5 kB / 394.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1071, allocations: 4 kB / 394.3 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.1072, allocations: 4 kB / 394.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1072, allocations: 4 kB / 394.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.1076, allocations: 123.7 kB / 394.4 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.1089, allocations: 0.7379 MB / 395.1 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.1092, allocations: 106.5 kB / 395.2 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.1093, allocations: 76.81 kB / 395.3 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1093, allocations: 0 / 395.3 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003978/0.1097, allocations: 141 kB / 395.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.1097, allocations: 4 kB / 395.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005054/0.1103, allocations: 287 kB / 395.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.1103, allocations: 89.09 kB / 395.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003781/0.1107, allocations: 287.3 kB / 396.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.1108, allocations: 25.7 kB / 396.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1109, allocations: 184 kB / 396.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.111, allocations: 51.25 kB / 396.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.111, allocations: 57.94 kB / 396.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002524/0.1113, allocations: 338.8 kB / 396.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1114, allocations: 68.42 kB / 396.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.1116, allocations: 148.2 kB / 397 MB, free: 14.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.112, allocations: 282.3 kB / 397.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.112, allocations: 4 kB / 397.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005565/0.1126, allocations: 346.6 kB / 397.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.1127, allocations: 37.7 kB / 397.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1127, allocations: 4 kB / 397.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1127, allocations: 4 kB / 397.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.1129, allocations: 51.91 kB / 397.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.113, allocations: 4 kB / 397.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.1131, allocations: 31.98 kB / 397.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.1131, allocations: 24 kB / 397.7 MB, free: 13.4 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.0001745/0.1133, allocations: 175.5 kB / 397.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.1133, allocations: 31.62 kB / 397.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.1134, allocations: 26.3 kB / 398 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1134, allocations: 0 / 398 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1134, allocations: 0 / 398 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1134, allocations: 3.938 kB / 398 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007715/0.1142, allocations: 0.645 MB / 398.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1142, allocations: 0 / 398.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.1145, allocations: 35.92 kB / 398.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1145, allocations: 0 / 398.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.1145, allocations: 15.92 kB / 398.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1145, allocations: 0 / 398.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1145, allocations: 0 / 398.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.1151, allocations: 449.6 kB / 399.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.1152, allocations: 100.8 kB / 399.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.1152, allocations: 7.938 kB / 399.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1153, allocations: 4.062 kB / 399.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.1154, allocations: 15.92 kB / 399.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1154, allocations: 4 kB / 399.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1156, allocations: 190 kB / 399.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1156, allocations: 0 / 399.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.116, allocations: 71.84 kB / 399.5 MB, free: 11.53 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.0001907/0.1162, allocations: 131.2 kB / 399.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.1166, allocations: 259.2 kB / 399.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1166, allocations: 4.031 kB / 399.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.1167, allocations: 152.1 kB / 400 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.117, allocations: 32.88 kB / 400.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.1179, allocations: 0.576 MB / 400.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.1183, allocations: 0.7599 MB / 401.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.719e-05/0.1184, allocations: 30.28 kB / 401.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.1184, allocations: 19.44 kB / 401.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1185, allocations: 0 / 401.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of Templates: time 0.005074/0.1235, allocations: 1.704 MB / 403.1 MB, free: 7.785 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)