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.001269/0.001269, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.391/1.391, allocations: 230.6 MB / 253.4 MB, free: 14.3 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.001539/0.001539, allocations: 206.7 kB / 310 MB, free: 3.07 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.5926/0.5926, allocations: 107.3 MB / 473.7 MB, free: 29.56 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.002434/0.002434, allocations: 86.02 kB / 0.6344 GB, free: 29.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1481, allocations: 80.16 MB / 0.7127 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.01874/0.1669, allocations: 16.61 MB / 0.7289 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01277/0.1797, allocations: 6.221 MB / 0.735 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/0.1833, allocations: 47.81 kB / 0.7351 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003456/0.1867, allocations: 0.9802 MB / 0.736 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0086/0.1953, allocations: 2.546 MB / 0.7385 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005666/0.201, allocations: 2.21 MB / 0.7407 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.2121, allocations: 7.156 MB / 0.7477 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.2141, allocations: 0.842 MB / 0.7485 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00458/0.2187, allocations: 2.779 MB / 0.7512 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005253/0.2239, allocations: 3.025 MB / 0.7541 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001795/0.2257, allocations: 0.6719 MB / 0.7548 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.228, allocations: 0.9021 MB / 0.7557 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001626/0.2296, allocations: 1.471 MB / 0.7571 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003435/0.233, allocations: 2.305 MB / 0.7594 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.2434, allocations: 8.243 MB / 0.7674 GB, free: 14.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2434, allocations: 0 / 0.7674 GB, free: 14.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2434, allocations: 0 / 0.7674 GB, free: 14.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002415/0.2437, allocations: 0 / 0.7674 GB, free: 14.83 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.03862/0.2823, allocations: 11.81 MB / 0.7789 GB, free: 2.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2823, allocations: 8.031 kB / 0.779 GB, free: 2.918 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/0.2945, allocations: 1.964 MB / 0.7809 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008472/0.303, allocations: 3.322 MB / 0.7841 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001566/0.3045, allocations: 1.414 MB / 0.7855 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/0.3057, allocations: 327.9 kB / 0.7858 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008768/0.3145, allocations: 3.957 MB / 0.7897 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.484e-05/0.3145, allocations: 3.984 kB / 0.7897 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003121/0.3148, allocations: 112 kB / 0.7898 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.3149, allocations: 72 kB / 0.7899 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008648/0.3235, allocations: 3.784 MB / 0.7936 GB, free: 3.566 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.02701/0.3505, allocations: 11.62 MB / 0.8049 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/0.3659, allocations: 5.297 MB / 0.8101 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006492/0.3724, allocations: 2.221 MB / 0.8122 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005363/0.373, allocations: 90.41 kB / 0.8123 GB, free: 104 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3348/0.7078, allocations: 2.86 MB / 0.8151 GB, free: 86.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=333): time 7.794e-06/0.7078, allocations: 0 / 0.8151 GB, free: 86.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=333): time 0.101/0.8088, allocations: 26.26 MB / 0.8408 GB, free: 79.03 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.8088, allocations: 197.9 kB / 0.8409 GB, free: 78.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005685/0.8145, allocations: 4.306 MB / 0.8452 GB, free: 75.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008743/0.8154, allocations: 101.7 kB / 0.8453 GB, free: 75.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009549/0.8164, allocations: 1.815 MB / 0.847 GB, free: 73.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001164/0.8175, allocations: 1.263 MB / 0.8483 GB, free: 72.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/0.819, allocations: 1.027 MB / 0.8493 GB, free: 71.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.785e-05/0.819, allocations: 305.1 kB / 0.8496 GB, free: 71.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005097/0.8241, allocations: 2.986 MB / 0.8525 GB, free: 68.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005311/0.8295, allocations: 3.513 MB / 0.8559 GB, free: 64.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/0.8395, allocations: 6.078 MB / 0.8618 GB, free: 58.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.525e-05/0.8395, allocations: 4 kB / 0.8618 GB, free: 58.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01617/0.8557, allocations: 9.092 MB / 0.8707 GB, free: 49.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.8557, allocations: 8 kB / 0.8707 GB, free: 49.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/0.8557, allocations: 8 kB / 0.8707 GB, free: 49.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02128/0.877, allocations: 10.16 MB / 0.8806 GB, free: 39.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004398/0.8814, allocations: 0.9557 MB / 0.8816 GB, free: 38.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.8951, allocations: 6.284 MB / 0.8877 GB, free: 32.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006193/0.9013, allocations: 0.7017 MB / 0.8884 GB, free: 31.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000536/0.9019, allocations: 188.6 kB / 0.8886 GB, free: 31.26 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.001565/0.9034, allocations: 0.7648 MB / 0.8893 GB, free: 30.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008478/0.9043, allocations: 484.8 kB / 0.8898 GB, free: 30.01 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03269/0.937, allocations: 11.57 MB / 0.9011 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.941e-05/0.937, allocations: 36 kB / 0.9011 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.937, allocations: 4 kB / 0.9011 GB, free: 18.35 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.272e-05/0.9371, allocations: 17.25 kB / 0.9011 GB, free: 18.34 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.03977/0.9768, allocations: 15.55 MB / 0.9163 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/0.9769, allocations: 0 / 0.9163 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002652/0.9795, allocations: 431.5 kB / 0.9167 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0157/0.9952, allocations: 4.756 MB / 0.9214 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008218/0.996, allocations: 83.97 kB / 0.9215 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.056/1.052, allocations: 20.76 MB / 0.9417 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.052, allocations: 3.938 kB / 0.9417 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04443/1.096, allocations: 14.57 MB / 0.956 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/1.098, allocations: 0.6151 MB / 0.9566 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/1.1, allocations: 75.98 kB / 0.9567 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004268/1.104, allocations: 379.6 kB / 0.957 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002176/1.106, allocations: 0.643 MB / 0.9576 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002804/1.106, allocations: 98.89 kB / 0.9577 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.005169/1.112, allocations: 2.83 MB / 0.9605 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/1.112, allocations: 4 kB / 0.9605 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004786/1.116, allocations: 1.454 MB / 0.9619 GB, free: 4.066 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.0006572/1.117, allocations: 234.6 kB / 0.9621 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02077/1.138, allocations: 7.371 MB / 0.9693 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.138, allocations: 4 kB / 0.9694 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01267/1.15, allocations: 4.28 MB / 0.9735 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/1.154, allocations: 392.5 kB / 0.9739 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/1.17, allocations: 9.319 MB / 0.983 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/1.172, allocations: 1.826 MB / 0.9848 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/1.174, allocations: 287.4 kB / 0.9851 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of SimCode: time 9.82e-07/1.174, allocations: 0 / 0.9851 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of Templates: time 0.113/1.287, allocations: 81.55 MB / 1.065 GB, free: 10.69 MB / 0.7325 GB " [Timeout remaining time 659] 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.46949305292219] Failed to read output from testmodel.py, exit status != 0: 1.2958494988270104 1.31016863 1.063608801 Calling exit ...