Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.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.001163/0.001163, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001759/0.002922, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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 0.8901/0.8901, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1584/1.049, allocations: 53.65 MB / 242 MB, free: 2.625 MB / 234.7 MB " [Timeout remaining time 179] 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.0008231/0.0008231, allocations: 154.3 kB / 242.9 MB, free: 1.738 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.001964, allocations: 477.1 kB / 243.4 MB, free: 1.285 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.4294/0.4294, allocations: 89.1 MB / 333.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04836/0.4778, allocations: 30.2 MB / 363.4 MB, free: 3.105 MB / 346.7 MB " [Timeout remaining time 180] 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.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 364.9 MB, free: 1.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.35e-05, allocations: 2.312 kB / 364.9 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.0179/0.01792, allocations: 20.25 MB / 385.2 MB, free: 13.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.02995, allocations: 5.367 MB / 390.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003759/0.0337, allocations: 44 kB / 390.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.03644, allocations: 0.9216 MB / 391.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006769/0.04321, allocations: 2.43 MB / 393.9 MB, free: 4.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004282/0.04749, allocations: 2.071 MB / 396 MB, free: 2.516 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007316/0.0548, allocations: 5.921 MB / 401.9 MB, free: 12.57 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.05657, allocations: 0.9119 MB / 402.8 MB, free: 11.58 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008117/0.06469, allocations: 4.049 MB / 406.9 MB, free: 7.445 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003355/0.06804, allocations: 2.34 MB / 409.2 MB, free: 5.098 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001325/0.06937, allocations: 448 kB / 409.6 MB, free: 4.66 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.07113, allocations: 0.6091 MB / 410.3 MB, free: 4.051 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007575/0.07188, allocations: 0.8208 MB / 411.1 MB, free: 3.227 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002095/0.07398, allocations: 1.348 MB / 412.4 MB, free: 1.875 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004434/0.07841, allocations: 4.139 MB / 416.6 MB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.558e-05/0.07843, allocations: 0 / 416.6 MB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.07843, allocations: 4 kB / 416.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001724/0.0786, allocations: 0 / 416.6 MB, free: 13.71 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 901 * Number of variables: 901 Notification: Performance of Generate backend data structure: time 0.01773/0.09634, allocations: 10.46 MB / 427 MB, free: 3.164 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.09638, allocations: 15.98 kB / 427 MB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/0.1119, allocations: 5.134 MB / 432.2 MB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/0.1159, allocations: 1.795 MB / 434 MB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005616/0.1164, allocations: 0.9708 MB / 434.9 MB, free: 11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007183/0.1171, allocations: 363.9 kB / 435.3 MB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/0.1209, allocations: 2.892 MB / 438.2 MB, free: 7.715 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.583e-05/0.1209, allocations: 4 kB / 438.2 MB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002475/0.1212, allocations: 144 kB / 438.3 MB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.1212, allocations: 91.94 kB / 438.4 MB, free: 7.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.1234, allocations: 1.379 MB / 439.8 MB, free: 6.082 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01696/0.1404, allocations: 9.517 MB / 449.3 MB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00343/0.1438, allocations: 2.144 MB / 451.5 MB, free: 9.992 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.1451, allocations: 0.8353 MB / 452.3 MB, free: 9.145 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/0.1454, allocations: 87.02 kB / 452.4 MB, free: 9.059 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002024/0.1474, allocations: 1.663 MB / 454 MB, free: 7.348 MB / 442.7 MB Notification: Performance of pre-optimization done (n=394): time 8.125e-06/0.1474, allocations: 0 / 454 MB, free: 7.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=394): time 0.1197/0.2671, allocations: 53.92 MB / 0.4961 GB, free: 1.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.2672, allocations: 120.2 kB / 0.4962 GB, free: 1.133 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1916/0.4587, allocations: 2.73 MB / 0.4988 GB, free: 119 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009127/0.4596, allocations: 92.73 kB / 0.4989 GB, free: 119 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.4608, allocations: 1.331 MB / 0.5002 GB, free: 118.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001731/0.4626, allocations: 1.415 MB / 0.5016 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.4639, allocations: 0.6933 MB / 0.5023 GB, free: 118.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.958e-05/0.4639, allocations: 308.2 kB / 0.5026 GB, free: 117.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.4658, allocations: 0.9581 MB / 0.5035 GB, free: 117.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.4682, allocations: 1.594 MB / 0.5051 GB, free: 117.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004174/0.4723, allocations: 3.099 MB / 0.5081 GB, free: 116.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.641e-05/0.4724, allocations: 3.969 kB / 0.5081 GB, free: 116.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.02542/0.4978, allocations: 10.6 MB / 0.5185 GB, free: 116.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.4979, allocations: 65.92 kB / 0.5185 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.152e-05/0.498, allocations: 15.33 kB / 0.5185 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02561/0.5236, allocations: 7.574 MB / 0.5259 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/0.5261, allocations: 0.8003 MB / 0.5267 GB, free: 112.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02493/0.5511, allocations: 12.55 MB / 0.539 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/0.5547, allocations: 0.5402 MB / 0.5395 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004467/0.5551, allocations: 120 kB / 0.5396 GB, free: 100.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 14 (aVRTypeII.lagLimWindupGuard.inputLow,aVRTypeII.lagLimWindupGuard.inputBelow,aVRTypeII.lagLimWindupGuard.stateLow,aVRTypeII.lagLimWindupGuard.inputHigh,aVRTypeII.lagLimWindupGuard.inputAbove,aVRTypeII.lagLimWindupGuard.stateHigh,aVRTypeII.lagLimWindupGuard.atMin,$PRE.aVRTypeII.lagLimWindupGuard.atMin,aVRTypeII.lagLimWindupGuard.atMax,$PRE.aVRTypeII.lagLimWindupGuard.atMax,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (411): * Single equations (assignments): 408 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(92,48,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001268/0.5564, allocations: 361.4 kB / 0.54 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008601/0.5572, allocations: 403 kB / 0.5403 GB, free: 99.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/0.5743, allocations: 9.985 MB / 0.5501 GB, free: 89.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.5743, allocations: 42.44 kB / 0.5501 GB, free: 89.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.596e-05/0.5743, allocations: 28 kB / 0.5502 GB, free: 89.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-05/0.5744, allocations: 19.92 kB / 0.5502 GB, free: 89.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02254/0.597, allocations: 11.89 MB / 0.5618 GB, free: 77.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/0.597, allocations: 0 / 0.5618 GB, free: 77.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.5985, allocations: 463.4 kB / 0.5622 GB, free: 77.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.5997, allocations: 436 kB / 0.5626 GB, free: 76.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01861/0.6183, allocations: 7.532 MB / 0.57 GB, free: 69.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008698/0.6192, allocations: 79.86 kB / 0.5701 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02202/0.6412, allocations: 12.93 MB / 0.5827 GB, free: 56.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.6412, allocations: 4 kB / 0.5827 GB, free: 56.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/0.6607, allocations: 10.9 MB / 0.5933 GB, free: 45.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008801/0.6616, allocations: 62.19 kB / 0.5934 GB, free: 45.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/0.6637, allocations: 291.7 kB / 0.5937 GB, free: 44.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001824/0.6655, allocations: 0.7801 MB / 0.5944 GB, free: 44.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001986/0.6657, allocations: 67.97 kB / 0.5945 GB, free: 43.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001166/0.6669, allocations: 1.487 MB / 0.596 GB, free: 42.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6669, allocations: 0 / 0.596 GB, free: 42.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004181/0.671, allocations: 1.822 MB / 0.5977 GB, free: 40.65 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.lagLimWindupGuard.state) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,aVRTypeII.lagLimWindupGuard.atMax,aVRTypeII.lagLimWindupGuard.atMin,aVRTypeII.lagLimWindupGuard.stateHigh,aVRTypeII.lagLimWindupGuard.inputAbove,aVRTypeII.lagLimWindupGuard.inputHigh,aVRTypeII.lagLimWindupGuard.stateLow,aVRTypeII.lagLimWindupGuard.inputBelow,aVRTypeII.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (aVRTypeII.lagLimWindupGuard.atMax,aVRTypeII.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 256 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005147/0.6716, allocations: 191.8 kB / 0.5979 GB, free: 40.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00884/0.6804, allocations: 5.405 MB / 0.6032 GB, free: 35.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000102/0.6805, allocations: 61.8 kB / 0.6033 GB, free: 34.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006504/0.687, allocations: 4.131 MB / 0.6073 GB, free: 30.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/0.6899, allocations: 1.454 MB / 0.6087 GB, free: 29.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0426/0.7325, allocations: 7.58 MB / 0.6161 GB, free: 21.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006739/0.7331, allocations: 0.8066 MB / 0.6169 GB, free: 20.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001229/0.7344, allocations: 384.2 kB / 0.6173 GB, free: 20.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009342/0.7353, allocations: 0.5227 MB / 0.6178 GB, free: 19.9 MB / 490.7 MB Notification: Performance of SimCode: time 3.497e-06/0.7353, allocations: 0 / 0.6178 GB, free: 19.9 MB / 490.7 MB Notification: Performance of Templates: time 0.2817/1.017, allocations: 104 MB / 0.7194 GB, free: 171.2 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.431755964644253]