Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001183/0.001183, allocations: 88.2 kB / 20.19 MB, free: 4.363 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.9237/0.9237, allocations: 177.2 MB / 200.5 MB, free: 5.82 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.001385/0.001385, allocations: 162.7 kB / 257 MB, free: 13.2 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.2995/0.2995, allocations: 80.24 MB / 393.7 MB, free: 2.266 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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 489.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.26e-05, allocations: 2.312 kB / 489.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005246/0.005268, allocations: 6.36 MB / 496.2 MB, free: 5.543 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002886/0.008155, allocations: 1.99 MB / 498.2 MB, free: 3.559 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003149/0.008469, allocations: 15.94 kB / 498.2 MB, free: 3.543 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005455/0.009015, allocations: 242.8 kB / 498.4 MB, free: 3.305 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.01022, allocations: 0.8833 MB / 499.3 MB, free: 2.426 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007509/0.01097, allocations: 0.6491 MB / 500 MB, free: 1.785 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.01203, allocations: 1.631 MB / 0.4898 GB, free: 152 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.01232, allocations: 210.9 kB / 0.49 GB, free: 15.93 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007822/0.0131, allocations: 0.9362 MB / 0.4909 GB, free: 14.99 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.01372, allocations: 0.7009 MB / 0.4916 GB, free: 14.29 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.01388, allocations: 129.6 kB / 0.4918 GB, free: 14.16 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.0143, allocations: 279.8 kB / 0.492 GB, free: 13.89 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.01452, allocations: 346.5 kB / 0.4924 GB, free: 13.55 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003048/0.01482, allocations: 478.4 kB / 0.4928 GB, free: 13.08 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009883/0.01581, allocations: 1.253 MB / 0.494 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01581, allocations: 1.469 kB / 0.494 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01581, allocations: 3.938 kB / 0.494 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.01583, allocations: 0 / 0.494 GB, free: 11.82 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00477/0.0206, allocations: 2.98 MB / 0.4969 GB, free: 8.809 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.02063, allocations: 11.97 kB / 0.497 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.02366, allocations: 0.9352 MB / 0.4979 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/0.02459, allocations: 0.8189 MB / 0.4987 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/0.02486, allocations: 333.3 kB / 0.499 GB, free: 6.629 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.02498, allocations: 91.94 kB / 0.4991 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000956/0.02594, allocations: 0.7617 MB / 0.4998 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.02596, allocations: 0 / 0.4998 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.371e-05/0.02602, allocations: 32 kB / 0.4999 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.02604, allocations: 23.94 kB / 0.4999 GB, free: 5.699 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007534/0.02679, allocations: 497.3 kB / 0.5004 GB, free: 5.207 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.003321/0.03011, allocations: 2.737 MB / 0.503 GB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.0327, allocations: 1.255 MB / 0.5042 GB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.03315, allocations: 339.9 kB / 0.5046 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-05/0.03323, allocations: 28.92 kB / 0.5046 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006348/0.03386, allocations: 0.5299 MB / 0.5051 GB, free: 180 kB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 2.194e-06/0.03386, allocations: 4 kB / 0.5051 GB, free: 176 kB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.01193/0.0458, allocations: 5.095 MB / 0.5101 GB, free: 11.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.04585, allocations: 119.8 kB / 0.5102 GB, free: 10.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008743/0.04673, allocations: 1.008 MB / 0.5112 GB, free: 9.875 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.183e-05/0.04682, allocations: 45.7 kB / 0.5112 GB, free: 9.824 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.04712, allocations: 0.5548 MB / 0.5118 GB, free: 9.262 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.04736, allocations: 380.9 kB / 0.5121 GB, free: 8.887 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.04768, allocations: 293.1 kB / 0.5124 GB, free: 8.594 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.04779, allocations: 480.7 kB / 0.5129 GB, free: 8.121 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.04852, allocations: 443.2 kB / 0.5133 GB, free: 7.676 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007178/0.04923, allocations: 0.6482 MB / 0.5139 GB, free: 6.965 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.05117, allocations: 1.657 MB / 0.5156 GB, free: 5.223 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.05118, allocations: 0 / 0.5156 GB, free: 5.223 MB / 442.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005617/0.05679, allocations: 3.122 MB / 0.5186 GB, free: 2.059 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.05684, allocations: 63.39 kB / 0.5187 GB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.05685, allocations: 7.938 kB / 0.5187 GB, free: 1.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004594/0.06145, allocations: 1.665 MB / 0.5203 GB, free: 316 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.06215, allocations: 283.6 kB / 0.5206 GB, free: 32 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006927/0.06908, allocations: 4.531 MB / 0.525 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008012/0.06988, allocations: 163.2 kB / 0.5251 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/0.06997, allocations: 59.97 kB / 0.5252 GB, free: 11.15 MB / 458.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (162): * Single equations (assignments): 159 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004108/0.07038, allocations: 279 kB / 0.5255 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.07057, allocations: 163.1 kB / 0.5256 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004943/0.07551, allocations: 2.604 MB / 0.5282 GB, free: 8.066 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.07552, allocations: 8 kB / 0.5282 GB, free: 8.059 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.07553, allocations: 8 kB / 0.5282 GB, free: 8.051 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.07554, allocations: 3.984 kB / 0.5282 GB, free: 8.047 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005832/0.08137, allocations: 3.675 MB / 0.5318 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.08138, allocations: 0 / 0.5318 GB, free: 4.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.0817, allocations: 99.89 kB / 0.5319 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004206/0.0859, allocations: 1.636 MB / 0.5335 GB, free: 2.562 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.08597, allocations: 19.98 kB / 0.5335 GB, free: 2.543 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007147/0.09311, allocations: 6.424 MB / 0.5398 GB, free: 11.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.09312, allocations: 4 kB / 0.5398 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005542/0.09866, allocations: 3.058 MB / 0.5428 GB, free: 8.742 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.09884, allocations: 158.8 kB / 0.5429 GB, free: 8.586 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.09896, allocations: 20 kB / 0.5429 GB, free: 8.566 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004814/0.09944, allocations: 79.92 kB / 0.543 GB, free: 8.488 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003433/0.09978, allocations: 192.6 kB / 0.5432 GB, free: 8.301 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.09983, allocations: 31.97 kB / 0.5432 GB, free: 8.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000551/0.1004, allocations: 0.6372 MB / 0.5438 GB, free: 7.625 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1004, allocations: 0 / 0.5438 GB, free: 7.625 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001031/0.1014, allocations: 487.6 kB / 0.5443 GB, free: 7.148 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002534/0.1017, allocations: 143.7 kB / 0.5444 GB, free: 7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002834/0.1045, allocations: 1.858 MB / 0.5463 GB, free: 5.074 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1045, allocations: 0 / 0.5463 GB, free: 5.074 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.1062, allocations: 1.295 MB / 0.5475 GB, free: 3.719 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.1067, allocations: 132.4 kB / 0.5476 GB, free: 3.586 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.1096, allocations: 2.148 MB / 0.5497 GB, free: 1.395 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.1098, allocations: 245.6 kB / 0.55 GB, free: 1.133 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000241/0.1101, allocations: 120 kB / 0.5501 GB, free: 1.012 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.1103, allocations: 80.48 kB / 0.5502 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1103, allocations: 4 kB / 0.5502 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of Templates: time 0.02736/0.1376, allocations: 27.67 MB / 0.5772 GB, free: 5.359 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.059401462087408]