Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.0006898/0.0006898, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009308/0.001621, 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.8978/0.8978, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1755/1.073, allocations: 53.65 MB / 242 MB, free: 2.621 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.0007981/0.0007981, allocations: 160.2 kB / 242.9 MB, free: 1.734 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001024/0.001823, allocations: 473.9 kB / 243.4 MB, free: 1.285 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.4538/0.4538, allocations: 89.19 MB / 333.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0512/0.505, allocations: 30.21 MB / 363.5 MB, free: 3.062 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.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 365 MB, free: 1.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.568e-05, allocations: 2.312 kB / 365 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01315/0.01317, allocations: 20.06 MB / 385.1 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01072/0.02389, allocations: 5.332 MB / 390.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/0.02597, allocations: 44 kB / 390.4 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.02735, allocations: 0.9177 MB / 391.4 MB, free: 7.199 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.03131, allocations: 2.407 MB / 393.8 MB, free: 4.777 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.0345, allocations: 2.063 MB / 395.8 MB, free: 2.711 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004892/0.03939, allocations: 5.85 MB / 401.7 MB, free: 12.84 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.04049, allocations: 0.9119 MB / 402.6 MB, free: 11.85 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003932/0.04442, allocations: 4.018 MB / 406.6 MB, free: 7.746 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.04613, allocations: 2.305 MB / 408.9 MB, free: 5.434 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004322/0.04656, allocations: 443.9 kB / 409.4 MB, free: 5 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008889/0.04745, allocations: 0.6091 MB / 410 MB, free: 4.391 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000511/0.04796, allocations: 0.813 MB / 410.8 MB, free: 3.574 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.049, allocations: 1.325 MB / 412.1 MB, free: 2.246 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003036/0.05203, allocations: 4.112 MB / 416.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.301e-05/0.05204, allocations: 0 / 416.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.05205, allocations: 0 / 416.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.518e-05/0.05208, allocations: 4 kB / 416.2 MB, free: 14.11 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: 899 * Number of variables: 899 Notification: Performance of Generate backend data structure: time 0.01357/0.06565, allocations: 10.38 MB / 426.6 MB, free: 3.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.0657, allocations: 12.03 kB / 426.6 MB, free: 3.621 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/0.07881, allocations: 5.126 MB / 431.7 MB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.08115, allocations: 1.791 MB / 433.5 MB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004772/0.08163, allocations: 0.9707 MB / 434.5 MB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.08199, allocations: 348 kB / 434.8 MB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/0.085, allocations: 2.895 MB / 437.7 MB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.08505, allocations: 0 / 437.7 MB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.08529, allocations: 144 kB / 437.9 MB, free: 8.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.08534, allocations: 91.94 kB / 438 MB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.08721, allocations: 1.379 MB / 439.3 MB, free: 6.582 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.01184/0.09905, allocations: 9.494 MB / 448.8 MB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/0.1021, allocations: 2.14 MB / 451 MB, free: 10.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000925/0.1031, allocations: 0.8284 MB / 451.8 MB, free: 9.672 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/0.1034, allocations: 87 kB / 451.9 MB, free: 9.586 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00155/0.1049, allocations: 1.67 MB / 453.6 MB, free: 7.871 MB / 442.7 MB Notification: Performance of pre-optimization done (n=392): time 5.52e-06/0.1049, allocations: 3.984 kB / 453.6 MB, free: 7.867 MB / 442.7 MB Notification: Performance of matching and sorting (n=392): time 0.1173/0.2222, allocations: 53.57 MB / 0.4952 GB, free: 2.145 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.2222, allocations: 124.2 kB / 0.4954 GB, free: 2.004 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2189/0.4412, allocations: 2.711 MB / 0.498 GB, free: 117 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008911/0.442, allocations: 95.52 kB / 0.4981 GB, free: 117 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.4433, allocations: 1.321 MB / 0.4994 GB, free: 116.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001638/0.445, allocations: 1.404 MB / 0.5008 GB, free: 116.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/0.4463, allocations: 0.684 MB / 0.5014 GB, free: 116.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 3.841e-05/0.4463, allocations: 309.8 kB / 0.5017 GB, free: 116 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/0.4485, allocations: 0.949 MB / 0.5027 GB, free: 115.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005346/0.4538, allocations: 1.577 MB / 0.5042 GB, free: 115.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.4647, allocations: 3.074 MB / 0.5072 GB, free: 114.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.742e-05/0.4647, allocations: 4.781 kB / 0.5072 GB, free: 114.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.03081/0.4955, allocations: 10.52 MB / 0.5175 GB, free: 114.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/0.4956, allocations: 67.28 kB / 0.5175 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/0.4956, allocations: 13.06 kB / 0.5175 GB, free: 114.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01766/0.5133, allocations: 7.499 MB / 0.5249 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/0.5157, allocations: 0.7916 MB / 0.5256 GB, free: 112.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02973/0.5454, allocations: 12.41 MB / 0.5378 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00463/0.5501, allocations: 0.5308 MB / 0.5383 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000635/0.5507, allocations: 119.9 kB / 0.5384 GB, free: 100.2 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 (405): * Single equations (assignments): 402 * 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,46,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001526/0.5522, allocations: 366.8 kB / 0.5387 GB, free: 99.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/0.5533, allocations: 399.6 kB / 0.5391 GB, free: 99.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02309/0.5763, allocations: 9.98 MB / 0.5489 GB, free: 89.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.5764, allocations: 37.03 kB / 0.5489 GB, free: 89.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/0.5764, allocations: 31.94 kB / 0.5489 GB, free: 89.31 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.772e-05/0.5765, allocations: 19.94 kB / 0.549 GB, free: 89.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/0.5982, allocations: 11.85 MB / 0.5605 GB, free: 77.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/0.5982, allocations: 0 / 0.5605 GB, free: 77.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.5996, allocations: 461.2 kB / 0.561 GB, free: 77.21 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.6007, allocations: 447.3 kB / 0.5614 GB, free: 76.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01771/0.6185, allocations: 7.554 MB / 0.5688 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008228/0.6193, allocations: 74.05 kB / 0.5689 GB, free: 69.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02157/0.6409, allocations: 12.93 MB / 0.5815 GB, free: 56.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6409, allocations: 0 / 0.5815 GB, free: 56.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01876/0.6596, allocations: 10.87 MB / 0.5921 GB, free: 45.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008262/0.6604, allocations: 68 kB / 0.5922 GB, free: 45.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/0.6624, allocations: 293.7 kB / 0.5924 GB, free: 44.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001614/0.664, allocations: 0.7724 MB / 0.5932 GB, free: 44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.6642, allocations: 67.98 kB / 0.5933 GB, free: 43.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001092/0.6653, allocations: 1.473 MB / 0.5947 GB, free: 42.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6653, allocations: 0 / 0.5947 GB, free: 42.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00386/0.6691, allocations: 1.81 MB / 0.5965 GB, free: 40.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (259): * Single equations (assignments): 254 * 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 {(100,36,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.0004203/0.6696, allocations: 196.3 kB / 0.5966 GB, free: 40.51 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008155/0.6777, allocations: 5.339 MB / 0.6019 GB, free: 35.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.029e-05/0.6778, allocations: 57.81 kB / 0.6019 GB, free: 35.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006562/0.6844, allocations: 4.177 MB / 0.606 GB, free: 30.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/0.687, allocations: 1.454 MB / 0.6074 GB, free: 29.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03916/0.7262, allocations: 7.528 MB / 0.6148 GB, free: 21.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/0.7269, allocations: 0.8022 MB / 0.6156 GB, free: 20.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001196/0.7281, allocations: 368.1 kB / 0.6159 GB, free: 20.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000858/0.729, allocations: 0.5227 MB / 0.6164 GB, free: 20.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/0.729, allocations: 4 kB / 0.6164 GB, free: 20.07 MB / 490.7 MB Notification: Performance of Templates: time 0.3011/1.03, allocations: 103.2 MB / 0.7172 GB, free: 169.5 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.736987405456603]