Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001713/0.001713, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.434/1.434, allocations: 177.1 MB / 199.4 MB, free: 8.449 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.001948/0.001948, allocations: 172.8 kB / 256 MB, free: 4.312 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.625/0.625, allocations: 80.25 MB / 392.6 MB, free: 29.71 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.5553 GB, free: 14.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.559e-05, allocations: 11.92 kB / 0.5553 GB, free: 14.25 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.006265/0.00629, allocations: 5.886 MB / 0.561 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004397/0.01069, allocations: 1.962 MB / 0.563 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008819/0.01157, allocations: 22.47 kB / 0.563 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007696/0.01234, allocations: 235 kB / 0.5632 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.01461, allocations: 0.8778 MB / 0.5641 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.01596, allocations: 0.6481 MB / 0.5647 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.01762, allocations: 1.642 MB / 0.5663 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.01802, allocations: 212.3 kB / 0.5665 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.01907, allocations: 0.9336 MB / 0.5674 GB, free: 5.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008078/0.01988, allocations: 0.6929 MB / 0.5681 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.0201, allocations: 127.7 kB / 0.5682 GB, free: 5.496 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006069/0.02071, allocations: 288.3 kB / 0.5685 GB, free: 5.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.02095, allocations: 353 kB / 0.5688 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004411/0.02139, allocations: 475 kB / 0.5693 GB, free: 4.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.02299, allocations: 1.779 MB / 0.571 GB, free: 3.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.02299, allocations: 0 / 0.571 GB, free: 3.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.02299, allocations: 0 / 0.571 GB, free: 3.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.02301, allocations: 0 / 0.571 GB, free: 3.504 MB / 430.1 MB 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.009034/0.03205, allocations: 2.866 MB / 0.5738 GB, free: 1.699 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.03208, allocations: 9.906 kB / 0.5738 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005335/0.03742, allocations: 0.7962 MB / 0.5746 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.03905, allocations: 0.8537 MB / 0.5754 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/0.03932, allocations: 333.7 kB / 0.5758 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.03949, allocations: 86.77 kB / 0.5758 GB, free: 356 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.04171, allocations: 1.131 MB / 0.5769 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.04173, allocations: 3.938 kB / 0.5769 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.04184, allocations: 35.36 kB / 0.577 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.04186, allocations: 25.91 kB / 0.577 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.0441, allocations: 1.015 MB / 0.578 GB, free: 14.89 MB / 446.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.006918/0.05102, allocations: 2.894 MB / 0.5808 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008037/0.05905, allocations: 2.032 MB / 0.5828 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.06058, allocations: 0.6564 MB / 0.5834 GB, free: 9.215 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.06069, allocations: 13 kB / 0.5835 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001933/0.06262, allocations: 0.8584 MB / 0.5843 GB, free: 8.316 MB / 446.1 MB Notification: Performance of pre-optimization done (n=97): time 3.938e-06/0.06263, allocations: 0 / 0.5843 GB, free: 8.316 MB / 446.1 MB Notification: Performance of matching and sorting (n=97): time 0.03273/0.09536, allocations: 7.087 MB / 0.5912 GB, free: 1.191 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/0.09545, allocations: 123.7 kB / 0.5913 GB, free: 1.047 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.09781, allocations: 1.102 MB / 0.5924 GB, free: 15.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002778/0.09809, allocations: 45.7 kB / 0.5925 GB, free: 15.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005185/0.09861, allocations: 0.513 MB / 0.593 GB, free: 15.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006302/0.09924, allocations: 372.8 kB / 0.5933 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000817/0.1001, allocations: 275.5 kB / 0.5936 GB, free: 14.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1002, allocations: 309.1 kB / 0.5939 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.1022, allocations: 0.8232 MB / 0.5947 GB, free: 13.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.1043, allocations: 0.9923 MB / 0.5956 GB, free: 12.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02959/0.1339, allocations: 5.985 MB / 0.6015 GB, free: 6.465 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.905e-05/0.1339, allocations: 4 kB / 0.6015 GB, free: 6.461 MB / 462.1 MB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01631/0.1502, allocations: 4.442 MB / 0.6058 GB, free: 1.977 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.765e-05/0.1503, allocations: 63.39 kB / 0.6059 GB, free: 1.902 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.1503, allocations: 4 kB / 0.6059 GB, free: 1.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006766/0.1571, allocations: 1.623 MB / 0.6075 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.1588, allocations: 275.6 kB / 0.6077 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02386/0.1827, allocations: 8.316 MB / 0.6159 GB, free: 7.574 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/0.1851, allocations: 211.2 kB / 0.6161 GB, free: 7.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/0.1854, allocations: 51.98 kB / 0.6161 GB, free: 7.316 MB / 478.1 MB 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.0009602/0.1864, allocations: 300.5 kB / 0.6164 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004755/0.1868, allocations: 139.1 kB / 0.6165 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0146/0.2014, allocations: 3.898 MB / 0.6203 GB, free: 2.938 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.2015, allocations: 12 kB / 0.6203 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.854e-05/0.2015, allocations: 4 kB / 0.6204 GB, free: 2.922 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-05/0.2015, allocations: 11.97 kB / 0.6204 GB, free: 2.91 MB / 478.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.01758/0.2191, allocations: 4.939 MB / 0.6252 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.2191, allocations: 4 kB / 0.6252 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/0.2199, allocations: 99.89 kB / 0.6253 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006324/0.2262, allocations: 1.574 MB / 0.6268 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002502/0.2264, allocations: 27.98 kB / 0.6268 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02353/0.25, allocations: 9.212 MB / 0.6358 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.25, allocations: 0 / 0.6358 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01684/0.2668, allocations: 4.801 MB / 0.6405 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/0.2675, allocations: 151 kB / 0.6407 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005539/0.2681, allocations: 23.94 kB / 0.6407 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/0.2698, allocations: 115.9 kB / 0.6408 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00085/0.2707, allocations: 200.6 kB / 0.641 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/0.2708, allocations: 28 kB / 0.641 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001603/0.2724, allocations: 0.7389 MB / 0.6418 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2724, allocations: 0 / 0.6418 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002605/0.275, allocations: 499.5 kB / 0.6422 GB, free: 12.18 MB / 0.4981 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.0005695/0.2756, allocations: 148.9 kB / 0.6424 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008513/0.2841, allocations: 2.51 MB / 0.6448 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.2841, allocations: 0 / 0.6448 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005495/0.2896, allocations: 1.537 MB / 0.6463 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.2917, allocations: 124.8 kB / 0.6464 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006249/0.2979, allocations: 2.266 MB / 0.6487 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/0.2987, allocations: 0.5359 MB / 0.6492 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006448/0.2994, allocations: 120 kB / 0.6493 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.2997, allocations: 84.47 kB / 0.6494 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of SimCode: time 1.143e-06/0.2997, allocations: 0 / 0.6494 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of Templates: time 0.04746/0.3472, allocations: 26.46 MB / 0.6752 GB, free: 10.3 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.762988101691008] Failed to read output from testmodel.py, exit status != 0: 0.35804472491145134 0.380037024 0.352970908 Calling exit ...