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.001266/0.001266, 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.001363/0.001363, allocations: 188.2 kB / 16.25 MB, free: 6.625 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.487/1.487, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05587/0.05587, 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.001399/0.001399, allocations: 67.84 kB / 340.1 MB, free: 23.57 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09782/0.09923, allocations: 49.02 MB / 389.2 MB, free: 6.492 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003204/0.1025, allocations: 1.962 MB / 391.1 MB, free: 4.508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1039, allocations: 0.7802 MB / 391.9 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1041, allocations: 15.88 kB / 391.9 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.1043, allocations: 43.7 kB / 392 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1045, allocations: 59.75 kB / 392 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005991/0.1051, allocations: 167.8 kB / 392.2 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.1054, allocations: 279.4 kB / 392.5 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1056, allocations: 40.73 kB / 392.5 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1057, allocations: 123.4 kB / 392.6 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.1059, allocations: 123.4 kB / 392.7 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.1059, allocations: 19.94 kB / 392.8 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1061, allocations: 91.92 kB / 392.9 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.1062, allocations: 51.77 kB / 392.9 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1063, allocations: 115.3 kB / 393 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.1066, allocations: 271.2 kB / 393.3 MB, free: 2.344 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1066, allocations: 0 / 393.3 MB, free: 2.344 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1066, allocations: 0 / 393.3 MB, free: 2.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1066, allocations: 0 / 393.3 MB, free: 2.344 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.0008625/0.1075, allocations: 0.5977 MB / 393.9 MB, free: 1.691 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.1076, allocations: 11.89 kB / 393.9 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.1076, allocations: 54.73 kB / 393.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.1077, allocations: 36.56 kB / 394 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.1081, allocations: 327.3 kB / 394.3 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.1083, allocations: 153.4 kB / 394.4 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.1083, allocations: 23.92 kB / 394.5 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.1087, allocations: 216.5 kB / 394.7 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1087, allocations: 7.984 kB / 394.7 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.1088, allocations: 8 kB / 394.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1088, allocations: 4 kB / 394.7 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.109, allocations: 115.7 kB / 394.8 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.1102, allocations: 0.7417 MB / 395.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.1105, allocations: 106.5 kB / 395.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.396e-05/0.1106, allocations: 72.84 kB / 395.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1106, allocations: 3.938 kB / 395.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/0.1109, allocations: 141 kB / 395.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.1109, allocations: 0 / 395.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004975/0.1114, allocations: 294.9 kB / 396.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1115, allocations: 81.11 kB / 396.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.1117, allocations: 287.3 kB / 396.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.1118, allocations: 25.7 kB / 396.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1119, allocations: 184 kB / 396.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1119, allocations: 55.25 kB / 396.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/0.112, allocations: 57.94 kB / 396.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1122, allocations: 338.8 kB / 397.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.575e-05/0.1123, allocations: 64.48 kB / 397.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1124, allocations: 144.2 kB / 397.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.1127, allocations: 295.3 kB / 397.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.1127, allocations: 4 kB / 397.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004196/0.1131, allocations: 334.6 kB / 398 MB, free: 13.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.1132, allocations: 37.69 kB / 398 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1132, allocations: 7.938 kB / 398 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1132, allocations: 4 kB / 398 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.1135, allocations: 55.91 kB / 398.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.1135, allocations: 8.312 kB / 398.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.1136, allocations: 31.72 kB / 398.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.1136, allocations: 12 kB / 398.1 MB, free: 13.07 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.0001725/0.1138, allocations: 179.5 kB / 398.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.1139, allocations: 31.62 kB / 398.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.1139, allocations: 30.3 kB / 398.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1139, allocations: 3.938 kB / 398.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.114, allocations: 0 / 398.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.114, allocations: 7.922 kB / 398.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000748/0.1147, allocations: 0.6333 MB / 399 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1147, allocations: 0 / 399 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.115, allocations: 35.97 kB / 399.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.115, allocations: 0 / 399.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.115, allocations: 11.94 kB / 399.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.115, allocations: 0 / 399.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1151, allocations: 0 / 399.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.1156, allocations: 457.5 kB / 399.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.1157, allocations: 100.8 kB / 399.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.1157, allocations: 8.062 kB / 399.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1158, allocations: 0 / 399.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.1159, allocations: 15.97 kB / 399.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.116, allocations: 8 kB / 399.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001925/0.1162, allocations: 194 kB / 399.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1162, allocations: 0 / 399.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.1165, allocations: 67.83 kB / 399.9 MB, free: 11.18 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.001029/0.1176, allocations: 1.011 MB / 400.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004011/0.118, allocations: 275.1 kB / 401.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.118, allocations: 0 / 401.2 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.1182, allocations: 155.4 kB / 401.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1185, allocations: 28.78 kB / 401.4 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.1218, allocations: 2.916 MB / 404.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.1222, allocations: 0.7597 MB / 405 MB, free: 5.797 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.1224, allocations: 30.28 kB / 405.1 MB, free: 5.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1225, allocations: 87.2 kB / 405.2 MB, free: 5.688 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1225, allocations: 0 / 405.2 MB, free: 5.688 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.1428, allocations: 4.577 MB / 409.7 MB, free: 1.227 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/0.1432, allocations: 248.9 kB / 410 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.149, allocations: 0 / 410 MB, free: 0.9688 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)