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.001024/0.001024, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008553/0.0008549, allocations: 168.7 kB / 15.95 MB, free: 204 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.619/1.619, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06354/0.06354, allocations: 10.75 MB / 281.1 MB, free: 10.55 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.0005386/0.0005387, allocations: 16 kB / 341.6 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08816, allocations: 50.01 MB / 391.6 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002002/0.0902, allocations: 1.554 MB / 393.2 MB, free: 4.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.09153, allocations: 0.7378 MB / 393.9 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.09168, allocations: 15.88 kB / 394 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.09191, allocations: 55.67 kB / 394 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.084e-05/0.09201, allocations: 43.77 kB / 394 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.09255, allocations: 143.8 kB / 394.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.09283, allocations: 239.4 kB / 394.4 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.09298, allocations: 36.72 kB / 394.5 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.0931, allocations: 103.5 kB / 394.6 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.09329, allocations: 103.5 kB / 394.7 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.09332, allocations: 8 kB / 394.7 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.09345, allocations: 75.92 kB / 394.7 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.09352, allocations: 43.77 kB / 394.8 MB, free: 2.605 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.09359, allocations: 73.45 kB / 394.9 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.09378, allocations: 183.8 kB / 395 MB, free: 2.348 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.0938, allocations: 0 / 395 MB, free: 2.348 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09381, allocations: 4 kB / 395 MB, free: 2.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.09382, allocations: 0 / 395 MB, free: 2.344 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.0006907/0.09451, allocations: 0.5392 MB / 395.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.09455, allocations: 8.031 kB / 395.6 MB, free: 1.742 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.09462, allocations: 39.53 kB / 395.6 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.095, allocations: 314.2 kB / 395.9 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.09513, allocations: 160.8 kB / 396.1 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.115e-05/0.09518, allocations: 23.91 kB / 396.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.09551, allocations: 220.4 kB / 396.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.09553, allocations: 4 kB / 396.3 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.09556, allocations: 4 kB / 396.3 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.09557, allocations: 4 kB / 396.3 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.09577, allocations: 115.7 kB / 396.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.09682, allocations: 0.7341 MB / 397.2 MB, free: 0 / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.09705, allocations: 114.5 kB / 397.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.09715, allocations: 68.83 kB / 397.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.09717, allocations: 4 kB / 397.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.09738, allocations: 141 kB / 397.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.09739, allocations: 0 / 397.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004303/0.09783, allocations: 295 kB / 397.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.09789, allocations: 89.03 kB / 397.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.09813, allocations: 275.3 kB / 398.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.09816, allocations: 33.7 kB / 398.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.09828, allocations: 184 kB / 398.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.09832, allocations: 47.34 kB / 398.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.09834, allocations: 8 kB / 398.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.09846, allocations: 346.8 kB / 398.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/0.09856, allocations: 60.48 kB / 398.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.09871, allocations: 148.1 kB / 399 MB, free: 14.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.09885, allocations: 110.4 kB / 399.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.09886, allocations: 0 / 399.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000427/0.09929, allocations: 333.1 kB / 399.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.09934, allocations: 38.08 kB / 399.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.09936, allocations: 8 kB / 399.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.09938, allocations: 4 kB / 399.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.0996, allocations: 51.91 kB / 399.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.09962, allocations: 4 kB / 399.5 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.09974, allocations: 35.67 kB / 399.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.09977, allocations: 8 kB / 399.5 MB, free: 13.49 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.0001689/0.09995, allocations: 195.3 kB / 399.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.09998, allocations: 27.72 kB / 399.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.998e-05/0.1, allocations: 30.3 kB / 399.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1, allocations: 4 kB / 399.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1001, allocations: 0 / 399.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1001, allocations: 0 / 399.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006803/0.1008, allocations: 0.6335 MB / 400.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1008, allocations: 4 kB / 400.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.101, allocations: 39.89 kB / 400.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.101, allocations: 4 kB / 400.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.101, allocations: 3.984 kB / 400.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.101, allocations: 4 kB / 400.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1011, allocations: 0 / 400.5 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.1016, allocations: 457.2 kB / 400.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.1016, allocations: 108.8 kB / 401 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.1017, allocations: 11.92 kB / 401 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.1018, allocations: 4 kB / 401 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.1018, allocations: 11.98 kB / 401.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1019, allocations: 4 kB / 401.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.102, allocations: 190 kB / 401.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.102, allocations: 0 / 401.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.1024, allocations: 63.88 kB / 401.3 MB, free: 11.59 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.0001868/0.1026, allocations: 127.2 kB / 401.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.1029, allocations: 263.1 kB / 401.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1029, allocations: 0 / 401.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.1031, allocations: 151.4 kB / 401.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.1034, allocations: 25.41 kB / 401.9 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006688/0.104, allocations: 0.5648 MB / 402.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1044, allocations: 0.7638 MB / 403.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.667e-05/0.1045, allocations: 30.28 kB / 403.2 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.1045, allocations: 19.72 kB / 403.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1045, allocations: 0 / 403.2 MB, free: 9.574 MB / 302.1 MB Notification: Performance of Templates: time 0.004447/0.109, allocations: 1.661 MB / 404.9 MB, free: 7.914 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: