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.005669/0.005669, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001195/0.001195, allocations: 189.4 kB / 16.67 MB, free: 5.969 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.474/1.474, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05996/0.05996, allocations: 10.75 MB / 280.6 MB, free: 10.41 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.001645/0.001645, allocations: 71.84 kB / 390.4 MB, free: 5.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3044, allocations: 49 MB / 439.4 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003041/0.3075, allocations: 1.899 MB / 441.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3092, allocations: 0.8012 MB / 442.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.3093, allocations: 15.88 kB / 442.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.3096, allocations: 63.02 kB / 442.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.3097, allocations: 48.2 kB / 442.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.3104, allocations: 201.6 kB / 442.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.3107, allocations: 276.4 kB / 442.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3109, allocations: 53.69 kB / 442.7 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.3111, allocations: 113.6 kB / 442.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.3113, allocations: 123.5 kB / 442.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.3113, allocations: 15.62 kB / 443 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.3115, allocations: 89.22 kB / 443 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-05/0.3116, allocations: 55.08 kB / 443.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3117, allocations: 113.3 kB / 443.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.3122, allocations: 272.5 kB / 443.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3122, allocations: 0 / 443.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3122, allocations: 0 / 443.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3122, allocations: 1.5 kB / 443.5 MB, free: 2.516 MB / 318.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.0008739/0.3131, allocations: 0.5934 MB / 444.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.3132, allocations: 21.89 kB / 444.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.416e-05/0.3132, allocations: 61.36 kB / 444.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.3133, allocations: 36.28 kB / 444.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.3139, allocations: 353.7 kB / 444.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.3141, allocations: 158.4 kB / 444.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.3141, allocations: 25 kB / 444.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.3146, allocations: 218.5 kB / 444.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3146, allocations: 0.9844 kB / 444.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.3146, allocations: 10.28 kB / 444.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.3146, allocations: 4.281 kB / 444.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.3148, allocations: 112.2 kB / 445 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.3161, allocations: 0.7289 MB / 445.8 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.3163, allocations: 110.8 kB / 445.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.3165, allocations: 68.47 kB / 445.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.3165, allocations: 1.125 kB / 445.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.3167, allocations: 141.8 kB / 446.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.3167, allocations: 0 / 446.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005972/0.3173, allocations: 302.4 kB / 446.4 MB, free: 468 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.3174, allocations: 85.98 kB / 446.5 MB, free: 368 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.3177, allocations: 280.1 kB / 446.7 MB, free: 208 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3177, allocations: 27.05 kB / 446.8 MB, free: 176 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3178, allocations: 182.9 kB / 446.9 MB, free: 16 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.46e-05/0.3179, allocations: 59.95 kB / 447 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.318, allocations: 53.61 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3182, allocations: 338.8 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3183, allocations: 62.31 kB / 447.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.3185, allocations: 155.2 kB / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.3188, allocations: 281.4 kB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3188, allocations: 1.562 kB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005458/0.3194, allocations: 343.9 kB / 448.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.3195, allocations: 37.02 kB / 448.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.3195, allocations: 3.438 kB / 448.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.3195, allocations: 4.516 kB / 448.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.3198, allocations: 55.53 kB / 448.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.3198, allocations: 9.531 kB / 448.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.32, allocations: 28.89 kB / 448.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.32, allocations: 15.47 kB / 448.4 MB, free: 14.99 MB / 334.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.0001981/0.3202, allocations: 191 kB / 448.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.3203, allocations: 29.34 kB / 448.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.3203, allocations: 30.34 kB / 448.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3203, allocations: 5.109 kB / 448.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3204, allocations: 5.906 kB / 448.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3204, allocations: 8.484 kB / 448.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000867/0.3212, allocations: 0.6211 MB / 449.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.3213, allocations: 0.7188 kB / 449.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.3215, allocations: 33.28 kB / 449.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3215, allocations: 1.375 kB / 449.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.3216, allocations: 12 kB / 449.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3216, allocations: 1.156 kB / 449.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/0.3216, allocations: 5.828 kB / 449.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.3222, allocations: 453.2 kB / 449.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.3223, allocations: 108.7 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.718e-05/0.3223, allocations: 4.125 kB / 449.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3224, allocations: 4.672 kB / 449.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.3225, allocations: 8.062 kB / 449.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.3225, allocations: 16.12 kB / 449.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002183/0.3228, allocations: 189.5 kB / 450.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3228, allocations: 0 / 450.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004647/0.3232, allocations: 59.92 kB / 450.1 MB, free: 13.8 MB / 334.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.001276/0.3245, allocations: 1.025 MB / 451.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005725/0.3251, allocations: 266.8 kB / 451.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3251, allocations: 0 / 451.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.3254, allocations: 158.6 kB / 451.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.3258, allocations: 18.62 kB / 451.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.3299, allocations: 2.854 MB / 454.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.3304, allocations: 0.7594 MB / 455.2 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.3305, allocations: 31.34 kB / 455.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.3307, allocations: 83.72 kB / 455.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3307, allocations: 288 / 455.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.3668, allocations: 4.843 MB / 460.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.581, allocations: 1.531 kB / 460.2 MB, free: 7.258 MB / 334.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)