Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.001571/0.001571, allocations: 116.1 kB / 17.08 MB, free: 5.988 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.376/1.376, allocations: 222.9 MB / 242.7 MB, free: 15.22 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.001807/0.001807, allocations: 187.1 kB / 295.1 MB, free: 12.67 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.5378/0.5378, allocations: 98.19 MB / 445.4 MB, free: 11 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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 83.86 kB / 0.5911 GB, free: 3.984 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1509, allocations: 72.76 MB / 0.6622 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.02263/0.1736, allocations: 21.93 MB / 0.6836 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.1869, allocations: 4.888 MB / 0.6884 GB, free: 216 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004835/0.1918, allocations: 47.94 kB / 0.6884 GB, free: 168 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3573/0.5492, allocations: 0.8816 MB / 0.6893 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0095/0.5588, allocations: 2.04 MB / 0.6913 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006251/0.565, allocations: 2.075 MB / 0.6933 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01084/0.5759, allocations: 5.761 MB / 0.6989 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002813/0.5787, allocations: 1.323 MB / 0.7002 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005301/0.584, allocations: 2.339 MB / 0.7025 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007583/0.5916, allocations: 2.968 MB / 0.7054 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003458/0.5952, allocations: 443.9 kB / 0.7058 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004985/0.6002, allocations: 0.5857 MB / 0.7064 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004179/0.6044, allocations: 1.165 MB / 0.7075 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008447/0.6128, allocations: 2.627 MB / 0.7101 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01276/0.6256, allocations: 6.295 MB / 0.7162 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.6257, allocations: 1.438 kB / 0.7162 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.615e-06/0.6257, allocations: 0 / 0.7162 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003189/0.626, allocations: 0 / 0.7162 GB, free: 15.61 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.04147/0.6675, allocations: 9.387 MB / 0.7254 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.6676, allocations: 9.125 kB / 0.7254 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02776/0.6953, allocations: 4.042 MB / 0.7293 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007644/0.703, allocations: 2.714 MB / 0.732 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001311/0.7044, allocations: 0.9581 MB / 0.7329 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/0.7062, allocations: 347.1 kB / 0.7333 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.7198, allocations: 4.743 MB / 0.7379 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.905e-05/0.7199, allocations: 0 / 0.7379 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004338/0.7203, allocations: 139.6 kB / 0.738 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.584e-05/0.7204, allocations: 83.56 kB / 0.7381 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.7315, allocations: 4.253 MB / 0.7423 GB, free: 15.32 MB / 0.5137 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.04839/0.78, allocations: 18.29 MB / 0.7601 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/0.7945, allocations: 5.02 MB / 0.765 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00725/0.8018, allocations: 2.799 MB / 0.7678 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007854/0.8027, allocations: 67.55 kB / 0.7678 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008773/0.8114, allocations: 3.181 MB / 0.7709 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=384): time 9.969e-06/0.8115, allocations: 0 / 0.7709 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=384): time 0.3175/1.129, allocations: 67.79 MB / 0.8371 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/1.129, allocations: 141.8 kB / 0.8373 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007376/1.137, allocations: 3.262 MB / 0.8405 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001119/1.138, allocations: 85.7 kB / 0.8405 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002035/1.14, allocations: 2.015 MB / 0.8425 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002688/1.142, allocations: 1.382 MB / 0.8439 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003704/1.146, allocations: 0.6824 MB / 0.8445 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.146, allocations: 302.2 kB / 0.8448 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006899/1.153, allocations: 2.601 MB / 0.8473 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007435/1.161, allocations: 3.241 MB / 0.8505 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07591/1.237, allocations: 19 MB / 0.8691 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.004e-05/1.237, allocations: 4 kB / 0.8691 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.0657/1.302, allocations: 17.32 MB / 0.886 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.303, allocations: 74.06 kB / 0.886 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.487e-05/1.303, allocations: 12 kB / 0.8861 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02857/1.331, allocations: 7.154 MB / 0.893 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/1.335, allocations: 0.6826 MB / 0.8937 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.101/1.436, allocations: 33.35 MB / 0.9263 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007337/1.444, allocations: 0.6338 MB / 0.9269 GB, free: 272 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/1.445, allocations: 156 kB / 0.927 GB, free: 116 kB / 0.6856 GB 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 order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (407): * Single equations (assignments): 404 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003634/1.449, allocations: 0.6704 MB / 0.9277 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00221/1.451, allocations: 488.8 kB / 0.9282 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06292/1.514, allocations: 16.87 MB / 0.9446 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.155e-05/1.514, allocations: 36 kB / 0.9447 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001117/1.514, allocations: 28 kB / 0.9447 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001151/1.514, allocations: 19.92 kB / 0.9447 GB, free: 13.93 MB / 0.7169 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.4414/1.955, allocations: 21.88 MB / 0.9661 GB, free: 229.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/1.955, allocations: 0.6562 kB / 0.9661 GB, free: 229.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00273/1.958, allocations: 390.4 kB / 0.9665 GB, free: 229.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0287/1.987, allocations: 7.378 MB / 0.9737 GB, free: 229.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001056/1.988, allocations: 73.8 kB / 0.9737 GB, free: 229.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09013/2.078, allocations: 31.83 MB / 1.005 GB, free: 223.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/2.078, allocations: 0.5469 kB / 1.005 GB, free: 223.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0604/2.139, allocations: 20.27 MB / 1.025 GB, free: 216.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002537/2.141, allocations: 0.5794 MB / 1.025 GB, free: 215.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002143/2.143, allocations: 68 kB / 1.025 GB, free: 215.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005959/2.149, allocations: 375.7 kB / 1.026 GB, free: 215.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003762/2.153, allocations: 0.786 MB / 1.026 GB, free: 215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004796/2.154, allocations: 91.42 kB / 1.026 GB, free: 214.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003284/2.157, allocations: 2.148 MB / 1.029 GB, free: 213 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.41e-07/2.157, allocations: 4.875 kB / 1.029 GB, free: 212.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007337/2.164, allocations: 1.809 MB / 1.03 GB, free: 211.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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 {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007926/2.165, allocations: 198.5 kB / 1.031 GB, free: 211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02425/2.189, allocations: 9.209 MB / 1.04 GB, free: 201.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/2.189, allocations: 0 / 1.04 GB, free: 201.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01861/2.208, allocations: 6.213 MB / 1.046 GB, free: 195.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/2.212, allocations: 390.5 kB / 1.046 GB, free: 195.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/2.226, allocations: 8.173 MB / 1.054 GB, free: 187 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/2.228, allocations: 2.455 MB / 1.056 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/2.229, allocations: 275.4 kB / 1.057 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of SimCode: time 6.72e-07/2.229, allocations: 0 / 1.057 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.09604/2.325, allocations: 88.9 MB / 1.143 GB, free: 95.13 MB / 0.7169 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.9174037380144] Failed to read output from testmodel.py, exit status != 0: 2.3330603868234903 2.341124485 1.713656049 Calling exit ...