Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.001287/0.001287, allocations: 73.97 kB / 20.66 MB, free: 3.844 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 0.9579/0.9579, allocations: 177.2 MB / 201 MB, free: 5.707 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.001318/0.001318, allocations: 160.6 kB / 257.7 MB, free: 12.98 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2948/0.2948, allocations: 80.25 MB / 394.5 MB, free: 1.98 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 491 MB, free: 11.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.109e-05, allocations: 2.312 kB / 491 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.009045/0.009066, allocations: 6.282 MB / 497.3 MB, free: 4.809 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00395/0.01302, allocations: 2.004 MB / 499.3 MB, free: 2.816 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006914/0.01371, allocations: 12 kB / 499.3 MB, free: 2.805 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000693/0.0144, allocations: 249.8 kB / 499.6 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.01644, allocations: 0.896 MB / 0.4888 GB, free: 1.672 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.01769, allocations: 0.6536 MB / 0.4894 GB, free: 1.027 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001959/0.01965, allocations: 1.67 MB / 0.491 GB, free: 15.35 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.02008, allocations: 215.6 kB / 0.4912 GB, free: 15.13 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.02139, allocations: 0.9591 MB / 0.4922 GB, free: 14.17 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009903/0.02238, allocations: 0.7126 MB / 0.4929 GB, free: 13.46 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003148/0.02269, allocations: 132.5 kB / 0.493 GB, free: 13.33 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005699/0.02326, allocations: 276.3 kB / 0.4932 GB, free: 13.06 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.02355, allocations: 363 kB / 0.4936 GB, free: 12.7 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.02411, allocations: 482.4 kB / 0.4941 GB, free: 12.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.02573, allocations: 1.281 MB / 0.4953 GB, free: 10.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.02573, allocations: 1.219 kB / 0.4953 GB, free: 10.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02573, allocations: 0 / 0.4953 GB, free: 10.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.373e-05/0.02577, allocations: 4 kB / 0.4953 GB, free: 10.94 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006972/0.03274, allocations: 3.023 MB / 0.4983 GB, free: 7.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.03278, allocations: 16.02 kB / 0.4983 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/0.03702, allocations: 0.9278 MB / 0.4992 GB, free: 6.941 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.03836, allocations: 0.8072 MB / 0.5 GB, free: 6.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.0386, allocations: 333.3 kB / 0.5003 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.03876, allocations: 91.94 kB / 0.5004 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.0399, allocations: 0.6952 MB / 0.5011 GB, free: 4.902 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.03992, allocations: 0 / 0.5011 GB, free: 4.902 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-05/0.04001, allocations: 28 kB / 0.5011 GB, free: 4.875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.04002, allocations: 23.94 kB / 0.5011 GB, free: 4.852 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008268/0.04085, allocations: 407.3 kB / 0.5015 GB, free: 4.449 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.004665/0.04552, allocations: 2.603 MB / 0.504 GB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003511/0.04903, allocations: 1.2 MB / 0.5052 GB, free: 0.543 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004732/0.0495, allocations: 287.9 kB / 0.5055 GB, free: 256 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.772e-05/0.04959, allocations: 20.98 kB / 0.5055 GB, free: 232 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007704/0.05036, allocations: 498.4 kB / 0.506 GB, free: 15.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 3.006e-06/0.05036, allocations: 4 kB / 0.506 GB, free: 15.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=98): time 0.01663/0.06699, allocations: 4.79 MB / 0.5107 GB, free: 10.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.06707, allocations: 115.8 kB / 0.5108 GB, free: 10.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.06834, allocations: 0.973 MB / 0.5117 GB, free: 9.754 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.06851, allocations: 41.7 kB / 0.5118 GB, free: 9.707 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/0.06895, allocations: 0.5781 MB / 0.5123 GB, free: 9.121 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004027/0.06935, allocations: 396.6 kB / 0.5127 GB, free: 8.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005311/0.06988, allocations: 313 kB / 0.513 GB, free: 8.418 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.07002, allocations: 476.8 kB / 0.5135 GB, free: 7.949 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008138/0.07083, allocations: 419.1 kB / 0.5139 GB, free: 7.527 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009439/0.07178, allocations: 0.622 MB / 0.5145 GB, free: 6.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002666/0.07444, allocations: 1.598 MB / 0.516 GB, free: 5.156 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.07445, allocations: 0 / 0.516 GB, free: 5.156 MB / 442.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.008391/0.08284, allocations: 3.067 MB / 0.519 GB, free: 2.047 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/0.0829, allocations: 59.41 kB / 0.5191 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.08292, allocations: 4 kB / 0.5191 GB, free: 1.973 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006699/0.08962, allocations: 1.664 MB / 0.5207 GB, free: 312 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.09095, allocations: 287.6 kB / 0.521 GB, free: 24 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009319/0.1003, allocations: 4.375 MB / 0.5253 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.1019, allocations: 171.1 kB / 0.5254 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.102, allocations: 43.98 kB / 0.5255 GB, free: 11.32 MB / 458.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005801/0.1026, allocations: 278.8 kB / 0.5257 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/0.1029, allocations: 167.1 kB / 0.5259 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00495/0.1079, allocations: 2.467 MB / 0.5283 GB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.1079, allocations: 15.94 kB / 0.5283 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1079, allocations: 4 kB / 0.5283 GB, free: 8.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.1079, allocations: 3.984 kB / 0.5283 GB, free: 8.336 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005672/0.1136, allocations: 3.444 MB / 0.5317 GB, free: 4.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1136, allocations: 0 / 0.5317 GB, free: 4.828 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.1139, allocations: 103.9 kB / 0.5318 GB, free: 4.727 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004045/0.1179, allocations: 1.616 MB / 0.5334 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.732e-05/0.118, allocations: 24 kB / 0.5334 GB, free: 3.078 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006852/0.1249, allocations: 6.206 MB / 0.5394 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1249, allocations: 0 / 0.5394 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00534/0.1302, allocations: 2.87 MB / 0.5422 GB, free: 9.711 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.1306, allocations: 150.9 kB / 0.5424 GB, free: 9.562 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.1307, allocations: 20 kB / 0.5424 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.1312, allocations: 83.86 kB / 0.5425 GB, free: 9.461 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00036/0.1316, allocations: 192.6 kB / 0.5427 GB, free: 9.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.1316, allocations: 19.98 kB / 0.5427 GB, free: 9.254 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004398/0.1321, allocations: 0.5906 MB / 0.5433 GB, free: 8.656 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1321, allocations: 0 / 0.5433 GB, free: 8.656 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001051/0.1331, allocations: 499.6 kB / 0.5437 GB, free: 8.168 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002561/0.1334, allocations: 135.8 kB / 0.5439 GB, free: 8.027 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.1361, allocations: 1.786 MB / 0.5456 GB, free: 6.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1361, allocations: 4.188 kB / 0.5456 GB, free: 6.176 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.1379, allocations: 1.272 MB / 0.5469 GB, free: 4.836 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.1385, allocations: 135 kB / 0.547 GB, free: 4.703 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.1417, allocations: 2.175 MB / 0.5491 GB, free: 2.488 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.1419, allocations: 253.5 kB / 0.5494 GB, free: 2.215 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003059/0.1422, allocations: 112.1 kB / 0.5495 GB, free: 2.102 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.1425, allocations: 210.2 kB / 0.5497 GB, free: 1.895 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1425, allocations: 4 kB / 0.5497 GB, free: 1.891 MB / 474.7 MB Notification: Performance of Templates: time 0.03277/0.1753, allocations: 29.96 MB / 0.5789 GB, free: 4.043 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.212563662789762]