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.001092/0.001092, allocations: 104.2 kB / 16.37 MB, free: 6.477 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.001168/0.001168, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05608/0.05608, allocations: 10.75 MB / 281.3 MB, free: 1.309 MB / 222.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.001452/0.001453, allocations: 71.91 kB / 342 MB, free: 4.453 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3452, allocations: 49 MB / 391 MB, free: 50 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003647/0.3489, allocations: 1.896 MB / 392.9 MB, free: 48.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3504, allocations: 0.799 MB / 393.7 MB, free: 48.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.3505, allocations: 16.12 kB / 393.7 MB, free: 48.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.3508, allocations: 57.62 kB / 393.8 MB, free: 48.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.3509, allocations: 58.03 kB / 393.8 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.3515, allocations: 192.3 kB / 394 MB, free: 47.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005217/0.3521, allocations: 288.8 kB / 394.3 MB, free: 47.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.3523, allocations: 43.48 kB / 394.3 MB, free: 47.81 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.3525, allocations: 115.8 kB / 394.5 MB, free: 47.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.3527, allocations: 122.6 kB / 394.6 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.3528, allocations: 16.78 kB / 394.6 MB, free: 47.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002191/0.353, allocations: 97.34 kB / 394.7 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.399e-05/0.3531, allocations: 53.52 kB / 394.7 MB, free: 47.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.3533, allocations: 106.2 kB / 394.8 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.3536, allocations: 272.7 kB / 395.1 MB, free: 47.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3536, allocations: 2.109 kB / 395.1 MB, free: 47.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3537, allocations: 0 / 395.1 MB, free: 47.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3537, allocations: 0 / 395.1 MB, free: 47.46 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.000834/0.3545, allocations: 0.6052 MB / 395.7 MB, free: 46.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.3546, allocations: 9.188 kB / 395.7 MB, free: 46.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.152e-05/0.3547, allocations: 36.52 kB / 395.8 MB, free: 46.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.3552, allocations: 363.1 kB / 396.1 MB, free: 46.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.3553, allocations: 153.3 kB / 396.3 MB, free: 46.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.3554, allocations: 26.58 kB / 396.3 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.3558, allocations: 221.1 kB / 396.5 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3558, allocations: 0 / 396.5 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.3558, allocations: 11.23 kB / 396.5 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3558, allocations: 4.625 kB / 396.5 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.3561, allocations: 116.2 kB / 396.6 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.3573, allocations: 0.724 MB / 397.4 MB, free: 45.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3575, allocations: 115.5 kB / 397.5 MB, free: 45.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.3576, allocations: 76.41 kB / 397.5 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3577, allocations: 1.312 kB / 397.5 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.3579, allocations: 138.5 kB / 397.7 MB, free: 45.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.3579, allocations: 0 / 397.7 MB, free: 45.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.000539/0.3584, allocations: 296.3 kB / 398 MB, free: 45.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.3585, allocations: 85.23 kB / 398.1 MB, free: 45.35 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.3587, allocations: 284.6 kB / 398.3 MB, free: 45.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3588, allocations: 32.27 kB / 398.4 MB, free: 45.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3589, allocations: 180.8 kB / 398.5 MB, free: 44.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.3589, allocations: 52.34 kB / 398.6 MB, free: 44.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.359, allocations: 55.2 kB / 398.6 MB, free: 44.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.3591, allocations: 338.5 kB / 399 MB, free: 44.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3592, allocations: 62.84 kB / 399 MB, free: 44.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.3594, allocations: 156.2 kB / 399.2 MB, free: 44.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.3597, allocations: 287.1 kB / 399.5 MB, free: 44.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3597, allocations: 1.219 kB / 399.5 MB, free: 44.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004651/0.3602, allocations: 336.3 kB / 399.8 MB, free: 44.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.3602, allocations: 40.3 kB / 399.8 MB, free: 44.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3602, allocations: 7.906 kB / 399.8 MB, free: 44.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3603, allocations: 12.05 kB / 399.9 MB, free: 44.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.3605, allocations: 51.48 kB / 399.9 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.3605, allocations: 5.031 kB / 399.9 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3607, allocations: 25.86 kB / 399.9 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.3607, allocations: 18.58 kB / 400 MB, free: 43.98 MB / 318.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.0001512/0.3608, allocations: 197.9 kB / 400.2 MB, free: 43.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.3609, allocations: 28.84 kB / 400.2 MB, free: 43.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/0.361, allocations: 34.69 kB / 400.2 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.361, allocations: 1.906 kB / 400.2 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.361, allocations: 1.469 kB / 400.2 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.361, allocations: 4.5 kB / 400.2 MB, free: 43.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.3617, allocations: 0.617 MB / 400.8 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3617, allocations: 5.094 kB / 400.8 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.362, allocations: 33.16 kB / 400.9 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.362, allocations: 4.031 kB / 400.9 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.362, allocations: 14.84 kB / 400.9 MB, free: 43.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.362, allocations: 3.938 kB / 400.9 MB, free: 43.3 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.362, allocations: 1.656 kB / 400.9 MB, free: 43.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.3626, allocations: 452.3 kB / 401.3 MB, free: 43.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.3626, allocations: 104.2 kB / 401.4 MB, free: 42.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.3627, allocations: 12.95 kB / 401.5 MB, free: 42.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3628, allocations: 7.625 kB / 401.5 MB, free: 42.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.3629, allocations: 11.22 kB / 401.5 MB, free: 42.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.3629, allocations: 14.45 kB / 401.5 MB, free: 42.9 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001784/0.3631, allocations: 191 kB / 401.7 MB, free: 42.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3631, allocations: 1.188 kB / 401.7 MB, free: 42.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003885/0.3635, allocations: 53.83 kB / 401.7 MB, free: 42.77 MB / 318.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.0002095/0.3637, allocations: 129.8 kB / 401.9 MB, free: 42.67 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004051/0.3641, allocations: 266.5 kB / 402.1 MB, free: 42.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3641, allocations: 1.156 kB / 402.1 MB, free: 42.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.3643, allocations: 154.1 kB / 402.3 MB, free: 42.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.3646, allocations: 26.08 kB / 402.3 MB, free: 42.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007697/0.3654, allocations: 0.506 MB / 402.8 MB, free: 42.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3657, allocations: 0.7548 MB / 403.6 MB, free: 41.31 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.872e-05/0.3658, allocations: 30.56 kB / 403.6 MB, free: 41.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.3658, allocations: 24.5 kB / 403.6 MB, free: 41.29 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3658, allocations: 0 / 403.6 MB, free: 41.29 MB / 318.1 MB Notification: Performance of Templates: time 0.005784/0.3716, allocations: 1.787 MB / 405.4 MB, free: 40.43 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.makefile (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 -s gbode -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.pipe 2>&1)