Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001669/0.001669, allocations: 80.2 kB / 19.76 MB, free: 2.027 MB / 14.72 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 1.452/1.452, allocations: 177.2 MB / 200.1 MB, free: 8.32 MB / 190.1 MB " [Timeout remaining time 178] 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.001558/0.001558, allocations: 157.3 kB / 256.6 MB, free: 4.289 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6348/0.6348, allocations: 80.3 MB / 393.3 MB, free: 13.26 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 master/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_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002494/0.002494, allocations: 93.78 kB / 0.5558 GB, free: 3.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1872, allocations: 80.11 MB / 0.6341 GB, free: 3.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.008218/0.1954, allocations: 5.89 MB / 0.6398 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004957/0.2003, allocations: 1.966 MB / 0.6417 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008467/0.2012, allocations: 12 kB / 0.6418 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008365/0.202, allocations: 237.9 kB / 0.642 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.2046, allocations: 0.8638 MB / 0.6428 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.2061, allocations: 0.6254 MB / 0.6434 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002313/0.2084, allocations: 1.667 MB / 0.6451 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.2089, allocations: 218.9 kB / 0.6453 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.21, allocations: 0.7042 MB / 0.646 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.2111, allocations: 0.8009 MB / 0.6467 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.2114, allocations: 128 kB / 0.6469 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006607/0.212, allocations: 275.9 kB / 0.6471 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.2124, allocations: 346.6 kB / 0.6475 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006594/0.2131, allocations: 0.5671 MB / 0.648 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.2154, allocations: 1.747 MB / 0.6497 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2154, allocations: 0 / 0.6497 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2154, allocations: 0 / 0.6497 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.279e-05/0.2154, allocations: 4 kB / 0.6497 GB, free: 3.855 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.01041/0.2258, allocations: 2.886 MB / 0.6525 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.2259, allocations: 8.031 kB / 0.6525 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005357/0.2312, allocations: 0.7991 MB / 0.6533 GB, free: 108 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.2331, allocations: 0.8622 MB / 0.6542 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003965/0.2335, allocations: 333.3 kB / 0.6545 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.2337, allocations: 91.94 kB / 0.6546 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.2361, allocations: 1.119 MB / 0.6557 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.2361, allocations: 3.938 kB / 0.6557 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.692e-05/0.2362, allocations: 35.98 kB / 0.6557 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.2362, allocations: 16 kB / 0.6557 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.2385, allocations: 1.021 MB / 0.6567 GB, free: 12.51 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.007348/0.2458, allocations: 2.894 MB / 0.6595 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007916/0.2537, allocations: 2.034 MB / 0.6615 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.2554, allocations: 0.6544 MB / 0.6622 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.2556, allocations: 20.98 kB / 0.6622 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002004/0.2576, allocations: 0.8507 MB / 0.663 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=97): time 3.887e-06/0.2576, allocations: 0 / 0.663 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=97): time 0.03155/0.2891, allocations: 7.087 MB / 0.6699 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.2892, allocations: 119.8 kB / 0.6701 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.2915, allocations: 1.09 MB / 0.6711 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.2918, allocations: 45.7 kB / 0.6712 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005703/0.2924, allocations: 0.5092 MB / 0.6717 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006517/0.2931, allocations: 376.8 kB / 0.672 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007898/0.2939, allocations: 287.5 kB / 0.6723 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.294, allocations: 309.1 kB / 0.6726 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.296, allocations: 0.8193 MB / 0.6734 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.2981, allocations: 0.9961 MB / 0.6744 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02779/0.3259, allocations: 5.981 MB / 0.6802 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/0.3259, allocations: 4 kB / 0.6802 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01609/0.342, allocations: 4.454 MB / 0.6846 GB, free: 15.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.07e-05/0.342, allocations: 62.06 kB / 0.6846 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/0.3421, allocations: 7.938 kB / 0.6846 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006707/0.3488, allocations: 1.627 MB / 0.6862 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.3505, allocations: 275.6 kB / 0.6865 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/0.3743, allocations: 8.308 MB / 0.6946 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.3767, allocations: 211.2 kB / 0.6948 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004492/0.3771, allocations: 55.97 kB / 0.6948 GB, free: 4.922 MB / 0.545 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 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 (160): * Single equations (assignments): 157 * 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 {(19,15,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00118/0.3783, allocations: 304.4 kB / 0.6951 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/0.3788, allocations: 131.2 kB / 0.6953 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/0.393, allocations: 3.898 MB / 0.6991 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.393, allocations: 15.94 kB / 0.6991 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/0.393, allocations: 4 kB / 0.6991 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-05/0.3931, allocations: 11.98 kB / 0.6991 GB, free: 0.5117 MB / 0.545 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.4473/0.8403, allocations: 4.922 MB / 0.7039 GB, free: 59.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.8403, allocations: 0 / 0.7039 GB, free: 59.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007995/0.8411, allocations: 106.4 kB / 0.704 GB, free: 59.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006608/0.8477, allocations: 1.582 MB / 0.7055 GB, free: 59.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003031/0.848, allocations: 21.28 kB / 0.7056 GB, free: 59.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02299/0.871, allocations: 9.215 MB / 0.7146 GB, free: 54.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.871, allocations: 0.75 kB / 0.7146 GB, free: 54.78 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/0.8875, allocations: 4.816 MB / 0.7193 GB, free: 53.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006198/0.8881, allocations: 155.6 kB / 0.7194 GB, free: 53.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004192/0.8885, allocations: 21.69 kB / 0.7194 GB, free: 53.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.89, allocations: 107.7 kB / 0.7195 GB, free: 53.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007951/0.8908, allocations: 206.8 kB / 0.7197 GB, free: 53.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.891, allocations: 30.97 kB / 0.7198 GB, free: 53.22 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001472/0.8924, allocations: 0.7381 MB / 0.7205 GB, free: 52.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.8924, allocations: 1.344 kB / 0.7205 GB, free: 52.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002212/0.8946, allocations: 485 kB / 0.721 GB, free: 52.85 MB / 0.545 GB 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.0003424/0.895, allocations: 136.5 kB / 0.7211 GB, free: 52.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006982/0.902, allocations: 2.517 MB / 0.7235 GB, free: 51.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.902, allocations: 0 / 0.7235 GB, free: 51.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004658/0.9066, allocations: 1.555 MB / 0.7251 GB, free: 51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.9083, allocations: 117.3 kB / 0.7252 GB, free: 50.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005972/0.9143, allocations: 2.411 MB / 0.7275 GB, free: 49.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009412/0.9152, allocations: 0.5427 MB / 0.7281 GB, free: 49.44 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005809/0.9158, allocations: 120.3 kB / 0.7282 GB, free: 49.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.9162, allocations: 76.44 kB / 0.7282 GB, free: 49.41 MB / 0.545 GB Notification: Performance of SimCode: time 1.032e-06/0.9162, allocations: 0 / 0.7282 GB, free: 49.41 MB / 0.545 GB Notification: Performance of Templates: time 0.03718/0.9533, allocations: 26.55 MB / 0.7542 GB, free: 28.64 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.313274874933995] Failed to read output from testmodel.py, exit status != 0: 0.96275666996371 0.97924049 0.760650962 Calling exit ...