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.007433/0.007433, allocations: 98.66 kB / 15.73 MB, free: 5.984 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.001674/0.001675, allocations: 196.1 kB / 16.68 MB, free: 5.918 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.312/1.312, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05792/0.05792, allocations: 10.75 MB / 280.7 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.001608/0.001608, allocations: 68.53 kB / 390.3 MB, free: 5.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2822, allocations: 49.01 MB / 439.4 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002893/0.2851, allocations: 1.906 MB / 441.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2864, allocations: 0.8007 MB / 442.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.2865, allocations: 16.25 kB / 442.1 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.2867, allocations: 58.3 kB / 442.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.2869, allocations: 56.97 kB / 442.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000561/0.2874, allocations: 195.8 kB / 442.4 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.2877, allocations: 277.5 kB / 442.7 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2879, allocations: 54.02 kB / 442.7 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.288, allocations: 113 kB / 442.8 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.2882, allocations: 123.6 kB / 442.9 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.2883, allocations: 20.44 kB / 443 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.2884, allocations: 92.73 kB / 443 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.2885, allocations: 50.59 kB / 443.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.715e-05/0.2886, allocations: 108.7 kB / 443.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.2889, allocations: 273.1 kB / 443.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.289, allocations: 0 / 443.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.289, allocations: 0 / 443.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.289, allocations: 5.25 kB / 443.5 MB, free: 2.512 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.0007282/0.2897, allocations: 0.5969 MB / 444.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.2898, allocations: 13.8 kB / 444.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.743e-05/0.2898, allocations: 54.05 kB / 444.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.2899, allocations: 40.06 kB / 444.2 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.2904, allocations: 358 kB / 444.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-05/0.2905, allocations: 154.4 kB / 444.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.2906, allocations: 25.72 kB / 444.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003657/0.291, allocations: 213.9 kB / 444.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.291, allocations: 4 kB / 444.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.291, allocations: 14.72 kB / 444.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.291, allocations: 3.375 kB / 444.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.2912, allocations: 116.8 kB / 445 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.2924, allocations: 0.7217 MB / 445.8 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.2927, allocations: 110 kB / 445.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.2928, allocations: 72.45 kB / 445.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.2928, allocations: 5.219 kB / 446 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.293, allocations: 143.6 kB / 446.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.293, allocations: 0 / 446.1 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004746/0.2935, allocations: 300.8 kB / 446.4 MB, free: 464 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.2935, allocations: 80.8 kB / 446.5 MB, free: 368 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.2938, allocations: 282.1 kB / 446.7 MB, free: 208 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.2938, allocations: 31.14 kB / 446.8 MB, free: 172 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.2939, allocations: 177.4 kB / 446.9 MB, free: 16 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/0.294, allocations: 57.08 kB / 447 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.2941, allocations: 57.62 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2943, allocations: 339.1 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.2944, allocations: 66.05 kB / 447.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.2946, allocations: 150.6 kB / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.2949, allocations: 283.2 kB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.295, allocations: 1.438 kB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004747/0.2954, allocations: 339 kB / 448.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.669e-05/0.2955, allocations: 41.02 kB / 448.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2955, allocations: 3.156 kB / 448.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2955, allocations: 4.188 kB / 448.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.2958, allocations: 59.5 kB / 448.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.2958, allocations: 9.562 kB / 448.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.2959, allocations: 24.69 kB / 448.3 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.296, allocations: 15.23 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.0001755/0.2961, allocations: 195.3 kB / 448.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.2962, allocations: 29.91 kB / 448.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.413e-05/0.2962, allocations: 29.97 kB / 448.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2963, allocations: 5.125 kB / 448.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2963, allocations: 0 / 448.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.2963, allocations: 4.453 kB / 448.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007263/0.297, allocations: 0.6226 MB / 449.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.297, allocations: 1.688 kB / 449.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.2973, allocations: 35.77 kB / 449.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2973, allocations: 1.219 kB / 449.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.2973, allocations: 13.8 kB / 449.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2973, allocations: 1.25 kB / 449.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2973, allocations: 96 / 449.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.2978, allocations: 455.8 kB / 449.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.2979, allocations: 108.8 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.298, allocations: 7.344 kB / 449.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2981, allocations: 4.266 kB / 449.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.2981, allocations: 11.41 kB / 449.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.2981, allocations: 9.938 kB / 449.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.2984, allocations: 196.1 kB / 450.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2984, allocations: 0 / 450.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.2987, allocations: 65.48 kB / 450.1 MB, free: 13.78 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.0008334/0.2996, allocations: 1.014 MB / 451.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003515/0.2999, allocations: 266.7 kB / 451.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2999, allocations: 0 / 451.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.3001, allocations: 155.3 kB / 451.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3004, allocations: 18.44 kB / 451.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.3034, allocations: 2.852 MB / 454.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.3038, allocations: 0.7596 MB / 455.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.632e-05/0.3039, allocations: 27.19 kB / 455.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-05/0.304, allocations: 87.19 kB / 455.3 MB, free: 9.699 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.304, allocations: 4 kB / 455.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.3277, allocations: 4.848 MB / 460.2 MB, free: 7.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/8.023, allocations: 1.625 kB / 460.2 MB, free: 7.25 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)