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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 246.8 MB, free: 13.67 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 203.6 kB / 302 MB, free: 9.18 MB / 238.1 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5255/0.5255, allocations: 94.16 MB / 451.2 MB, free: 9.648 MB / 318.1 MB [Timeout remaining time 89] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 84.14 kB / 0.6029 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.172, allocations: 75.54 MB / 0.6767 GB, free: 3.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.0153/0.1873, allocations: 13.78 MB / 0.6901 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00961/0.1969, allocations: 3.476 MB / 0.6935 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00341/0.2003, allocations: 27.94 kB / 0.6935 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002124/0.2025, allocations: 0.5576 MB / 0.6941 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.394/0.5964, allocations: 1.555 MB / 0.6956 GB, free: 9.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004649/0.6011, allocations: 1.523 MB / 0.6971 GB, free: 9.609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006759/0.6079, allocations: 3.716 MB / 0.7007 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.6091, allocations: 0.6145 MB / 0.7013 GB, free: 9.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.6122, allocations: 1.525 MB / 0.7028 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003669/0.6159, allocations: 1.978 MB / 0.7047 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.617, allocations: 284.2 kB / 0.705 GB, free: 8.766 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.6185, allocations: 437.4 kB / 0.7054 GB, free: 8.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007831/0.6193, allocations: 0.7629 MB / 0.7062 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002059/0.6214, allocations: 1.631 MB / 0.7078 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007498/0.6289, allocations: 3.988 MB / 0.7117 GB, free: 6.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.6289, allocations: 0 / 0.7117 GB, free: 6.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6289, allocations: 0 / 0.7117 GB, free: 6.875 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002411/0.6291, allocations: 1.531 kB / 0.7117 GB, free: 6.875 MB / 494.1 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.02863/0.6578, allocations: 6.681 MB / 0.7182 GB, free: 4.215 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.6578, allocations: 8.625 kB / 0.7182 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01566/0.6735, allocations: 2.293 MB / 0.7204 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006703/0.6802, allocations: 1.9 MB / 0.7223 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009532/0.6811, allocations: 0.7271 MB / 0.723 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.6827, allocations: 211.2 kB / 0.7232 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.6938, allocations: 3.037 MB / 0.7262 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.409e-05/0.6939, allocations: 0 / 0.7262 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007926/0.6947, allocations: 87.22 kB / 0.7262 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.016e-05/0.6948, allocations: 53.89 kB / 0.7263 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008/0.7028, allocations: 2.78 MB / 0.729 GB, free: 15.09 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.02641/0.7292, allocations: 9.862 MB / 0.7386 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.7409, allocations: 3.971 MB / 0.7425 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004356/0.7452, allocations: 1.772 MB / 0.7442 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004104/0.7456, allocations: 50.81 kB / 0.7443 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005338/0.751, allocations: 2.233 MB / 0.7465 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=248): time 6.703e-06/0.751, allocations: 0 / 0.7465 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.124/0.875, allocations: 28.1 MB / 0.7739 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.8751, allocations: 184.2 kB / 0.7741 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005282/0.8804, allocations: 2.277 MB / 0.7763 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00105/0.8815, allocations: 77.69 kB / 0.7764 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.8828, allocations: 1.176 MB / 0.7775 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002046/0.8849, allocations: 0.9191 MB / 0.7784 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002962/0.8878, allocations: 0.562 MB / 0.779 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.888, allocations: 301.1 kB / 0.7793 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005058/0.893, allocations: 1.954 MB / 0.7812 GB, free: 15.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005305/0.8984, allocations: 2.325 MB / 0.7835 GB, free: 13.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05649/0.9548, allocations: 14.01 MB / 0.7971 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/0.9549, allocations: 8 kB / 0.7971 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.04602/1.001, allocations: 12.44 MB / 0.8093 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/1.001, allocations: 118.8 kB / 0.8094 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/1.001, allocations: 4 kB / 0.8094 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01898/1.02, allocations: 5.302 MB / 0.8146 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003432/1.023, allocations: 0.5656 MB / 0.8151 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06578/1.089, allocations: 23.19 MB / 0.8378 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/1.095, allocations: 0.49 MB / 0.8383 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.096, allocations: 120 kB / 0.8384 GB, free: 4.398 MB / 0.5919 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 (330): * Single equations (assignments): 325 * 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 {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002812/1.099, allocations: 0.5345 MB / 0.8389 GB, free: 3.848 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/1.101, allocations: 314 kB / 0.8392 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0431/1.144, allocations: 11.81 MB / 0.8507 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.317e-05/1.144, allocations: 28 kB / 0.8508 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001152/1.144, allocations: 20.67 kB / 0.8508 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00013/1.144, allocations: 19.89 kB / 0.8508 GB, free: 7.609 MB / 0.6075 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.05486/1.199, allocations: 15.42 MB / 0.8659 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.85e-05/1.199, allocations: 0 / 0.8659 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/1.201, allocations: 247.3 kB / 0.8661 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01918/1.22, allocations: 5.251 MB / 0.8712 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00113/1.221, allocations: 44 kB / 0.8713 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0671/1.288, allocations: 24.96 MB / 0.8956 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/1.288, allocations: 4 kB / 0.8956 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04883/1.337, allocations: 14.21 MB / 0.9095 GB, free: 10.83 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/1.339, allocations: 430.4 kB / 0.9099 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001765/1.34, allocations: 48 kB / 0.91 GB, free: 10.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00438/1.345, allocations: 299.6 kB / 0.9103 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002883/1.348, allocations: 0.5763 MB / 0.9108 GB, free: 9.473 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006679/1.348, allocations: 67.98 kB / 0.9109 GB, free: 9.406 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003641/1.352, allocations: 1.499 MB / 0.9123 GB, free: 7.902 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/1.352, allocations: 4 kB / 0.9123 GB, free: 7.898 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006307/1.358, allocations: 1.179 MB / 0.9135 GB, free: 6.719 MB / 0.67 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.0009594/1.359, allocations: 173.2 kB / 0.9137 GB, free: 6.543 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02044/1.38, allocations: 6.323 MB / 0.9198 GB, free: 152 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.38, allocations: 4 kB / 0.9198 GB, free: 148 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01565/1.395, allocations: 4.213 MB / 0.924 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005541/1.401, allocations: 259.9 kB / 0.9242 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/1.418, allocations: 5.494 MB / 0.9296 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003089/1.421, allocations: 1.81 MB / 0.9313 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/1.422, allocations: 183.4 kB / 0.9315 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of SimCode: time 2.584e-06/1.422, allocations: 0 / 0.9315 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of Templates: time 0.5045/1.927, allocations: 64.41 MB / 0.9944 GB, free: 236.2 MB / 0.7169 GB [Timeout remaining time 658] 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=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480]