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.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.001617/0.001617, allocations: 107.3 kB / 18.19 MB, free: 3.879 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.425/1.425, allocations: 225.6 MB / 246.7 MB, free: 13.69 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.001958/0.001958, allocations: 189.1 kB / 302 MB, free: 9.191 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.5469/0.5469, allocations: 94.15 MB / 451.2 MB, free: 9.699 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 95.78 kB / 0.6029 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1599, allocations: 75.53 MB / 0.6767 GB, free: 3.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01549/0.1754, allocations: 13.67 MB / 0.69 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0096/0.185, allocations: 3.472 MB / 0.6934 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00367/0.1886, allocations: 31.94 kB / 0.6934 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.1909, allocations: 0.5615 MB / 0.694 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006397/0.1973, allocations: 1.561 MB / 0.6955 GB, free: 32 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3761/0.5734, allocations: 1.495 MB / 0.697 GB, free: 9.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006638/0.5801, allocations: 3.715 MB / 0.7006 GB, free: 9.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.5814, allocations: 0.6152 MB / 0.7012 GB, free: 9.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003149/0.5846, allocations: 1.529 MB / 0.7027 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003777/0.5883, allocations: 1.976 MB / 0.7046 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001253/0.5896, allocations: 288.1 kB / 0.7049 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.5914, allocations: 439.3 kB / 0.7053 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000931/0.5924, allocations: 0.7625 MB / 0.7061 GB, free: 8.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002725/0.5951, allocations: 1.627 MB / 0.7076 GB, free: 8.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007298/0.6024, allocations: 3.99 MB / 0.7115 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.6024, allocations: 4 kB / 0.7115 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.6024, allocations: 1.969 kB / 0.7115 GB, free: 6.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002034/0.6026, allocations: 0 / 0.7115 GB, free: 6.918 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02843/0.631, allocations: 6.68 MB / 0.7181 GB, free: 4.266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.6311, allocations: 14.22 kB / 0.7181 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/0.647, allocations: 2.292 MB / 0.7203 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00563/0.6526, allocations: 1.896 MB / 0.7222 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007144/0.6533, allocations: 0.7248 MB / 0.7229 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009599/0.6543, allocations: 222 kB / 0.7231 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006638/0.6609, allocations: 3.023 MB / 0.726 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.661, allocations: 0 / 0.726 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/0.6612, allocations: 91.69 kB / 0.7261 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-05/0.6613, allocations: 53.62 kB / 0.7262 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006597/0.6679, allocations: 2.785 MB / 0.7289 GB, free: 15.2 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.02451/0.6924, allocations: 9.809 MB / 0.7385 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.7037, allocations: 3.975 MB / 0.7424 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004516/0.7082, allocations: 1.771 MB / 0.7441 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003394/0.7086, allocations: 47.23 kB / 0.7441 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005033/0.7136, allocations: 2.229 MB / 0.7463 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=247): time 5.561e-06/0.7136, allocations: 2.438 kB / 0.7463 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=247): time 0.1285/0.8421, allocations: 29.38 MB / 0.775 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.8423, allocations: 195.6 kB / 0.7752 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004562/0.8468, allocations: 2.285 MB / 0.7774 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009683/0.8478, allocations: 69.7 kB / 0.7775 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001269/0.8491, allocations: 1.199 MB / 0.7787 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001759/0.8508, allocations: 0.9063 MB / 0.7796 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.8522, allocations: 0.5541 MB / 0.7801 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8523, allocations: 305.1 kB / 0.7804 GB, free: 288 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004515/0.8569, allocations: 1.943 MB / 0.7823 GB, free: 14.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004956/0.8618, allocations: 2.314 MB / 0.7845 GB, free: 11.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05853/0.9203, allocations: 13.99 MB / 0.7982 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-05/0.9204, allocations: 0 / 0.7982 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.04777/0.9681, allocations: 12.22 MB / 0.8101 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.9683, allocations: 118.8 kB / 0.8103 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.598e-05/0.9683, allocations: 8 kB / 0.8103 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01941/0.9877, allocations: 5.319 MB / 0.8155 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/0.9911, allocations: 0.5656 MB / 0.816 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07022/1.061, allocations: 23.52 MB / 0.839 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00567/1.067, allocations: 0.49 MB / 0.8395 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/1.068, allocations: 116 kB / 0.8396 GB, free: 3.246 MB / 0.5919 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 (325): * Single equations (assignments): 320 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.00298/1.071, allocations: 0.5295 MB / 0.8401 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/1.073, allocations: 313.9 kB / 0.8404 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04229/1.115, allocations: 11.82 MB / 0.8519 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-05/1.115, allocations: 24 kB / 0.8519 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.808e-05/1.115, allocations: 20 kB / 0.852 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.064e-05/1.115, allocations: 11.95 kB / 0.852 GB, free: 6.457 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.04863/1.164, allocations: 15.4 MB / 0.867 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-05/1.164, allocations: 0 / 0.867 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.166, allocations: 247.6 kB / 0.8673 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01838/1.184, allocations: 5.278 MB / 0.8724 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008553/1.185, allocations: 51.98 kB / 0.8725 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0608/1.246, allocations: 24.97 MB / 0.8968 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.246, allocations: 0 / 0.8968 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04609/1.292, allocations: 14.19 MB / 0.9107 GB, free: 9.664 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.293, allocations: 422.6 kB / 0.9111 GB, free: 9.23 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.294, allocations: 55.92 kB / 0.9112 GB, free: 9.176 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003298/1.298, allocations: 303.6 kB / 0.9114 GB, free: 8.879 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002254/1.3, allocations: 0.5849 MB / 0.912 GB, free: 8.297 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002293/1.3, allocations: 63.98 kB / 0.9121 GB, free: 8.234 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002654/1.303, allocations: 1.503 MB / 0.9135 GB, free: 6.727 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.303, allocations: 4 kB / 0.9136 GB, free: 6.723 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00437/1.307, allocations: 1.183 MB / 0.9147 GB, free: 5.539 MB / 0.67 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.0005375/1.308, allocations: 168 kB / 0.9149 GB, free: 5.367 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01876/1.327, allocations: 6.395 MB / 0.9211 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/1.327, allocations: 0 / 0.9211 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01378/1.34, allocations: 4.222 MB / 0.9252 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/1.343, allocations: 276.3 kB / 0.9255 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/1.354, allocations: 5.433 MB / 0.9308 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/1.356, allocations: 1.806 MB / 0.9326 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.357, allocations: 179.4 kB / 0.9327 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of SimCode: time 1.482e-06/1.357, allocations: 0 / 0.9327 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of Templates: time 0.4258/1.783, allocations: 64.46 MB / 0.9957 GB, free: 236.4 MB / 0.7169 GB [Timeout remaining time 658] 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]