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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, 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.001314/0.001314, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.447/1.447, allocations: 205.1 MB / 222 MB, free: 4.973 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05402/0.05402, allocations: 10.74 MB / 280.1 MB, free: 10.95 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.001292/0.001292, allocations: 68.41 kB / 340 MB, free: 23.72 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08399/0.08529, allocations: 49.03 MB / 389 MB, free: 6.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002823/0.08814, allocations: 1.954 MB / 390.9 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.08946, allocations: 0.7998 MB / 391.7 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.08957, allocations: 15.88 kB / 391.8 MB, free: 3.832 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.08976, allocations: 47.7 kB / 391.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.118e-05/0.08986, allocations: 51.75 kB / 391.9 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.0903, allocations: 163.7 kB / 392 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.09054, allocations: 271.2 kB / 392.3 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.09066, allocations: 36.75 kB / 392.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.09077, allocations: 107.4 kB / 392.4 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.09094, allocations: 115.4 kB / 392.5 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.09098, allocations: 8 kB / 392.5 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.09111, allocations: 83.92 kB / 392.6 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.09119, allocations: 47.77 kB / 392.7 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/0.09128, allocations: 103.3 kB / 392.8 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.09154, allocations: 271.2 kB / 393 MB, free: 2.555 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.09155, allocations: 0 / 393 MB, free: 2.555 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.09156, allocations: 0 / 393 MB, free: 2.555 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.09157, allocations: 0 / 393 MB, free: 2.555 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.0007274/0.0923, allocations: 0.5899 MB / 393.6 MB, free: 1.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.09234, allocations: 8.031 kB / 393.6 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.916e-05/0.09239, allocations: 62.67 kB / 393.7 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.09246, allocations: 32.56 kB / 393.7 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.09281, allocations: 327.3 kB / 394 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.09293, allocations: 157.4 kB / 394.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.09298, allocations: 27.94 kB / 394.2 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.09333, allocations: 212.5 kB / 394.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.09334, allocations: 0 / 394.4 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.09337, allocations: 8 kB / 394.4 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.09338, allocations: 4 kB / 394.4 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.0936, allocations: 119.7 kB / 394.6 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.09476, allocations: 0.7262 MB / 395.3 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.09503, allocations: 126.5 kB / 395.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-05/0.09514, allocations: 64.84 kB / 395.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.09516, allocations: 11.97 kB / 395.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.09542, allocations: 133.1 kB / 395.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.09543, allocations: 0 / 395.6 MB, free: 15.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004359/0.09588, allocations: 306.5 kB / 395.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.09594, allocations: 85.09 kB / 396 MB, free: 15.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.0962, allocations: 279.3 kB / 396.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.09623, allocations: 33.7 kB / 396.3 MB, free: 15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.09635, allocations: 176.1 kB / 396.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.333e-05/0.09641, allocations: 55.25 kB / 396.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.09649, allocations: 57.92 kB / 396.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.09661, allocations: 338.8 kB / 396.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.09672, allocations: 60.48 kB / 397 MB, free: 14.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.09686, allocations: 152.2 kB / 397.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.09716, allocations: 286.3 kB / 397.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.09717, allocations: 0 / 397.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004089/0.09759, allocations: 342.5 kB / 397.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.142e-05/0.09766, allocations: 41.69 kB / 397.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.09767, allocations: 8.359 kB / 397.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.09769, allocations: 8 kB / 397.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.09791, allocations: 55.91 kB / 397.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.09793, allocations: 4 kB / 397.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.09804, allocations: 31.72 kB / 397.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.09807, allocations: 8 kB / 397.9 MB, free: 13.29 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.0001629/0.09824, allocations: 179.5 kB / 398.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.09828, allocations: 35.61 kB / 398.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.09833, allocations: 34.3 kB / 398.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.09834, allocations: 0 / 398.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.09835, allocations: 0 / 398.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.09836, allocations: 3.938 kB / 398.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.09903, allocations: 0.6296 MB / 398.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.09905, allocations: 0 / 398.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.09929, allocations: 43.94 kB / 398.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.0993, allocations: 4 kB / 398.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.09932, allocations: 3.938 kB / 398.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.09933, allocations: 4 kB / 398.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.09934, allocations: 0 / 398.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.09985, allocations: 449.6 kB / 399.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.09993, allocations: 100.8 kB / 399.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.09997, allocations: 8 kB / 399.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1001, allocations: 4 kB / 399.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.1001, allocations: 11.98 kB / 399.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.1001, allocations: 11.94 kB / 399.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1003, allocations: 193.9 kB / 399.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1003, allocations: 0 / 399.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.1006, allocations: 59.84 kB / 399.6 MB, free: 11.41 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.0007974/0.1015, allocations: 1.019 MB / 400.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.1018, allocations: 263.1 kB / 400.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1018, allocations: 4.75 kB / 400.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1019, allocations: 159.4 kB / 401.1 MB, free: 9.906 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.1022, allocations: 32.44 kB / 401.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.1051, allocations: 2.908 MB / 404 MB, free: 6.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1054, allocations: 0.7635 MB / 404.8 MB, free: 6.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.569e-05/0.1055, allocations: 26.28 kB / 404.8 MB, free: 5.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.89e-05/0.1056, allocations: 87.41 kB / 404.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1056, allocations: 0 / 404.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.1192, allocations: 4.483 MB / 409.4 MB, free: 1.527 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.1195, allocations: 252.9 kB / 409.6 MB, free: 1.262 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/1.877, allocations: 0 / 409.6 MB, free: 1.262 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Blocks_Examples_TestAntiWindupBlocks.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1)