Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.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.001476/0.001476, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.368/1.368, allocations: 230.6 MB / 253.4 MB, free: 14.26 MB / 206.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.001472/0.001472, allocations: 219.7 kB / 310 MB, free: 3.102 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.5906/0.5906, allocations: 107.2 MB / 473.6 MB, free: 29.76 MB / 350.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.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR") [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.002456/0.002456, allocations: 82.3 kB / 0.6342 GB, free: 29.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1199, allocations: 80.15 MB / 0.7125 GB, free: 7.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01831/0.1382, allocations: 16.57 MB / 0.7287 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.1506, allocations: 6.205 MB / 0.7348 GB, free: 320 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.1537, allocations: 47.88 kB / 0.7348 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.1569, allocations: 0.9723 MB / 0.7358 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00823/0.1651, allocations: 2.554 MB / 0.7382 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006959/0.1721, allocations: 2.215 MB / 0.7404 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01146/0.1835, allocations: 7.148 MB / 0.7474 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.186, allocations: 0.8342 MB / 0.7482 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005021/0.191, allocations: 2.775 MB / 0.7509 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005189/0.1962, allocations: 3.033 MB / 0.7539 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002059/0.1982, allocations: 0.6718 MB / 0.7545 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.2009, allocations: 0.906 MB / 0.7554 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002364/0.2033, allocations: 1.467 MB / 0.7569 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004443/0.2077, allocations: 2.301 MB / 0.7591 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.2181, allocations: 8.243 MB / 0.7671 GB, free: 14.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.2181, allocations: 0 / 0.7671 GB, free: 14.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2181, allocations: 0 / 0.7671 GB, free: 14.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002415/0.2183, allocations: 3.938 kB / 0.7672 GB, free: 14.98 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 695 * Number of variables: 695 Notification: Performance of Generate backend data structure: time 0.03831/0.2566, allocations: 11.81 MB / 0.7787 GB, free: 3.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.2567, allocations: 8.031 kB / 0.7787 GB, free: 3.062 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.2684, allocations: 1.963 MB / 0.7806 GB, free: 1.094 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008103/0.2765, allocations: 3.314 MB / 0.7839 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001465/0.2779, allocations: 1.418 MB / 0.7852 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001119/0.279, allocations: 324 kB / 0.7855 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008848/0.2879, allocations: 3.961 MB / 0.7894 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.271e-05/0.2879, allocations: 4 kB / 0.7894 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003182/0.2883, allocations: 112 kB / 0.7895 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/0.2883, allocations: 68 kB / 0.7896 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008853/0.2972, allocations: 3.796 MB / 0.7933 GB, free: 3.707 MB / 0.5606 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.02951/0.3267, allocations: 11.61 MB / 0.8046 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01579/0.3425, allocations: 5.297 MB / 0.8098 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005886/0.3484, allocations: 2.225 MB / 0.812 GB, free: 348 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006782/0.349, allocations: 86.47 kB / 0.8121 GB, free: 260 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2786/0.6276, allocations: 2.855 MB / 0.8148 GB, free: 86.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=333): time 6.302e-06/0.6276, allocations: 0.5938 kB / 0.8148 GB, free: 86.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=333): time 0.09831/0.7259, allocations: 26.25 MB / 0.8405 GB, free: 79.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.726, allocations: 197.8 kB / 0.8407 GB, free: 78.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00545/0.7315, allocations: 4.308 MB / 0.8449 GB, free: 75.67 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008712/0.7323, allocations: 101.7 kB / 0.845 GB, free: 75.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009527/0.7333, allocations: 1.817 MB / 0.8468 GB, free: 74.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.7343, allocations: 1.262 MB / 0.848 GB, free: 72.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/0.7357, allocations: 1.035 MB / 0.849 GB, free: 71.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.256e-05/0.7357, allocations: 305.1 kB / 0.8493 GB, free: 71.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005184/0.7409, allocations: 2.978 MB / 0.8522 GB, free: 68.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005301/0.7462, allocations: 3.517 MB / 0.8556 GB, free: 65.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/0.7563, allocations: 6.075 MB / 0.8616 GB, free: 58.83 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/0.7563, allocations: 0 / 0.8616 GB, free: 58.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01619/0.7725, allocations: 9.092 MB / 0.8704 GB, free: 49.67 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.7725, allocations: 8 kB / 0.8705 GB, free: 49.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.7725, allocations: 12 kB / 0.8705 GB, free: 49.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02115/0.7937, allocations: 10.16 MB / 0.8804 GB, free: 39.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004391/0.7981, allocations: 0.9575 MB / 0.8813 GB, free: 38.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.8114, allocations: 6.284 MB / 0.8875 GB, free: 32.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006071/0.8175, allocations: 0.7064 MB / 0.8881 GB, free: 31.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005516/0.818, allocations: 184 kB / 0.8883 GB, free: 31.43 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,g4.eSDC1A.rotatingExciterLimited.sISO.local_reset,g2.eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (564): * Single equations (assignments): 561 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(80,72)} Notification: Performance of prepare postOptimizeDAE: time 0.001509/0.8196, allocations: 0.7665 MB / 0.8891 GB, free: 30.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007823/0.8203, allocations: 476.8 kB / 0.8895 GB, free: 30.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03242/0.8528, allocations: 11.57 MB / 0.9008 GB, free: 18.56 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.8528, allocations: 41.47 kB / 0.9009 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.8528, allocations: 0 / 0.9009 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-05/0.8529, allocations: 15.94 kB / 0.9009 GB, free: 18.51 MB / 0.5762 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.03812/0.891, allocations: 15.55 MB / 0.9161 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.891, allocations: 4 kB / 0.9161 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/0.8935, allocations: 431.6 kB / 0.9165 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01464/0.9082, allocations: 4.757 MB / 0.9211 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005842/0.9087, allocations: 83.92 kB / 0.9212 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05408/0.9628, allocations: 20.76 MB / 0.9415 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.9628, allocations: 6.953 kB / 0.9415 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04418/1.007, allocations: 14.57 MB / 0.9557 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.009, allocations: 0.6122 MB / 0.9563 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009022/1.01, allocations: 67.98 kB / 0.9564 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003994/1.014, allocations: 383.6 kB / 0.9567 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002077/1.016, allocations: 0.6443 MB / 0.9574 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/1.016, allocations: 91.98 kB / 0.9575 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004723/1.021, allocations: 2.838 MB / 0.9602 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/1.021, allocations: 3.938 kB / 0.9602 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003654/1.024, allocations: 1.459 MB / 0.9617 GB, free: 4.23 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 38 (g1.g1.w,g1.g1.delta,g1.g1.Epd,g1.g1.Epq,g1.g1.PSIkd,g1.g1.PSIkq,g1.sEXS.simpleLagLim.state,g1.sEXS.leadLag.TF.x_scaled[1],g2.g2.w,g2.g2.delta,g2.g2.Epd,g2.g2.Epq,g2.g2.PSIkd,g2.g2.PSIkq,g2.eSDC1A.imDerivativeLag.x,g2.eSDC1A.imLeadLag.TF.x_scaled[1],g2.eSDC1A.simpleLagLim.state,g2.eSDC1A.rotatingExciterLimited.sISO.y,g2.eSDC1A.TransducerDelay.state,g3.g3.w,g3.g3.delta,g3.g3.Epd,g3.g3.Epq,g3.g3.PSIkd,g3.g3.PSIkq,g3.sEXS.simpleLagLim.state,g3.sEXS.leadLag.TF.x_scaled[1],g4.gENSAL.w,g4.gENSAL.delta,g4.gENSAL.Epd,g4.gENSAL.Epq,g4.gENSAL.PSIkd,g4.gENSAL.PSIkq,g4.eSDC1A.imDerivativeLag.x,g4.eSDC1A.imLeadLag.TF.x_scaled[1],g4.eSDC1A.simpleLagLim.state,g4.eSDC1A.rotatingExciterLimited.sISO.y,g4.eSDC1A.TransducerDelay.state) * Number of discrete variables: 8 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * 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 {(54,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005691/1.025, allocations: 229.2 kB / 0.9619 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02071/1.046, allocations: 7.38 MB / 0.9691 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.046, allocations: 0 / 0.9691 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0127/1.058, allocations: 4.281 MB / 0.9733 GB, free: 8.312 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/1.061, allocations: 398.9 kB / 0.9736 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/1.078, allocations: 9.316 MB / 0.9827 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002253/1.08, allocations: 1.826 MB / 0.9845 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/1.082, allocations: 283.4 kB / 0.9848 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of SimCode: time 1.032e-06/1.082, allocations: 4 kB / 0.9848 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of Templates: time 0.1099/1.192, allocations: 81.54 MB / 1.064 GB, free: 10.88 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.355083215981722] Failed to read output from testmodel.py, exit status != 0: 1.200769041199237 1.215240667 0.993995609 Calling exit ...