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.0007896/0.0007895, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009217/0.0009218, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05175/0.05175, allocations: 10.75 MB / 281.1 MB, free: 10.56 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.0004646/0.0004646, allocations: 19.98 kB / 341.7 MB, free: 23.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07474/0.07521, allocations: 50 MB / 391.7 MB, free: 5.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.00173/0.07698, allocations: 1.557 MB / 393.3 MB, free: 4.086 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.07806, allocations: 0.7378 MB / 394 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.07818, allocations: 15.88 kB / 394 MB, free: 3.328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.07834, allocations: 51.69 kB / 394.1 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.509e-05/0.07844, allocations: 51.75 kB / 394.1 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.07885, allocations: 143.8 kB / 394.3 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.07909, allocations: 239.4 kB / 394.5 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.07919, allocations: 32.73 kB / 394.6 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.07931, allocations: 103.5 kB / 394.7 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.07947, allocations: 99.52 kB / 394.8 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.0795, allocations: 4 kB / 394.8 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.07962, allocations: 79.88 kB / 394.8 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.07969, allocations: 47.75 kB / 394.9 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.07975, allocations: 65.58 kB / 394.9 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.07993, allocations: 183.8 kB / 395.1 MB, free: 2.246 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.07994, allocations: 0 / 395.1 MB, free: 2.246 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.07995, allocations: 0 / 395.1 MB, free: 2.246 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.07996, allocations: 0 / 395.1 MB, free: 2.246 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.0006256/0.08059, allocations: 0.547 MB / 395.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.08063, allocations: 11.97 kB / 395.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.429e-05/0.08069, allocations: 62.48 kB / 395.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.293e-05/0.08075, allocations: 39.62 kB / 395.8 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.0811, allocations: 314.1 kB / 396.1 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.08123, allocations: 156.8 kB / 396.2 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.08128, allocations: 20 kB / 396.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.08161, allocations: 216.5 kB / 396.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.08162, allocations: 0 / 396.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.08165, allocations: 8 kB / 396.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.08167, allocations: 4 kB / 396.5 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.08188, allocations: 119.7 kB / 396.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.08289, allocations: 0.7341 MB / 397.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.08311, allocations: 118.5 kB / 397.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.969e-05/0.0832, allocations: 68.84 kB / 397.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.08322, allocations: 0 / 397.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.08343, allocations: 137 kB / 397.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.08344, allocations: 4 kB / 397.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004177/0.08387, allocations: 290.9 kB / 397.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.08392, allocations: 81.09 kB / 398 MB, free: 15.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.08416, allocations: 287.3 kB / 398.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.08418, allocations: 25.7 kB / 398.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.08429, allocations: 184 kB / 398.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.08434, allocations: 51.34 kB / 398.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.08435, allocations: 0 / 398.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.08447, allocations: 342.8 kB / 398.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.401e-05/0.08457, allocations: 64.59 kB / 399 MB, free: 14.11 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.08471, allocations: 156.1 kB / 399.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.08485, allocations: 110.3 kB / 399.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.08486, allocations: 0 / 399.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003875/0.08525, allocations: 329.5 kB / 399.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.08529, allocations: 44.81 kB / 399.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.08531, allocations: 4 kB / 399.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.08533, allocations: 7.938 kB / 399.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.08554, allocations: 47.97 kB / 399.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.08556, allocations: 11.88 kB / 399.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.08568, allocations: 27.69 kB / 399.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.08571, allocations: 16 kB / 399.7 MB, free: 13.32 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 ($whenCondition1,signal.a,signal.b,signal.last,$PRE.signal.nextEvent,signal.nextEvent,signal.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.08587, allocations: 191.5 kB / 399.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.0859, allocations: 27.62 kB / 399.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.08596, allocations: 26.3 kB / 399.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.08597, allocations: 4 kB / 399.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.08597, allocations: 0 / 399.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.08598, allocations: 0 / 399.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/0.08661, allocations: 0.6373 MB / 400.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.08662, allocations: 4.031 kB / 400.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.08683, allocations: 31.98 kB / 400.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.08684, allocations: 0 / 400.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.08687, allocations: 8 kB / 400.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.08688, allocations: 3.984 kB / 400.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.08689, allocations: 7.938 kB / 400.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.08734, allocations: 461.4 kB / 401.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.08741, allocations: 100.7 kB / 401.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.08745, allocations: 4 kB / 401.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.08756, allocations: 12.05 kB / 401.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.0876, allocations: 4 kB / 401.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.08762, allocations: 7.984 kB / 401.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.08778, allocations: 189.9 kB / 401.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08778, allocations: 0 / 401.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.08811, allocations: 71.84 kB / 401.5 MB, free: 11.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007249/0.08884, allocations: 0.9919 MB / 402.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.08916, allocations: 267.5 kB / 402.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.08917, allocations: 0 / 402.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.08932, allocations: 159.3 kB / 402.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.0896, allocations: 20.94 kB / 402.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.09151, allocations: 1.638 MB / 404.5 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.09179, allocations: 0.7635 MB / 405.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.755e-05/0.0919, allocations: 30.28 kB / 405.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.092, allocations: 79.41 kB / 405.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of SimCode: time 1.413e-06/0.092, allocations: 0 / 405.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.1064, allocations: 4.416 MB / 409.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.1066, allocations: 226.9 kB / 410 MB, free: 2.801 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/1.78, allocations: 0 / 410 MB, free: 2.801 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/linux/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) Environment - environmentSimulation: