Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.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.001425/0.001425, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 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.498/1.498, allocations: 177.1 MB / 199.7 MB, free: 5.805 MB / 186.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.00168/0.00168, allocations: 164.6 kB / 256.3 MB, free: 13.16 MB / 250.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.4626/0.4626, allocations: 80.38 MB / 393.1 MB, free: 2.152 MB / 314.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.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 489.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.527e-05/3.738e-05, allocations: 10.25 kB / 489.3 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01591/0.01595, allocations: 11.65 MB / 0.4892 GB, free: 108 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009944/0.02589, allocations: 3.449 MB / 0.4926 GB, free: 12.67 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.02868, allocations: 28.59 kB / 0.4926 GB, free: 12.64 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00244/0.03112, allocations: 0.5551 MB / 0.4931 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006444/0.03756, allocations: 1.591 MB / 0.4947 GB, free: 10.5 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004759/0.04232, allocations: 1.536 MB / 0.4962 GB, free: 9 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.007324/0.04964, allocations: 3.732 MB / 0.4998 GB, free: 5.254 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.05142, allocations: 0.5775 MB / 0.5004 GB, free: 4.617 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005092/0.05651, allocations: 2.123 MB / 0.5025 GB, free: 2.484 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003106/0.05962, allocations: 1.55 MB / 0.504 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.06066, allocations: 284 kB / 0.5042 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.06261, allocations: 455.7 kB / 0.5047 GB, free: 212 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.0639, allocations: 0.7817 MB / 0.5054 GB, free: 15.42 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002505/0.0664, allocations: 1.071 MB / 0.5065 GB, free: 14.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006625/0.07303, allocations: 4.095 MB / 0.5105 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.07303, allocations: 8 kB / 0.5105 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.07304, allocations: 0 / 0.5105 GB, free: 10.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001296/0.07317, allocations: 0 / 0.5105 GB, free: 10.23 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02666/0.09982, allocations: 7.331 MB / 0.5177 GB, free: 2.789 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.09987, allocations: 12.03 kB / 0.5177 GB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01687/0.1167, allocations: 2.69 MB / 0.5203 GB, free: 84 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005296/0.122, allocations: 1.859 MB / 0.5221 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001165/0.1232, allocations: 0.8217 MB / 0.5229 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.1242, allocations: 220 kB / 0.5231 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009415/0.1336, allocations: 3.089 MB / 0.5261 GB, free: 9.809 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.1337, allocations: 3.984 kB / 0.5261 GB, free: 9.805 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004753/0.1342, allocations: 84 kB / 0.5262 GB, free: 9.723 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/0.1342, allocations: 51.94 kB / 0.5263 GB, free: 9.672 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007613/0.1418, allocations: 2.822 MB / 0.529 GB, free: 6.82 MB / 458.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.02261/0.1644, allocations: 7.433 MB / 0.5363 GB, free: 15.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.1771, allocations: 3.571 MB / 0.5398 GB, free: 11.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005015/0.1821, allocations: 1.836 MB / 0.5416 GB, free: 9.777 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004506/0.1826, allocations: 45.98 kB / 0.5416 GB, free: 9.734 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006084/0.1887, allocations: 2.284 MB / 0.5438 GB, free: 7.418 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 7.494e-06/0.1887, allocations: 0 / 0.5438 GB, free: 7.418 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.1408/0.3294, allocations: 29.36 MB / 0.5725 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/0.3296, allocations: 192.1 kB / 0.5727 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005064/0.3347, allocations: 2.248 MB / 0.5749 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007257/0.3354, allocations: 69.7 kB / 0.575 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.3368, allocations: 1.197 MB / 0.5761 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001687/0.3384, allocations: 0.8946 MB / 0.577 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002045/0.3405, allocations: 0.5382 MB / 0.5775 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3407, allocations: 305.1 kB / 0.5778 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005217/0.3459, allocations: 2.035 MB / 0.5798 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/0.3516, allocations: 2.405 MB / 0.5822 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06391/0.4155, allocations: 14.28 MB / 0.5961 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.621e-05/0.4155, allocations: 4 kB / 0.5961 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of matching and sorting (n=403) (initialization): time 0.2405/0.656, allocations: 12.4 MB / 0.6082 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.55e-05/0.6561, allocations: 122 kB / 0.6083 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.6562, allocations: 7.344 kB / 0.6083 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03604/0.6922, allocations: 7.837 MB / 0.616 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/0.6952, allocations: 0.5492 MB / 0.6165 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05884/0.754, allocations: 22.9 MB / 0.6389 GB, free: 144.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004513/0.7585, allocations: 491.9 kB / 0.6393 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007381/0.7593, allocations: 116 kB / 0.6395 GB, free: 144.1 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (315): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(64,25)} Notification: Performance of prepare postOptimizeDAE: time 0.00191/0.7612, allocations: 0.5229 MB / 0.64 GB, free: 143.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001295/0.7625, allocations: 386 kB / 0.6403 GB, free: 143.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03671/0.7992, allocations: 11.87 MB / 0.6519 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.7992, allocations: 24 kB / 0.6519 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.112e-05/0.7992, allocations: 20 kB / 0.652 GB, free: 131.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-05/0.7993, allocations: 15.95 kB / 0.652 GB, free: 131.2 MB / 0.5105 GB 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 postOpt removeSimpleEquations (simulation): time 0.04111/0.8404, allocations: 14.21 MB / 0.6659 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/0.8404, allocations: 0 / 0.6659 GB, free: 117 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/0.8419, allocations: 243.6 kB / 0.6661 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03236/0.8743, allocations: 7.72 MB / 0.6736 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001105/0.8754, allocations: 51.98 kB / 0.6737 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05371/0.9291, allocations: 24.1 MB / 0.6972 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.9291, allocations: 0 / 0.6972 GB, free: 84.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04135/0.9704, allocations: 14.37 MB / 0.7112 GB, free: 70.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009493/0.9714, allocations: 354.5 kB / 0.7116 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/0.9724, allocations: 44 kB / 0.7116 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003488/0.9759, allocations: 296.7 kB / 0.7119 GB, free: 69.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002336/0.9783, allocations: 0.6112 MB / 0.7125 GB, free: 68.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00031/0.9786, allocations: 60 kB / 0.7126 GB, free: 68.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002312/0.9809, allocations: 1.487 MB / 0.714 GB, free: 67.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.9809, allocations: 0 / 0.714 GB, free: 67.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004288/0.9852, allocations: 1.176 MB / 0.7152 GB, free: 66.19 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006285/0.9858, allocations: 176.9 kB / 0.7153 GB, free: 66.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01759/1.003, allocations: 6.543 MB / 0.7217 GB, free: 59.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.003, allocations: 0 / 0.7217 GB, free: 59.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01222/1.016, allocations: 4.279 MB / 0.7259 GB, free: 55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/1.019, allocations: 336.5 kB / 0.7262 GB, free: 54.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.029, allocations: 5.37 MB / 0.7315 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/1.031, allocations: 1.249 MB / 0.7327 GB, free: 48.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001382/1.032, allocations: 262.2 kB / 0.7329 GB, free: 47.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008803/1.033, allocations: 180.5 kB / 0.7331 GB, free: 47.58 MB / 0.5105 GB Notification: Performance of SimCode: time 1.683e-06/1.033, allocations: 0 / 0.7331 GB, free: 47.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.2589/1.292, allocations: 70.22 MB / 0.8017 GB, free: 169.6 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.316894894000143]