Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 113.5 kB / 17.08 MB, free: 5.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 242.7 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 183.8 kB / 295 MB, free: 12.66 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5443/0.5443, allocations: 98.19 MB / 445.4 MB, free: 10.93 MB / 318.1 MB " [Timeout remaining time 179] 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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 87.84 kB / 0.591 GB, free: 4.109 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1637, allocations: 72.76 MB / 0.662 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.008408/0.1721, allocations: 6.591 MB / 0.6685 GB, free: 4.645 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004753/0.1769, allocations: 1.962 MB / 0.6704 GB, free: 2.676 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008162/0.1778, allocations: 11.94 kB / 0.6704 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007627/0.1786, allocations: 238 kB / 0.6706 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.1807, allocations: 0.8035 MB / 0.6714 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.182, allocations: 0.6348 MB / 0.672 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001768/0.1838, allocations: 1.581 MB / 0.6736 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004952/0.1843, allocations: 334.4 kB / 0.6739 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007832/0.1851, allocations: 0.6497 MB / 0.6745 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009106/0.186, allocations: 0.8167 MB / 0.6753 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.1862, allocations: 120 kB / 0.6755 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.1867, allocations: 263.8 kB / 0.6757 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.187, allocations: 322.7 kB / 0.676 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000592/0.1876, allocations: 0.6718 MB / 0.6767 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.1894, allocations: 1.673 MB / 0.6783 GB, free: 10.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1894, allocations: 0 / 0.6783 GB, free: 10.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1894, allocations: 0 / 0.6783 GB, free: 10.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.1894, allocations: 0 / 0.6783 GB, free: 10.55 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.008699/0.1981, allocations: 2.733 MB / 0.681 GB, free: 7.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.1982, allocations: 12.03 kB / 0.681 GB, free: 7.738 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/0.2033, allocations: 0.7757 MB / 0.6817 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.2057, allocations: 0.8951 MB / 0.6826 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003864/0.2061, allocations: 260.2 kB / 0.6829 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.2063, allocations: 80 kB / 0.6829 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.2088, allocations: 1.09 MB / 0.684 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.2088, allocations: 7.938 kB / 0.684 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.2089, allocations: 28 kB / 0.684 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.209, allocations: 20 kB / 0.6841 GB, free: 4.484 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.2112, allocations: 0.9838 MB / 0.685 GB, free: 3.496 MB / 494.1 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.3049/0.5161, allocations: 3.838 MB / 0.6888 GB, free: 24.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007224/0.5234, allocations: 2.374 MB / 0.6911 GB, free: 24.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.5249, allocations: 0.6716 MB / 0.6917 GB, free: 24.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.5251, allocations: 15.45 kB / 0.6918 GB, free: 24.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001597/0.5267, allocations: 0.8132 MB / 0.6925 GB, free: 23.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=96): time 2.795e-06/0.5267, allocations: 3.906 kB / 0.6926 GB, free: 23.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=96): time 0.03079/0.5575, allocations: 7.085 MB / 0.6995 GB, free: 23.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.5576, allocations: 118.9 kB / 0.6996 GB, free: 23.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.5593, allocations: 1.081 MB / 0.7006 GB, free: 23.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002216/0.5596, allocations: 48.27 kB / 0.7007 GB, free: 23.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.5599, allocations: 0.4889 MB / 0.7012 GB, free: 23.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003505/0.5603, allocations: 376.6 kB / 0.7015 GB, free: 22.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005162/0.5608, allocations: 290.6 kB / 0.7018 GB, free: 22.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.5608, allocations: 305.5 kB / 0.7021 GB, free: 22.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.5625, allocations: 0.7626 MB / 0.7028 GB, free: 22.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.5644, allocations: 0.9405 MB / 0.7038 GB, free: 22.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02276/0.5872, allocations: 5.573 MB / 0.7092 GB, free: 21.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.5872, allocations: 0 / 0.7092 GB, free: 21.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01326/0.6005, allocations: 4.337 MB / 0.7134 GB, free: 20.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/0.6006, allocations: 62.45 kB / 0.7135 GB, free: 20.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.6006, allocations: 4.469 kB / 0.7135 GB, free: 20.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00534/0.606, allocations: 1.51 MB / 0.715 GB, free: 19.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.6075, allocations: 298 kB / 0.7153 GB, free: 19.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/0.6257, allocations: 8.277 MB / 0.7233 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.6276, allocations: 201.2 kB / 0.7235 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.6277, allocations: 59 kB / 0.7236 GB, free: 14.38 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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 (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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000571/0.6283, allocations: 297.5 kB / 0.7239 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.6285, allocations: 138.1 kB / 0.724 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.6405, allocations: 3.872 MB / 0.7278 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.6406, allocations: 11.75 kB / 0.7278 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/0.6406, allocations: 11.62 kB / 0.7278 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.602e-05/0.6406, allocations: 11.97 kB / 0.7278 GB, free: 12.04 MB / 494.1 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 postOpt removeSimpleEquations (simulation): time 0.01409/0.6547, allocations: 5.454 MB / 0.7331 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.6548, allocations: 2.156 kB / 0.7331 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006315/0.6554, allocations: 104.7 kB / 0.7332 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005133/0.6606, allocations: 1.597 MB / 0.7348 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.6608, allocations: 20 kB / 0.7348 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/0.6811, allocations: 9.632 MB / 0.7442 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6812, allocations: 0 / 0.7442 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/0.6965, allocations: 4.747 MB / 0.7489 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005436/0.6971, allocations: 223 kB / 0.7491 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000371/0.6975, allocations: 32.08 kB / 0.7491 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.6989, allocations: 107.8 kB / 0.7492 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006957/0.6996, allocations: 193.2 kB / 0.7494 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.6997, allocations: 32 kB / 0.7494 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001386/0.7011, allocations: 0.7273 MB / 0.7501 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7011, allocations: 0 / 0.7501 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00181/0.7029, allocations: 476.3 kB / 0.7506 GB, free: 4.488 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003637/0.7033, allocations: 143.6 kB / 0.7507 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006869/0.7102, allocations: 2.503 MB / 0.7532 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.7102, allocations: 0 / 0.7532 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004577/0.7148, allocations: 1.591 MB / 0.7547 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.7161, allocations: 118.4 kB / 0.7548 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.7209, allocations: 2.335 MB / 0.7571 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009234/0.7219, allocations: 1.12 MB / 0.7582 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004244/0.7223, allocations: 87.41 kB / 0.7583 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.7223, allocations: 0 / 0.7583 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.03597/0.7583, allocations: 23.51 MB / 0.7813 GB, free: 5.004 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.795301645994186] Failed to read output from testmodel.py, exit status != 0: 0.7658745411317796 0.77850727 0.586740531 Calling exit ...