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.0014/0.0014, 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.506/1.506, allocations: 230.6 MB / 253.4 MB, free: 8.312 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.001786/0.001786, allocations: 209.6 kB / 310 MB, free: 3.133 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5279/0.5279, allocations: 79.74 MB / 446.2 MB, free: 14.84 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.002633/0.002633, allocations: 83.88 kB / 0.5942 GB, free: 13.43 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1763, allocations: 73.31 MB / 0.6657 GB, free: 4.027 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.02207/0.1984, allocations: 19.61 MB / 0.6849 GB, free: 340 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01723/0.2156, allocations: 6.45 MB / 0.6912 GB, free: 9.867 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005938/0.2216, allocations: 43.94 kB / 0.6912 GB, free: 9.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004434/0.226, allocations: 0.9763 MB / 0.6922 GB, free: 8.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.2376, allocations: 2.872 MB / 0.695 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006684/0.2443, allocations: 2.205 MB / 0.6971 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.4273/0.6716, allocations: 7.453 MB / 0.7044 GB, free: 8.809 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/0.6739, allocations: 0.8851 MB / 0.7053 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006852/0.6807, allocations: 2.8 MB / 0.708 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007679/0.6884, allocations: 3.374 MB / 0.7113 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003902/0.6923, allocations: 0.6725 MB / 0.712 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005057/0.6974, allocations: 0.9525 MB / 0.7129 GB, free: 7.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003561/0.7009, allocations: 1.485 MB / 0.7144 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007031/0.708, allocations: 2.862 MB / 0.7171 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01399/0.722, allocations: 8.233 MB / 0.7252 GB, free: 4.715 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.722, allocations: 0 / 0.7252 GB, free: 4.715 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.722, allocations: 0 / 0.7252 GB, free: 4.715 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003731/0.7223, allocations: 0 / 0.7252 GB, free: 4.715 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 691 * Number of variables: 691 Notification: Performance of Generate backend data structure: time 0.04936/0.7717, allocations: 12.6 MB / 0.7375 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.7717, allocations: 18.08 kB / 0.7375 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.7856, allocations: 1.96 MB / 0.7394 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01145/0.7971, allocations: 3.305 MB / 0.7427 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001765/0.7989, allocations: 1.421 MB / 0.744 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00177/0.8006, allocations: 326.2 kB / 0.7444 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.8111, allocations: 3.948 MB / 0.7482 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.864e-05/0.8112, allocations: 6.688 kB / 0.7482 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/0.8116, allocations: 109.9 kB / 0.7483 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.8116, allocations: 68.41 kB / 0.7484 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009952/0.8216, allocations: 3.798 MB / 0.7521 GB, free: 4.988 MB / 0.4981 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.04081/0.8624, allocations: 15.41 MB / 0.7671 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01781/0.8802, allocations: 5.315 MB / 0.7723 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006014/0.8862, allocations: 2.234 MB / 0.7745 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006544/0.8869, allocations: 88.16 kB / 0.7746 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007136/0.894, allocations: 2.869 MB / 0.7774 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=331): time 6.703e-06/0.894, allocations: 1.594 kB / 0.7774 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=331): time 0.1098/1.004, allocations: 25.71 MB / 0.8025 GB, free: 1.586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/1.004, allocations: 192.8 kB / 0.8027 GB, free: 1.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0116/1.016, allocations: 4.532 MB / 0.8071 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.00167/1.017, allocations: 105.7 kB / 0.8072 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002551/1.02, allocations: 1.772 MB / 0.8089 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.003239/1.023, allocations: 1.251 MB / 0.8102 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002813/1.026, allocations: 1.067 MB / 0.8112 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.026, allocations: 309.1 kB / 0.8115 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007726/1.034, allocations: 3.018 MB / 0.8145 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009556/1.043, allocations: 3.54 MB / 0.8179 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01921/1.063, allocations: 6.108 MB / 0.8239 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.554e-05/1.063, allocations: 3.281 kB / 0.8239 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=737) (initialization): time 0.03641/1.099, allocations: 9.195 MB / 0.8329 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/1.099, allocations: 8 kB / 0.8329 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.682e-05/1.099, allocations: 8.125 kB / 0.8329 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02851/1.128, allocations: 10.17 MB / 0.8428 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005999/1.134, allocations: 0.9864 MB / 0.8438 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/1.157, allocations: 6.284 MB / 0.8499 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01322/1.17, allocations: 0.7346 MB / 0.8506 GB, free: 100 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002353/1.173, allocations: 192 kB / 0.8508 GB, free: 15.91 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (582): * Single equations (assignments): 579 * 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.005492/1.178, allocations: 0.7654 MB / 0.8516 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003581/1.182, allocations: 496.7 kB / 0.852 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05512/1.237, allocations: 11.52 MB / 0.8633 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.613e-05/1.237, allocations: 32 kB / 0.8633 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/1.237, allocations: 4 kB / 0.8633 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001248/1.237, allocations: 22.56 kB / 0.8633 GB, free: 3.152 MB / 0.6075 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.05874/1.296, allocations: 17.55 MB / 0.8805 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/1.296, allocations: 0 / 0.8805 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003365/1.299, allocations: 438.9 kB / 0.8809 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01683/1.316, allocations: 4.757 MB / 0.8855 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001312/1.317, allocations: 79.98 kB / 0.8856 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06368/1.381, allocations: 21.38 MB / 0.9065 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.381, allocations: 0 / 0.9065 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0492/1.43, allocations: 14.71 MB / 0.9209 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003047/1.433, allocations: 0.6366 MB / 0.9215 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00308/1.436, allocations: 73.11 kB / 0.9215 GB, free: 7.395 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006846/1.443, allocations: 387.5 kB / 0.9219 GB, free: 7.016 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003163/1.446, allocations: 0.6368 MB / 0.9225 GB, free: 6.379 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005461/1.447, allocations: 95.97 kB / 0.9226 GB, free: 6.285 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007121/1.454, allocations: 2.992 MB / 0.9255 GB, free: 3.301 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.21e-07/1.454, allocations: 3.938 kB / 0.9256 GB, free: 3.297 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008261/1.462, allocations: 1.444 MB / 0.927 GB, free: 1.852 MB / 0.67 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 (238): * Single equations (assignments): 237 * 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.001324/1.464, allocations: 229.5 kB / 0.9272 GB, free: 1.645 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02536/1.489, allocations: 7.431 MB / 0.9344 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.489, allocations: 0 / 0.9344 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01507/1.504, allocations: 4.291 MB / 0.9386 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006329/1.51, allocations: 409.7 kB / 0.939 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02272/1.533, allocations: 9.345 MB / 0.9481 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00257/1.536, allocations: 2.337 MB / 0.9504 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00285/1.538, allocations: 291.4 kB / 0.9507 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of SimCode: time 1.453e-06/1.538, allocations: 0 / 0.9507 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of Templates: time 0.4751/2.014, allocations: 80.39 MB / 1.029 GB, free: 225 MB / 0.7169 GB " [Timeout remaining time 658] 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: 19.43835280602798] Failed to read output from testmodel.py, exit status != 0: 2.0239748239982873 2.033529526 1.308781997 Calling exit ...