Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002402/0.002402, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.703/1.703, allocations: 230.6 MB / 252.7 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003009/0.003009, allocations: 214 kB / 309.2 MB, free: 1.926 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.7797/0.7797, allocations: 112 MB / 477.7 MB, free: 5.285 MB / 330.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard") translateModel(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004819/0.004819, allocations: 87.88 kB / 0.6407 GB, free: 4 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1695, allocations: 81.39 MB / 0.7202 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard): time 0.003495/0.173, allocations: 1.591 MB / 0.7217 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1744, allocations: 0.526 MB / 0.7222 GB, free: 344 kB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.1744, allocations: 3.938 kB / 0.7222 GB, free: 340 kB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.1745, allocations: 3.938 kB / 0.7222 GB, free: 336 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.1746, allocations: 23.78 kB / 0.7223 GB, free: 312 kB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.1749, allocations: 55.88 kB / 0.7223 GB, free: 256 kB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1751, allocations: 115.7 kB / 0.7224 GB, free: 140 kB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1752, allocations: 16.22 kB / 0.7224 GB, free: 120 kB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.1754, allocations: 55.83 kB / 0.7225 GB, free: 64 kB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1756, allocations: 51.75 kB / 0.7225 GB, free: 12 kB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.1756, allocations: 12 kB / 0.7225 GB, free: 0 / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.294e-05/0.1757, allocations: 12.05 kB / 0.7226 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.1757, allocations: 23.88 kB / 0.7226 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.1758, allocations: 35.84 kB / 0.7226 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.176, allocations: 95.67 kB / 0.7227 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.176, allocations: 0 / 0.7227 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.874e-06/0.176, allocations: 4 kB / 0.7227 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.176, allocations: 0 / 0.7227 GB, free: 15.83 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009424/0.1769, allocations: 363.6 kB / 0.7231 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.177, allocations: 8.031 kB / 0.7231 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.1771, allocations: 24.81 kB / 0.7231 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.1774, allocations: 155.7 kB / 0.7232 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004247/0.1778, allocations: 59.97 kB / 0.7233 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.1779, allocations: 4.375 kB / 0.7233 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.1781, allocations: 93.75 kB / 0.7234 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1782, allocations: 0 / 0.7234 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1782, allocations: 0 / 0.7234 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1782, allocations: 0 / 0.7234 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.1784, allocations: 47.97 kB / 0.7234 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000787/0.1791, allocations: 328.2 kB / 0.7237 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/0.1796, allocations: 102.6 kB / 0.7238 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1797, allocations: 40.83 kB / 0.7239 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.1798, allocations: 0 / 0.7239 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.18, allocations: 115.3 kB / 0.724 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.18, allocations: 0 / 0.724 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.000525/0.1806, allocations: 157.5 kB / 0.7241 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.1806, allocations: 51.41 kB / 0.7242 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1808, allocations: 152.2 kB / 0.7243 GB, free: 14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.1808, allocations: 25.7 kB / 0.7244 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.1809, allocations: 92.14 kB / 0.7244 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.1809, allocations: 23.84 kB / 0.7245 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.181, allocations: 29.7 kB / 0.7245 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.1812, allocations: 322.8 kB / 0.7248 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.1813, allocations: 39.98 kB / 0.7248 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1815, allocations: 43.91 kB / 0.7249 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.1817, allocations: 80.89 kB / 0.725 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1817, allocations: 0 / 0.725 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003336/0.182, allocations: 129.5 kB / 0.7251 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1821, allocations: 14.19 kB / 0.7251 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1821, allocations: 0 / 0.7251 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1821, allocations: 0 / 0.7251 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1822, allocations: 23.97 kB / 0.7251 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1822, allocations: 4 kB / 0.7251 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.1824, allocations: 23.88 kB / 0.7252 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.1824, allocations: 3.938 kB / 0.7252 GB, free: 13.13 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001276/0.1825, allocations: 121.8 kB / 0.7253 GB, free: 13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.1826, allocations: 20.17 kB / 0.7253 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.1826, allocations: 12.72 kB / 0.7253 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1826, allocations: 0 / 0.7253 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1826, allocations: 3.938 kB / 0.7253 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.1826, allocations: 4 kB / 0.7253 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.1829, allocations: 145.2 kB / 0.7254 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1829, allocations: 0 / 0.7254 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.183, allocations: 23.97 kB / 0.7255 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.183, allocations: 4 kB / 0.7255 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.183, allocations: 0 / 0.7255 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.183, allocations: 4 kB / 0.7255 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.183, allocations: 0 / 0.7255 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.1836, allocations: 204.9 kB / 0.7257 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.1836, allocations: 11.94 kB / 0.7257 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.1836, allocations: 4 kB / 0.7257 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1838, allocations: 19.97 kB / 0.7257 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.1839, allocations: 15.97 kB / 0.7257 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1839, allocations: 8.047 kB / 0.7257 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001107/0.184, allocations: 109 kB / 0.7258 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.184, allocations: 0 / 0.7258 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002016/0.1842, allocations: 20 kB / 0.7259 GB, free: 12.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (simpleLagLim.state,lagLimWindupGuard.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001447/0.1843, allocations: 99.89 kB / 0.7259 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.1847, allocations: 91.89 kB / 0.726 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1847, allocations: 0 / 0.726 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.1848, allocations: 47.97 kB / 0.7261 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.185, allocations: 19.92 kB / 0.7261 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1861, allocations: 300.9 kB / 0.7264 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.1862, allocations: 83.33 kB / 0.7265 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.896e-05/0.1863, allocations: 11.98 kB / 0.7265 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.1864, allocations: 19.38 kB / 0.7265 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.1864, allocations: 0 / 0.7265 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.004872/0.1912, allocations: 1.455 MB / 0.7279 GB, free: 10.2 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.sim & ./OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.475901591591537]