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: translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009948, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009869/0.0009869, allocations: 177.3 kB / 15.95 MB, free: 216 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.278/1.278, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0527/0.0527, allocations: 10.74 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.0004413/0.0004414, allocations: 15.34 kB / 341.6 MB, free: 23.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07769/0.07814, allocations: 50.01 MB / 391.6 MB, free: 5.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.001865/0.08005, allocations: 1.554 MB / 393.2 MB, free: 4.227 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.08122, allocations: 0.7378 MB / 393.9 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.08138, allocations: 11.88 kB / 393.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.0815, allocations: 43.75 kB / 394 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.08163, allocations: 55.84 kB / 394 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.08211, allocations: 147.6 kB / 394.1 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.08235, allocations: 163.6 kB / 394.3 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.08248, allocations: 36.73 kB / 394.3 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.08261, allocations: 95.56 kB / 394.4 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.0828, allocations: 99.52 kB / 394.5 MB, free: 2.848 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.08283, allocations: 8 kB / 394.5 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.08296, allocations: 79.86 kB / 394.6 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.08303, allocations: 43.77 kB / 394.7 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.08309, allocations: 65.56 kB / 394.7 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.08332, allocations: 191.8 kB / 394.9 MB, free: 2.461 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.08333, allocations: 0 / 394.9 MB, free: 2.461 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.08334, allocations: 0 / 394.9 MB, free: 2.461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.08335, allocations: 0 / 394.9 MB, free: 2.461 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.0006928/0.08405, allocations: 0.5392 MB / 395.5 MB, free: 1.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.08408, allocations: 8.031 kB / 395.5 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.154e-05/0.08416, allocations: 39.53 kB / 395.5 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.08456, allocations: 318.2 kB / 395.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.08469, allocations: 156.8 kB / 396 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.08474, allocations: 23.84 kB / 396 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.08508, allocations: 224.5 kB / 396.2 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.0851, allocations: 0 / 396.2 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.08513, allocations: 8 kB / 396.2 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.08514, allocations: 4 kB / 396.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.08535, allocations: 111.7 kB / 396.3 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.08646, allocations: 0.738 MB / 397.1 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.08667, allocations: 106.5 kB / 397.2 MB, free: 0 / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.08672, allocations: 15.98 kB / 397.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.08695, allocations: 133 kB / 397.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.08696, allocations: 0 / 397.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004863/0.08745, allocations: 376.1 kB / 397.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.08751, allocations: 77.11 kB / 397.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.08777, allocations: 287.3 kB / 398 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.0878, allocations: 29.7 kB / 398.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.08793, allocations: 184 kB / 398.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.08797, allocations: 55.28 kB / 398.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.08799, allocations: 4 kB / 398.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.08811, allocations: 342.8 kB / 398.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-05/0.08821, allocations: 60.48 kB / 398.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.08835, allocations: 152.2 kB / 398.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.08849, allocations: 110.4 kB / 399 MB, free: 14.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.0885, allocations: 0 / 399 MB, free: 14.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003997/0.08891, allocations: 329.1 kB / 399.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.08895, allocations: 42 kB / 399.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.08898, allocations: 4 kB / 399.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.089, allocations: 8 kB / 399.3 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.08923, allocations: 55.91 kB / 399.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.08925, allocations: 4 kB / 399.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.08938, allocations: 23.69 kB / 399.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.08941, allocations: 19.94 kB / 399.4 MB, free: 13.57 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.0001572/0.08957, allocations: 187.4 kB / 399.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.08961, allocations: 27.72 kB / 399.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.08966, allocations: 30.3 kB / 399.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.08967, allocations: 0 / 399.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.08968, allocations: 0 / 399.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.08969, allocations: 4 kB / 399.7 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006722/0.09036, allocations: 0.6333 MB / 400.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.09038, allocations: 3.938 kB / 400.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.09062, allocations: 36.02 kB / 400.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.09063, allocations: 0 / 400.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.09066, allocations: 8 kB / 400.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.09067, allocations: 0 / 400.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.09067, allocations: 7.938 kB / 400.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.09119, allocations: 475.1 kB / 400.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/0.09129, allocations: 104.7 kB / 400.9 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.09133, allocations: 8.062 kB / 400.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.09144, allocations: 3.984 kB / 400.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.0915, allocations: 11.95 kB / 401 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.09153, allocations: 11.98 kB / 401 MB, free: 11.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.09169, allocations: 186 kB / 401.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.0917, allocations: 0 / 401.1 MB, free: 11.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.09204, allocations: 55.94 kB / 401.2 MB, free: 11.68 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.0001716/0.09222, allocations: 131.2 kB / 401.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003814/0.09261, allocations: 263.1 kB / 401.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.09262, allocations: 0 / 401.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.09276, allocations: 155.3 kB / 401.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.09297, allocations: 21.91 kB / 401.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.09368, allocations: 0.5686 MB / 402.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.09397, allocations: 0.7677 MB / 403.1 MB, free: 9.691 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.773e-05/0.09408, allocations: 30.28 kB / 403.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.09412, allocations: 19.44 kB / 403.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09412, allocations: 0 / 403.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of Templates: time 0.004698/0.09882, allocations: 1.657 MB / 404.8 MB, free: 7.988 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.makefile Environment - environmentSimulation: (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 & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1) Environment - environmentSimulation: