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.001517/0.001517, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.466/1.466, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05872/0.05872, allocations: 10.75 MB / 280.5 MB, free: 10.51 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.001478/0.001478, allocations: 71.89 kB / 340.7 MB, free: 23.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08786/0.08935, allocations: 49.02 MB / 389.7 MB, free: 6.121 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003262/0.09267, allocations: 1.905 MB / 391.6 MB, free: 4.191 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.09396, allocations: 0.7841 MB / 392.4 MB, free: 3.402 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.09408, allocations: 15.88 kB / 392.4 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.09427, allocations: 59.5 kB / 392.4 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.09438, allocations: 59.62 kB / 392.5 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.09494, allocations: 195.6 kB / 392.7 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.09526, allocations: 283.3 kB / 393 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.09542, allocations: 40.73 kB / 393 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.09556, allocations: 119.5 kB / 393.1 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.09577, allocations: 119.4 kB / 393.2 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.09582, allocations: 16 kB / 393.2 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.09599, allocations: 91.92 kB / 393.3 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.179e-05/0.09608, allocations: 51.78 kB / 393.4 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.0962, allocations: 111.3 kB / 393.5 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.0965, allocations: 271.2 kB / 393.8 MB, free: 2 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.09651, allocations: 3.938 kB / 393.8 MB, free: 1.996 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09652, allocations: 0 / 393.8 MB, free: 1.996 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.09653, allocations: 0 / 393.8 MB, free: 1.996 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.0007711/0.0973, allocations: 0.5977 MB / 394.4 MB, free: 1.344 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.09734, allocations: 15.89 kB / 394.4 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.0974, allocations: 54.73 kB / 394.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.09747, allocations: 36.56 kB / 394.5 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.09786, allocations: 327.2 kB / 394.8 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.09798, allocations: 157.4 kB / 394.9 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.09803, allocations: 19.94 kB / 395 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.09839, allocations: 216.5 kB / 395.2 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.09841, allocations: 0 / 395.2 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.09844, allocations: 8 kB / 395.2 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.09846, allocations: 8 kB / 395.2 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.09868, allocations: 119.7 kB / 395.3 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.09986, allocations: 0.7418 MB / 396 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.1001, allocations: 110.5 kB / 396.2 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1002, allocations: 76.62 kB / 396.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1002, allocations: 4 kB / 396.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.1005, allocations: 137.1 kB / 396.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1005, allocations: 0 / 396.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004711/0.101, allocations: 298.9 kB / 396.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.101, allocations: 81.11 kB / 396.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.1013, allocations: 287.3 kB / 397 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.1013, allocations: 33.69 kB / 397.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1015, allocations: 176.1 kB / 397.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.1015, allocations: 51.27 kB / 397.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.1016, allocations: 57.92 kB / 397.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1017, allocations: 334.8 kB / 397.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1018, allocations: 68.48 kB / 397.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.102, allocations: 145.3 kB / 397.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.1023, allocations: 294.3 kB / 398.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1023, allocations: 4 kB / 398.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004443/0.1028, allocations: 338.5 kB / 398.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.1028, allocations: 38.06 kB / 398.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1028, allocations: 4 kB / 398.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1029, allocations: 8 kB / 398.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1031, allocations: 55.91 kB / 398.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.1031, allocations: 4 kB / 398.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1033, allocations: 23.72 kB / 398.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.1033, allocations: 15.98 kB / 398.6 MB, free: 12.72 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.0001482/0.1034, allocations: 183.5 kB / 398.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.1035, allocations: 35.56 kB / 398.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.1035, allocations: 30.3 kB / 398.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1036, allocations: 0 / 398.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1036, allocations: 7.938 kB / 398.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1036, allocations: 3.938 kB / 398.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.1043, allocations: 0.6296 MB / 399.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1043, allocations: 0 / 399.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.1046, allocations: 32.02 kB / 399.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1046, allocations: 4 kB / 399.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.1046, allocations: 11.94 kB / 399.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1046, allocations: 7.922 kB / 399.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1046, allocations: 0 / 399.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/0.1052, allocations: 449.6 kB / 400 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.1052, allocations: 104.8 kB / 400.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.1053, allocations: 12.05 kB / 400.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1054, allocations: 0 / 400.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.1054, allocations: 8 kB / 400.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.1055, allocations: 11.98 kB / 400.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.1056, allocations: 190 kB / 400.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.803e-06/0.1056, allocations: 0 / 400.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003415/0.106, allocations: 63.78 kB / 400.4 MB, free: 10.83 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.0008559/0.1068, allocations: 1.023 MB / 401.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.1072, allocations: 271.8 kB / 401.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1072, allocations: 0 / 401.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.1074, allocations: 159.4 kB / 401.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.1077, allocations: 27.47 kB / 401.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.1108, allocations: 2.834 MB / 404.7 MB, free: 6.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1111, allocations: 0.7635 MB / 405.5 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1113, allocations: 30.28 kB / 405.5 MB, free: 5.492 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.1114, allocations: 87.36 kB / 405.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1114, allocations: 0 / 405.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.1341, allocations: 4.677 MB / 410.3 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/7.892, allocations: 11.95 kB / 410.3 MB, free: 0.7969 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)