Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001479/0.001479, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.324/1.324, allocations: 230.6 MB / 253.4 MB, free: 8.277 MB / 206.1 MB " [Timeout remaining time 179] 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.001531/0.001531, allocations: 213.7 kB / 310 MB, free: 3.133 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.5151/0.5151, allocations: 101.3 MB / 467.8 MB, free: 10.29 MB / 334.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.TwoAreas.Two_Areas_PSSE_AVR,tolerance=0.001,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_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.002612/0.002612, allocations: 90.22 kB / 0.6257 GB, free: 12.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.407, allocations: 78.59 MB / 0.7024 GB, free: 9.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01682/0.4238, allocations: 19.72 MB / 0.7217 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01406/0.4378, allocations: 6.456 MB / 0.728 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.4416, allocations: 47.5 kB / 0.728 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003289/0.4449, allocations: 0.977 MB / 0.729 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009206/0.4541, allocations: 2.59 MB / 0.7315 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006052/0.4601, allocations: 2.222 MB / 0.7337 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01297/0.4731, allocations: 7.175 MB / 0.7407 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.476, allocations: 0.8855 MB / 0.7415 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00568/0.4817, allocations: 2.768 MB / 0.7442 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005473/0.4872, allocations: 3.327 MB / 0.7475 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002286/0.4895, allocations: 0.6766 MB / 0.7482 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.4927, allocations: 0.9537 MB / 0.7491 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00274/0.4954, allocations: 1.474 MB / 0.7505 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005706/0.5011, allocations: 2.849 MB / 0.7533 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.5138, allocations: 8.209 MB / 0.7613 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5138, allocations: 0 / 0.7613 GB, free: 120 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5138, allocations: 1.156 kB / 0.7613 GB, free: 120 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002957/0.5141, allocations: 0 / 0.7613 GB, free: 120 kB / 0.5137 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.04168/0.5558, allocations: 11.8 MB / 0.7728 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5558, allocations: 11.97 kB / 0.7729 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.5676, allocations: 1.963 MB / 0.7748 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008593/0.5762, allocations: 3.302 MB / 0.778 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001473/0.5777, allocations: 1.426 MB / 0.7794 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.5788, allocations: 324 kB / 0.7797 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008406/0.5872, allocations: 3.965 MB / 0.7836 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.5872, allocations: 0 / 0.7836 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/0.5875, allocations: 108 kB / 0.7837 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.603e-05/0.5876, allocations: 72 kB / 0.7837 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008544/0.5961, allocations: 3.816 MB / 0.7875 GB, free: 8.766 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 preOpt removeSimpleEquations (simulation): time 0.03141/0.6276, allocations: 15.6 MB / 0.8027 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01496/0.6425, allocations: 5.323 MB / 0.8079 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005415/0.6479, allocations: 2.229 MB / 0.8101 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005613/0.6485, allocations: 98.42 kB / 0.8102 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00626/0.6548, allocations: 2.866 MB / 0.813 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=333): time 5.41e-06/0.6548, allocations: 0 / 0.813 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=333): time 0.1049/0.7596, allocations: 26.27 MB / 0.8386 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.7597, allocations: 204.9 kB / 0.8388 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00857/0.7683, allocations: 4.525 MB / 0.8433 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001119/0.7694, allocations: 97.7 kB / 0.8433 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.7712, allocations: 1.8 MB / 0.8451 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002093/0.7733, allocations: 1.255 MB / 0.8463 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002107/0.7754, allocations: 1.067 MB / 0.8474 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7756, allocations: 309 kB / 0.8477 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006413/0.782, allocations: 3.018 MB / 0.8506 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007009/0.789, allocations: 3.558 MB / 0.8541 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01355/0.8025, allocations: 6.111 MB / 0.8601 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.8026, allocations: 3.938 kB / 0.8601 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.02156/0.8241, allocations: 9.318 MB / 0.8692 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.8241, allocations: 4 kB / 0.8692 GB, free: 3.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/0.8242, allocations: 12 kB / 0.8692 GB, free: 3.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02565/0.8498, allocations: 10.29 MB / 0.8792 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005166/0.855, allocations: 0.983 MB / 0.8802 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/0.8726, allocations: 6.292 MB / 0.8863 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007592/0.8802, allocations: 0.7462 MB / 0.8871 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/0.8814, allocations: 192 kB / 0.8872 GB, free: 1.395 MB / 0.6387 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 (584): * Single equations (assignments): 581 * 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.002986/0.8843, allocations: 0.7742 MB / 0.888 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001817/0.8862, allocations: 488.8 kB / 0.8885 GB, free: 132 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03739/0.9235, allocations: 11.58 MB / 0.8998 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.07e-05/0.9236, allocations: 32 kB / 0.8998 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.68e-05/0.9236, allocations: 7.984 kB / 0.8998 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/0.9237, allocations: 15.94 kB / 0.8998 GB, free: 4.434 MB / 0.6544 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.04867/0.9724, allocations: 17.57 MB / 0.917 GB, free: 2.645 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/0.9724, allocations: 0 / 0.917 GB, free: 2.645 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002919/0.9753, allocations: 431.5 kB / 0.9174 GB, free: 2.223 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01633/0.9916, allocations: 4.757 MB / 0.922 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/0.9927, allocations: 87.97 kB / 0.9221 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05556/1.048, allocations: 21.39 MB / 0.943 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/1.048, allocations: 4 kB / 0.943 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04756/1.096, allocations: 14.58 MB / 0.9572 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/1.098, allocations: 0.6443 MB / 0.9579 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001989/1.1, allocations: 71.98 kB / 0.9579 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005601/1.106, allocations: 379.6 kB / 0.9583 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002891/1.109, allocations: 0.6431 MB / 0.9589 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007842/1.109, allocations: 91.92 kB / 0.959 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.007204/1.117, allocations: 2.98 MB / 0.9619 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.117, allocations: 0 / 0.9619 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006922/1.123, allocations: 1.452 MB / 0.9634 GB, free: 2.914 MB / 0.7169 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.001128/1.125, allocations: 226.8 kB / 0.9636 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02311/1.148, allocations: 7.427 MB / 0.9708 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.148, allocations: 11.94 kB / 0.9708 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01363/1.161, allocations: 4.289 MB / 0.975 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005239/1.167, allocations: 394.2 kB / 0.9754 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.266/1.433, allocations: 9.346 MB / 0.9845 GB, free: 240.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/1.434, allocations: 2.342 MB / 0.9868 GB, free: 240 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002095/1.436, allocations: 293.8 kB / 0.9871 GB, free: 240 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/1.436, allocations: 0 / 0.9871 GB, free: 240 MB / 0.7325 GB Notification: Performance of Templates: time 0.08736/1.524, allocations: 80.44 MB / 1.066 GB, free: 188.7 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 16.397114787017927] Failed to read output from testmodel.py, exit status != 0: 1.5324831940233707 1.540283953 1.024227175 Calling exit ...