Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001887/0.001887, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.738/1.738, allocations: 230.6 MB / 252.7 MB, free: 9.676 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.00224/0.00224, allocations: 212.4 kB / 309.2 MB, free: 1.953 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/package.mo): time 0.736/0.736, allocations: 119 MB / 484.7 MB, free: 14.69 MB / 346.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.2.0-dev/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_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard") translateModel(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_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.004621/0.004621, allocations: 99.84 kB / 0.6517 GB, free: 6.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.197, allocations: 83.14 MB / 0.7329 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard): time 0.003209/0.2002, allocations: 1.614 MB / 0.7345 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.2016, allocations: 0.5844 MB / 0.735 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.159e-05/0.2016, allocations: 4 kB / 0.7351 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.2017, allocations: 7.875 kB / 0.7351 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.2018, allocations: 27.78 kB / 0.7351 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.2021, allocations: 83.77 kB / 0.7352 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.2024, allocations: 147.6 kB / 0.7353 GB, free: 364 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2025, allocations: 13.3 kB / 0.7353 GB, free: 348 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.2026, allocations: 71.75 kB / 0.7354 GB, free: 276 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2027, allocations: 59.75 kB / 0.7354 GB, free: 216 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.2028, allocations: 12 kB / 0.7355 GB, free: 204 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/0.2028, allocations: 15.98 kB / 0.7355 GB, free: 188 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.2029, allocations: 23.92 kB / 0.7355 GB, free: 164 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.525e-05/0.203, allocations: 55.7 kB / 0.7355 GB, free: 108 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.2031, allocations: 107.6 kB / 0.7356 GB, free: 0 / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2032, allocations: 0 / 0.7356 GB, free: 0 / 0.5105 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2032, allocations: 0 / 0.7356 GB, free: 0 / 0.5105 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2032, allocations: 128 / 0.7356 GB, free: 16 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008108/0.204, allocations: 395.4 kB / 0.736 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.204, allocations: 12.03 kB / 0.736 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.2042, allocations: 24.88 kB / 0.7361 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.2044, allocations: 142.4 kB / 0.7362 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.866e-05/0.2045, allocations: 71.89 kB / 0.7363 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.2045, allocations: 4.375 kB / 0.7363 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.2048, allocations: 111.3 kB / 0.7364 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2048, allocations: 0 / 0.7364 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.2048, allocations: 8 kB / 0.7364 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.2048, allocations: 4 kB / 0.7364 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.2051, allocations: 83.92 kB / 0.7365 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008195/0.2059, allocations: 352.2 kB / 0.7368 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.2061, allocations: 106.3 kB / 0.7369 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.2063, allocations: 52.83 kB / 0.737 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.2063, allocations: 4 kB / 0.737 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/0.2066, allocations: 161.5 kB / 0.7371 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.2066, allocations: 0 / 0.7371 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.0005887/0.2072, allocations: 237.4 kB / 0.7373 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.2073, allocations: 59.34 kB / 0.7374 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.2075, allocations: 148.2 kB / 0.7375 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2075, allocations: 29.7 kB / 0.7376 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.2076, allocations: 100.1 kB / 0.7377 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.465e-05/0.2076, allocations: 47.78 kB / 0.7377 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.25e-05/0.2077, allocations: 45.69 kB / 0.7377 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2079, allocations: 326.8 kB / 0.7381 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.208, allocations: 59.97 kB / 0.7381 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.2082, allocations: 59.84 kB / 0.7382 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.2084, allocations: 91.67 kB / 0.7383 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2084, allocations: 4 kB / 0.7383 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003671/0.2088, allocations: 179.8 kB / 0.7384 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2088, allocations: 4 kB / 0.7384 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2088, allocations: 0 / 0.7384 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2088, allocations: 0 / 0.7384 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.209, allocations: 35.86 kB / 0.7385 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.209, allocations: 0 / 0.7385 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.2092, allocations: 39.86 kB / 0.7385 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.2092, allocations: 8 kB / 0.7385 GB, free: 12.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (lagLimWindupGuard.inputLow,lagLimWindupGuard.inputBelow,lagLimWindupGuard.stateLow,lagLimWindupGuard.inputHigh,lagLimWindupGuard.inputAbove,lagLimWindupGuard.stateHigh,lagLimWindupGuard.atMin,$PRE.lagLimWindupGuard.atMin,lagLimWindupGuard.atMax,$PRE.lagLimWindupGuard.atMax,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001383/0.2093, allocations: 131.5 kB / 0.7386 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.2094, allocations: 11.95 kB / 0.7387 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.2094, allocations: 17.12 kB / 0.7387 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2094, allocations: 4 kB / 0.7387 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2094, allocations: 0 / 0.7387 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2094, allocations: 7.969 kB / 0.7387 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.2097, allocations: 169.2 kB / 0.7388 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2097, allocations: 0 / 0.7388 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.2098, allocations: 27.92 kB / 0.7389 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2098, allocations: 3.984 kB / 0.7389 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.2098, allocations: 4 kB / 0.7389 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2098, allocations: 0 / 0.7389 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2098, allocations: 0 / 0.7389 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.2105, allocations: 295.1 kB / 0.7392 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.2105, allocations: 11.97 kB / 0.7392 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.2105, allocations: 8 kB / 0.7392 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.2107, allocations: 32.03 kB / 0.7392 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.2108, allocations: 35.84 kB / 0.7392 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.2108, allocations: 8 kB / 0.7393 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001078/0.211, allocations: 111.2 kB / 0.7394 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.211, allocations: 0 / 0.7394 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002228/0.2112, allocations: 31.94 kB / 0.7394 GB, free: 11.92 MB / 0.5261 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: 14 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,lagLimWindupGuard.atMax,lagLimWindupGuard.atMin,lagLimWindupGuard.stateHigh,lagLimWindupGuard.inputAbove,lagLimWindupGuard.inputHigh,lagLimWindupGuard.stateLow,lagLimWindupGuard.inputBelow,lagLimWindupGuard.inputLow) * Number of discrete states: 2 (lagLimWindupGuard.atMax,lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001363/0.2113, allocations: 107.2 kB / 0.7395 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004079/0.2117, allocations: 151.8 kB / 0.7396 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2117, allocations: 0 / 0.7396 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.2119, allocations: 89.44 kB / 0.7397 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.2121, allocations: 8 kB / 0.7397 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007143/0.2128, allocations: 297.3 kB / 0.74 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.2129, allocations: 97.86 kB / 0.7401 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.37e-05/0.213, allocations: 13.08 kB / 0.7401 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.2131, allocations: 31.36 kB / 0.7402 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of SimCode: time 4.11e-07/0.2131, allocations: 0 / 0.7402 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.005892/0.219, allocations: 2.066 MB / 0.7422 GB, free: 9.035 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.sim & ./OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.NonElectrical.Continuous.LagLimWindupGuard.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.737280725035816]