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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 225.6 MB / 247.7 MB, free: 13.43 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 195.5 kB / 303.1 MB, free: 8.668 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.4839/0.4839, allocations: 79.73 MB / 438.1 MB, free: 5.312 MB / 302.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 88.19 kB / 0.584 GB, free: 8.004 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1737, allocations: 72.13 MB / 0.6544 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSSE_AVR): time 0.02286/0.1966, allocations: 19.6 MB / 0.6735 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01897/0.2156, allocations: 6.427 MB / 0.6798 GB, free: 5.637 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00629/0.2219, allocations: 39.94 kB / 0.6799 GB, free: 5.598 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004802/0.2267, allocations: 0.988 MB / 0.6808 GB, free: 4.602 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.2391, allocations: 2.849 MB / 0.6836 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007068/0.2462, allocations: 2.215 MB / 0.6858 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01591/0.2621, allocations: 7.468 MB / 0.6931 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004519/0.2666, allocations: 0.8849 MB / 0.6939 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008912/0.2755, allocations: 2.794 MB / 0.6967 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00839/0.2839, allocations: 3.381 MB / 0.7 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003268/0.2872, allocations: 0.6758 MB / 0.7006 GB, free: 264 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4028/0.69, allocations: 0.9376 MB / 0.7015 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002888/0.6929, allocations: 1.489 MB / 0.703 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00803/0.7009, allocations: 2.859 MB / 0.7058 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02027/0.7212, allocations: 8.236 MB / 0.7138 GB, free: 13.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.7212, allocations: 0 / 0.7138 GB, free: 13.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7212, allocations: 0 / 0.7138 GB, free: 13.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003903/0.7216, allocations: 0 / 0.7138 GB, free: 13.23 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.05658/0.7781, allocations: 12.59 MB / 0.7261 GB, free: 10.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/0.7782, allocations: 13.89 kB / 0.7261 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0151/0.7933, allocations: 1.961 MB / 0.728 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.8051, allocations: 3.303 MB / 0.7313 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00116/0.8063, allocations: 1.007 MB / 0.7323 GB, free: 6.578 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002057/0.8083, allocations: 322.9 kB / 0.7326 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009568/0.8179, allocations: 3.956 MB / 0.7364 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-05/0.8179, allocations: 10.77 kB / 0.7364 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003656/0.8183, allocations: 109.9 kB / 0.7365 GB, free: 4.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/0.8184, allocations: 66.97 kB / 0.7366 GB, free: 4.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007939/0.8263, allocations: 3.801 MB / 0.7403 GB, free: 2.211 MB / 494.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.037/0.8633, allocations: 15.41 MB / 0.7554 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01727/0.8806, allocations: 5.312 MB / 0.7606 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006544/0.8871, allocations: 2.229 MB / 0.7627 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009696/0.8881, allocations: 96.61 kB / 0.7628 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009439/0.8975, allocations: 2.861 MB / 0.7656 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=331): time 1.256e-05/0.8975, allocations: 0 / 0.7656 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=331): time 0.1224/1.02, allocations: 25.72 MB / 0.7907 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/1.02, allocations: 192.3 kB / 0.7909 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01259/1.033, allocations: 4.537 MB / 0.7953 GB, free: 13.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00169/1.034, allocations: 105.7 kB / 0.7954 GB, free: 13.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002219/1.037, allocations: 1.762 MB / 0.7972 GB, free: 11.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003039/1.04, allocations: 1.27 MB / 0.7984 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002962/1.043, allocations: 1.064 MB / 0.7994 GB, free: 9.441 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.043, allocations: 305.1 kB / 0.7997 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007718/1.05, allocations: 3.014 MB / 0.8027 GB, free: 6.121 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009081/1.06, allocations: 3.545 MB / 0.8061 GB, free: 2.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01743/1.077, allocations: 6.102 MB / 0.8121 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.192e-05/1.077, allocations: 0 / 0.8121 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=739) (initialization): time 0.03456/1.112, allocations: 9.314 MB / 0.8212 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/1.112, allocations: 7.375 kB / 0.8212 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.885e-05/1.112, allocations: 13.81 kB / 0.8212 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03021/1.142, allocations: 10.29 MB / 0.8313 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006241/1.148, allocations: 0.9803 MB / 0.8322 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/1.168, allocations: 6.295 MB / 0.8384 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009911/1.178, allocations: 0.7384 MB / 0.8391 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/1.179, allocations: 192 kB / 0.8393 GB, free: 456 kB / 0.5762 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 (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/1.182, allocations: 0.7764 MB / 0.84 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/1.184, allocations: 489.6 kB / 0.8405 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03772/1.222, allocations: 11.52 MB / 0.8518 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.508e-05/1.222, allocations: 36 kB / 0.8518 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.222, allocations: 4 kB / 0.8518 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001401/1.222, allocations: 15.94 kB / 0.8518 GB, free: 3.68 MB / 0.5919 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.05822/1.28, allocations: 17.55 MB / 0.8689 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/1.28, allocations: 7.984 kB / 0.8689 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003497/1.284, allocations: 433.4 kB / 0.8694 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01652/1.3, allocations: 4.754 MB / 0.874 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001312/1.302, allocations: 79.98 kB / 0.8741 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05514/1.357, allocations: 21.38 MB / 0.895 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.357, allocations: 7.219 kB / 0.895 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04889/1.406, allocations: 14.7 MB / 0.9093 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003196/1.409, allocations: 0.6482 MB / 0.91 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003031/1.412, allocations: 68 kB / 0.91 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006681/1.418, allocations: 383.5 kB / 0.9104 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003376/1.422, allocations: 0.6392 MB / 0.911 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007151/1.423, allocations: 99.91 kB / 0.9111 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.007773/1.43, allocations: 2.984 MB / 0.914 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.61e-07/1.43, allocations: 4 kB / 0.914 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009326/1.44, allocations: 1.444 MB / 0.9154 GB, free: 2.387 MB / 0.6544 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.001352/1.441, allocations: 234.7 kB / 0.9157 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02668/1.468, allocations: 7.434 MB / 0.9229 GB, free: 10.79 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.468, allocations: 4.312 kB / 0.9229 GB, free: 10.78 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01545/1.483, allocations: 4.311 MB / 0.9271 GB, free: 6.504 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005992/1.489, allocations: 397 kB / 0.9275 GB, free: 6.117 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/1.51, allocations: 9.305 MB / 0.9366 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/1.513, allocations: 2.341 MB / 0.9389 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003196/1.516, allocations: 449.9 kB / 0.9393 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/1.517, allocations: 271.4 kB / 0.9396 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of SimCode: time 2.255e-06/1.517, allocations: 0 / 0.9396 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of Templates: time 0.5522/2.07, allocations: 82.73 MB / 1.02 GB, free: 214.6 MB / 0.7012 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: 11.223001391626894] Failed to read output from testmodel.py, exit status != 0: 2.0801304411143064 2.098256914 1.373255272 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5e3e5257b0>