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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.004764/0.004764, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.001268/0.001268, allocations: 195.4 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06173/0.06173, allocations: 11.21 MB / 301.7 MB, free: 4.023 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 65.36 kB / 417.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.08899, allocations: 51.97 MB / 469.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003038/0.09206, allocations: 1.905 MB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.09341, allocations: 0.7598 MB / 472 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.09353, allocations: 15.88 kB / 472 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.09373, allocations: 51.58 kB / 472.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.09384, allocations: 51.62 kB / 472.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.09439, allocations: 201.6 kB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.09472, allocations: 279.3 kB / 472.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.09485, allocations: 44.73 kB / 472.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.09499, allocations: 115.5 kB / 472.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.09521, allocations: 119.4 kB / 472.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.09525, allocations: 16 kB / 472.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.09541, allocations: 95.92 kB / 473 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.0955, allocations: 51.77 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.09562, allocations: 119.2 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.09595, allocations: 275 kB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.09597, allocations: 0 / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09597, allocations: 0 / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.09598, allocations: 0 / 473.4 MB, free: 10.98 MB / 350.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.0008164/0.0968, allocations: 0.609 MB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.09685, allocations: 19.89 kB / 474 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.09691, allocations: 54.73 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.09698, allocations: 36.75 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.09748, allocations: 363.4 kB / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.09762, allocations: 153.4 kB / 474.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.09767, allocations: 27.92 kB / 474.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003575/0.09803, allocations: 212.6 kB / 474.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.09805, allocations: 3.938 kB / 474.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.09808, allocations: 11.98 kB / 474.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.09809, allocations: 4 kB / 474.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.09831, allocations: 119.6 kB / 475 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.09944, allocations: 0.7267 MB / 475.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.09968, allocations: 118.5 kB / 475.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.933e-05/0.09979, allocations: 64.98 kB / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.09981, allocations: 0 / 475.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.1, allocations: 149 kB / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.193e-06/0.1, allocations: 0 / 476 MB, free: 8.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004619/0.1005, allocations: 299 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.1006, allocations: 77.11 kB / 476.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.1008, allocations: 287.2 kB / 476.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1009, allocations: 29.7 kB / 476.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.101, allocations: 180.3 kB / 476.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.101, allocations: 59.62 kB / 477 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.1011, allocations: 61.83 kB / 477 MB, free: 7.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1013, allocations: 342.8 kB / 477.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.93e-05/0.1014, allocations: 60.48 kB / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.1016, allocations: 149 kB / 477.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.1019, allocations: 294.5 kB / 477.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1019, allocations: 0 / 477.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004348/0.1023, allocations: 338.7 kB / 478.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.818e-05/0.1024, allocations: 37.69 kB / 478.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.1024, allocations: 4 kB / 478.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1024, allocations: 7.938 kB / 478.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.1026, allocations: 52.34 kB / 478.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1027, allocations: 7.938 kB / 478.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.1028, allocations: 35.72 kB / 478.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.1028, allocations: 12 kB / 478.3 MB, free: 5.637 MB / 350.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.0001616/0.103, allocations: 183.1 kB / 478.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.103, allocations: 23.86 kB / 478.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.1031, allocations: 30.3 kB / 478.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1031, allocations: 4 kB / 478.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1031, allocations: 0 / 478.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1031, allocations: 11.92 kB / 478.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007045/0.1038, allocations: 0.625 MB / 479.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1038, allocations: 0 / 479.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.1041, allocations: 35.97 kB / 479.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1041, allocations: 0 / 479.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.1041, allocations: 11.94 kB / 479.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1041, allocations: 4.094 kB / 479.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.1041, allocations: 11.91 kB / 479.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.1046, allocations: 453.7 kB / 479.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.1047, allocations: 100.9 kB / 479.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.1048, allocations: 4.062 kB / 479.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.1049, allocations: 8 kB / 479.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.1049, allocations: 7.984 kB / 479.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.1049, allocations: 12.12 kB / 479.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.1051, allocations: 193.9 kB / 480 MB, free: 3.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1051, allocations: 4 kB / 480 MB, free: 3.812 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.1054, allocations: 55.89 kB / 480.1 MB, free: 3.758 MB / 350.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.0008681/0.1063, allocations: 1.023 MB / 481.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.1067, allocations: 263.2 kB / 481.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1067, allocations: 3.938 kB / 481.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.1069, allocations: 159.3 kB / 481.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1071, allocations: 16.66 kB / 481.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.1101, allocations: 2.853 MB / 484.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1105, allocations: 0.7634 MB / 485.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.596e-05/0.1106, allocations: 26.28 kB / 485.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.1107, allocations: 90.08 kB / 485.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1108, allocations: 0 / 485.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6039/0.7146, allocations: 4.752 MB / 490 MB, free: 9.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.941/10.66, allocations: 4.438 kB / 490 MB, free: 9.754 MB / 366.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)