Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.001126/0.001126, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.045/1.045, allocations: 177.2 MB / 200.3 MB, free: 5.352 MB / 186.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.001441/0.001441, allocations: 163.3 kB / 256.9 MB, free: 12.8 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.2925/0.2925, allocations: 83.31 MB / 396.7 MB, free: 15.01 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.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 494.4 MB, free: 6.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.88e-05, allocations: 3.062 kB / 494.4 MB, free: 6.969 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01294/0.01297, allocations: 12.52 MB / 0.4951 GB, free: 10.41 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.02434, allocations: 3.489 MB / 0.4985 GB, free: 6.938 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.0267, allocations: 28 kB / 0.4985 GB, free: 6.91 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.02823, allocations: 0.5505 MB / 0.499 GB, free: 6.355 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004749/0.03297, allocations: 1.621 MB / 0.5006 GB, free: 4.738 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003412/0.03639, allocations: 1.538 MB / 0.5021 GB, free: 3.238 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005105/0.04149, allocations: 3.739 MB / 0.5058 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.04264, allocations: 0.5815 MB / 0.5063 GB, free: 14.85 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.04599, allocations: 2.146 MB / 0.5084 GB, free: 12.7 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.04834, allocations: 1.57 MB / 0.51 GB, free: 11.12 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006916/0.04903, allocations: 284 kB / 0.5102 GB, free: 10.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009538/0.04999, allocations: 444.4 kB / 0.5107 GB, free: 10.41 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006023/0.05059, allocations: 0.7855 MB / 0.5114 GB, free: 9.621 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.05174, allocations: 1.082 MB / 0.5125 GB, free: 8.535 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.05509, allocations: 2.894 MB / 0.5153 GB, free: 5.629 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.05509, allocations: 0 / 0.5153 GB, free: 5.629 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0551, allocations: 0 / 0.5153 GB, free: 5.629 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.941e-05/0.05514, allocations: 0 / 0.5153 GB, free: 5.629 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: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01746/0.07259, allocations: 7.651 MB / 0.5228 GB, free: 13.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.07264, allocations: 12.03 kB / 0.5228 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008886/0.08153, allocations: 2.729 MB / 0.5255 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.08461, allocations: 1.703 MB / 0.5271 GB, free: 9.344 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005348/0.08514, allocations: 0.8139 MB / 0.5279 GB, free: 8.391 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003883/0.08553, allocations: 216 kB / 0.5281 GB, free: 8.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.08793, allocations: 1.8 MB / 0.5299 GB, free: 6.285 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.08795, allocations: 4 kB / 0.5299 GB, free: 6.281 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.08812, allocations: 80 kB / 0.53 GB, free: 6.203 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.08815, allocations: 48 kB / 0.53 GB, free: 6.156 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.08967, allocations: 1.058 MB / 0.531 GB, free: 5.043 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.009503/0.09917, allocations: 6.613 MB / 0.5375 GB, free: 14.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/0.1024, allocations: 1.956 MB / 0.5394 GB, free: 12.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008675/0.1033, allocations: 0.7374 MB / 0.5401 GB, free: 11.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.1035, allocations: 57.97 kB / 0.5402 GB, free: 11.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.1047, allocations: 1.188 MB / 0.5413 GB, free: 10.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=248): time 4.689e-06/0.1047, allocations: 0 / 0.5413 GB, free: 10.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=248): time 0.04715/0.1519, allocations: 19.96 MB / 0.5608 GB, free: 6.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.152, allocations: 188.2 kB / 0.561 GB, free: 5.957 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.1539, allocations: 1.956 MB / 0.5629 GB, free: 3.988 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005654/0.1545, allocations: 69.7 kB / 0.563 GB, free: 3.914 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007095/0.1552, allocations: 1.289 MB / 0.5643 GB, free: 2.613 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009745/0.1562, allocations: 0.9296 MB / 0.5652 GB, free: 1.676 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007271/0.1569, allocations: 0.5882 MB / 0.5657 GB, free: 1.074 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.157, allocations: 476.8 kB / 0.5662 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.1583, allocations: 0.8757 MB / 0.567 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.1598, allocations: 1.351 MB / 0.5684 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004224/0.164, allocations: 3.514 MB / 0.5718 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.164, allocations: 0 / 0.5718 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=411) (initialization): time 0.01566/0.1797, allocations: 8.243 MB / 0.5798 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.81e-05/0.1798, allocations: 118.8 kB / 0.58 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.1798, allocations: 8 kB / 0.58 GB, free: 1.969 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01368/0.1935, allocations: 5.259 MB / 0.5851 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/0.1956, allocations: 0.5578 MB / 0.5856 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/0.2134, allocations: 9.09 MB / 0.5945 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.2163, allocations: 414 kB / 0.5949 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/0.2166, allocations: 87.95 kB / 0.595 GB, free: 2.426 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 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 order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4_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 (324): * Single equations (assignments): 319 * 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): 1 system {(64,24,8.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001015/0.2176, allocations: 389.2 kB / 0.5954 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/0.2186, allocations: 390 kB / 0.5957 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2531/0.4717, allocations: 7.449 MB / 0.603 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/0.4717, allocations: 24.5 kB / 0.603 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.474e-05/0.4717, allocations: 23.33 kB / 0.6031 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.918e-05/0.4718, allocations: 13.83 kB / 0.6031 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02039/0.4922, allocations: 9.499 MB / 0.6124 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/0.4922, allocations: 8.469 kB / 0.6124 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.4933, allocations: 247.3 kB / 0.6126 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01384/0.5071, allocations: 5.205 MB / 0.6177 GB, free: 137 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000578/0.5077, allocations: 49.67 kB / 0.6177 GB, free: 137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/0.5247, allocations: 13.03 MB / 0.6305 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5247, allocations: 3.938 kB / 0.6305 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01547/0.5401, allocations: 8.259 MB / 0.6385 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00091/0.5411, allocations: 346.2 kB / 0.6389 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004697/0.5415, allocations: 42.81 kB / 0.6389 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.5429, allocations: 218.6 kB / 0.6391 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001328/0.5442, allocations: 0.576 MB / 0.6397 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.5444, allocations: 48.45 kB / 0.6397 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001064/0.5454, allocations: 1.109 MB / 0.6408 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5454, allocations: 4 kB / 0.6408 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002741/0.5482, allocations: 1.171 MB / 0.6419 GB, free: 127.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(65,23,7.8%)} * 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.0004056/0.5486, allocations: 174.4 kB / 0.6421 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006391/0.555, allocations: 4.196 MB / 0.6462 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.555, allocations: 0 / 0.6462 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004982/0.56, allocations: 3.16 MB / 0.6493 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.5615, allocations: 315.4 kB / 0.6496 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/0.5684, allocations: 4.907 MB / 0.6544 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.5689, allocations: 0.536 MB / 0.6549 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007353/0.5696, allocations: 250.3 kB / 0.6551 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006393/0.5702, allocations: 386.1 kB / 0.6555 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.503e-06/0.5702, allocations: 0 / 0.6555 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.0734/0.6437, allocations: 74.8 MB / 0.7286 GB, free: 39.75 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.395948758814484]