Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.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.001487/0.001487, allocations: 80.53 kB / 19.18 MB, free: 2.516 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.44/1.44, allocations: 177.1 MB / 199.4 MB, free: 8.426 MB / 190.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.001529/0.001529, allocations: 156.3 kB / 256 MB, free: 4.293 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.5808/0.5808, allocations: 80.25 MB / 392.6 MB, free: 29.7 MB / 334.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.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.5553 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.908e-05, allocations: 3.703 kB / 0.5553 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.01064/0.01067, allocations: 11.86 MB / 0.5669 GB, free: 6.094 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008527/0.0192, allocations: 3.481 MB / 0.5703 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003562/0.02276, allocations: 30.19 kB / 0.5704 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.02462, allocations: 0.5688 MB / 0.5709 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00563/0.03025, allocations: 1.625 MB / 0.5725 GB, free: 1.348 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003681/0.03393, allocations: 1.565 MB / 0.574 GB, free: 224 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007719/0.04165, allocations: 3.832 MB / 0.5778 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.0437, allocations: 0.5829 MB / 0.5783 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005449/0.04915, allocations: 2.169 MB / 0.5805 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.05228, allocations: 1.6 MB / 0.582 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008302/0.05311, allocations: 296 kB / 0.5823 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.0545, allocations: 455.8 kB / 0.5827 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008516/0.05535, allocations: 0.805 MB / 0.5835 GB, free: 9.305 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.05703, allocations: 1.102 MB / 0.5846 GB, free: 8.199 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005692/0.06273, allocations: 4.162 MB / 0.5887 GB, free: 4.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.06273, allocations: 0 / 0.5887 GB, free: 4.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.06273, allocations: 3.938 kB / 0.5887 GB, free: 4.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001113/0.06284, allocations: 4 kB / 0.5887 GB, free: 4.016 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02658/0.08942, allocations: 7.441 MB / 0.5959 GB, free: 12.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/0.08949, allocations: 8.031 kB / 0.5959 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/0.1056, allocations: 2.327 MB / 0.5982 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004666/0.1103, allocations: 1.836 MB / 0.6 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001/0.1113, allocations: 0.8248 MB / 0.6008 GB, free: 7.273 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008171/0.1121, allocations: 227.9 kB / 0.601 GB, free: 7.051 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007633/0.1197, allocations: 3.105 MB / 0.6041 GB, free: 3.855 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-05/0.1198, allocations: 3.938 kB / 0.6041 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003027/0.1201, allocations: 84 kB / 0.6041 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.426e-05/0.1201, allocations: 48 kB / 0.6042 GB, free: 3.723 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007438/0.1275, allocations: 2.842 MB / 0.607 GB, free: 0.8516 MB / 462.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.02047/0.148, allocations: 7.465 MB / 0.6143 GB, free: 9.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.1603, allocations: 3.61 MB / 0.6178 GB, free: 5.582 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005291/0.1656, allocations: 1.85 MB / 0.6196 GB, free: 3.715 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004611/0.1661, allocations: 29.98 kB / 0.6196 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006233/0.1723, allocations: 2.31 MB / 0.6219 GB, free: 1.344 MB / 478.1 MB Notification: Performance of pre-optimization done (n=250): time 7.975e-06/0.1723, allocations: 0 / 0.6219 GB, free: 1.344 MB / 478.1 MB Notification: Performance of matching and sorting (n=250): time 0.1354/0.3077, allocations: 28.61 MB / 0.6498 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/0.3079, allocations: 180.2 kB / 0.65 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005285/0.3131, allocations: 2.3 MB / 0.6522 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000788/0.3139, allocations: 73.7 kB / 0.6523 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.3152, allocations: 1.193 MB / 0.6535 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001913/0.3171, allocations: 0.9141 MB / 0.6544 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002445/0.3196, allocations: 0.5502 MB / 0.6549 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3197, allocations: 301.1 kB / 0.6552 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005623/0.3253, allocations: 2.082 MB / 0.6572 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005974/0.3313, allocations: 2.446 MB / 0.6596 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06685/0.3982, allocations: 14.64 MB / 0.6739 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.3982, allocations: 4 kB / 0.6739 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=415) (initialization): time 0.04766/0.4458, allocations: 12.45 MB / 0.6861 GB, free: 14.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.446, allocations: 121.3 kB / 0.6862 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.446, allocations: 8 kB / 0.6862 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02161/0.4676, allocations: 5.426 MB / 0.6915 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/0.4712, allocations: 0.5733 MB / 0.692 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07023/0.5414, allocations: 22.96 MB / 0.7145 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004947/0.5463, allocations: 489.9 kB / 0.7149 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005657/0.5469, allocations: 120 kB / 0.7151 GB, free: 1.117 MB / 0.5606 GB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 321 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001501/0.5484, allocations: 0.5295 MB / 0.7156 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007837/0.5492, allocations: 313.9 kB / 0.7159 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04539/0.5946, allocations: 11.91 MB / 0.7275 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-05/0.5946, allocations: 28 kB / 0.7275 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.315e-05/0.5946, allocations: 20 kB / 0.7275 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.524e-05/0.5947, allocations: 15.89 kB / 0.7276 GB, free: 4.172 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.3238/0.9185, allocations: 14.29 MB / 0.7415 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/0.9185, allocations: 0 / 0.7415 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001743/0.9203, allocations: 246.3 kB / 0.7418 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01889/0.9392, allocations: 5.276 MB / 0.7469 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006708/0.9398, allocations: 54.11 kB / 0.747 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05781/0.9977, allocations: 23.98 MB / 0.7704 GB, free: 138 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.9977, allocations: 2 kB / 0.7704 GB, free: 138 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04375/1.041, allocations: 14.37 MB / 0.7844 GB, free: 129.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009714/1.042, allocations: 353.1 kB / 0.7847 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008385/1.043, allocations: 48 kB / 0.7848 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003304/1.047, allocations: 303.6 kB / 0.7851 GB, free: 128.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002233/1.049, allocations: 0.5995 MB / 0.7857 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/1.049, allocations: 71.92 kB / 0.7857 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00199/1.051, allocations: 1.518 MB / 0.7872 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.051, allocations: 4 kB / 0.7872 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003496/1.054, allocations: 1.192 MB / 0.7884 GB, free: 125.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(66,22,7.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005132/1.055, allocations: 187.5 kB / 0.7886 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01768/1.073, allocations: 6.605 MB / 0.795 GB, free: 118.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.073, allocations: 3.828 kB / 0.795 GB, free: 118.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.01335/1.086, allocations: 4.291 MB / 0.7992 GB, free: 114.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/1.088, allocations: 269.4 kB / 0.7995 GB, free: 113.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008752/1.097, allocations: 5.427 MB / 0.8048 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009363/1.098, allocations: 1.269 MB / 0.806 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001106/1.099, allocations: 262.5 kB / 0.8063 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006208/1.1, allocations: 176.4 kB / 0.8064 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.353e-06/1.1, allocations: 0 / 0.8064 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.0813/1.181, allocations: 70.85 MB / 0.8756 GB, free: 36.07 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.017224997282028] Failed to read output from testmodel.py, exit status != 0: 1.1896925307810307 1.199514701 1.134341319 Calling exit ...