Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.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.001268/0.001268, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.413/1.413, allocations: 225.6 MB / 246.2 MB, free: 13.57 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.001734/0.001734, allocations: 195.1 kB / 301.4 MB, free: 9.098 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5281/0.5281, allocations: 94.15 MB / 450.7 MB, free: 9.598 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002382/0.002382, allocations: 91.84 kB / 0.6025 GB, free: 14.92 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1836, allocations: 75.53 MB / 0.6763 GB, free: 3.23 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01587/0.1994, allocations: 13.89 MB / 0.6898 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.2098, allocations: 3.511 MB / 0.6933 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003636/0.2135, allocations: 28 kB / 0.6933 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.2161, allocations: 0.5654 MB / 0.6938 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3717/0.5878, allocations: 1.574 MB / 0.6954 GB, free: 9.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.5917, allocations: 1.521 MB / 0.6969 GB, free: 9.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005446/0.5971, allocations: 3.779 MB / 0.7005 GB, free: 9.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009964/0.5981, allocations: 0.6111 MB / 0.7011 GB, free: 9.336 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.6009, allocations: 1.55 MB / 0.7027 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003238/0.6041, allocations: 2.018 MB / 0.7046 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007614/0.6049, allocations: 290.2 kB / 0.7049 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.606, allocations: 434.8 kB / 0.7053 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006839/0.6067, allocations: 0.7822 MB / 0.7061 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.6083, allocations: 1.647 MB / 0.7077 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005907/0.6142, allocations: 4.046 MB / 0.7116 GB, free: 6.504 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6142, allocations: 0.75 kB / 0.7116 GB, free: 6.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6142, allocations: 0 / 0.7116 GB, free: 6.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001489/0.6144, allocations: 1 kB / 0.7116 GB, free: 6.504 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.0257/0.6401, allocations: 6.75 MB / 0.7182 GB, free: 3.828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.6401, allocations: 9.625 kB / 0.7182 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.6546, allocations: 2.296 MB / 0.7205 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004155/0.6588, allocations: 1.921 MB / 0.7224 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000565/0.6593, allocations: 0.7321 MB / 0.7231 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004641/0.6598, allocations: 214.9 kB / 0.7233 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005809/0.6656, allocations: 3.049 MB / 0.7263 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.6656, allocations: 0 / 0.7263 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/0.6659, allocations: 87.09 kB / 0.7263 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.251e-05/0.6659, allocations: 51.06 kB / 0.7264 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006031/0.672, allocations: 2.792 MB / 0.7291 GB, free: 14.55 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.0241/0.6961, allocations: 9.879 MB / 0.7388 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01106/0.7071, allocations: 3.988 MB / 0.7427 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004667/0.7118, allocations: 1.785 MB / 0.7444 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005243/0.7123, allocations: 46.38 kB / 0.7444 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0059/0.7182, allocations: 2.243 MB / 0.7466 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 6.933e-06/0.7182, allocations: 0 / 0.7466 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.1174/0.8356, allocations: 27.35 MB / 0.7734 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.8357, allocations: 188.2 kB / 0.7735 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004206/0.8399, allocations: 2.313 MB / 0.7758 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008633/0.8408, allocations: 73.7 kB / 0.7759 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.8419, allocations: 1.192 MB / 0.777 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00149/0.8434, allocations: 0.9225 MB / 0.7779 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.8446, allocations: 0.5699 MB / 0.7785 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.8447, allocations: 301.1 kB / 0.7788 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004503/0.8492, allocations: 1.97 MB / 0.7807 GB, free: 15.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004872/0.8541, allocations: 2.348 MB / 0.783 GB, free: 12.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05742/0.9115, allocations: 14.23 MB / 0.7969 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/0.9115, allocations: 12.94 kB / 0.7969 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.04361/0.9552, allocations: 12.48 MB / 0.8091 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.9553, allocations: 114.8 kB / 0.8092 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.9553, allocations: 4 kB / 0.8092 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01839/0.9737, allocations: 5.261 MB / 0.8143 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003522/0.9772, allocations: 0.5851 MB / 0.8149 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06367/1.041, allocations: 23.21 MB / 0.8376 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005318/1.046, allocations: 0.4938 MB / 0.838 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007673/1.047, allocations: 120 kB / 0.8382 GB, free: 3.973 MB / 0.5919 GB Warning: Assuming fixed start value for the following 7 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.delta:VARIABLE(flow=false start = Syn2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (334): * Single equations (assignments): 329 * 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): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001724/1.049, allocations: 0.5365 MB / 0.8387 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.05, allocations: 318 kB / 0.839 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04039/1.09, allocations: 11.84 MB / 0.8506 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.891e-05/1.09, allocations: 28 kB / 0.8506 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-05/1.09, allocations: 19.94 kB / 0.8506 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-05/1.09, allocations: 19.89 kB / 0.8506 GB, free: 7.109 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.04851/1.139, allocations: 15.47 MB / 0.8657 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/1.139, allocations: 4 kB / 0.8657 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/1.141, allocations: 247.6 kB / 0.866 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01857/1.159, allocations: 5.299 MB / 0.8711 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009191/1.16, allocations: 51.98 kB / 0.8712 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06135/1.221, allocations: 24.95 MB / 0.8956 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.221, allocations: 4 kB / 0.8956 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04803/1.27, allocations: 14.24 MB / 0.9095 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/1.271, allocations: 438.3 kB / 0.9099 GB, free: 9.688 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/1.272, allocations: 48 kB / 0.9099 GB, free: 9.641 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003599/1.276, allocations: 299.6 kB / 0.9102 GB, free: 9.348 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002396/1.278, allocations: 0.5802 MB / 0.9108 GB, free: 8.766 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000301/1.279, allocations: 63.98 kB / 0.9108 GB, free: 8.703 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002831/1.282, allocations: 1.531 MB / 0.9123 GB, free: 7.168 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/1.282, allocations: 0 / 0.9123 GB, free: 7.168 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005651/1.287, allocations: 1.186 MB / 0.9135 GB, free: 5.98 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (158): * Single equations (assignments): 153 * 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 {(67,21,7.5%)} * 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.0006485/1.288, allocations: 177.3 kB / 0.9137 GB, free: 5.801 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01953/1.307, allocations: 6.353 MB / 0.9199 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.307, allocations: 0 / 0.9199 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01441/1.322, allocations: 4.252 MB / 0.924 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004007/1.326, allocations: 281.8 kB / 0.9243 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.338, allocations: 5.539 MB / 0.9297 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/1.34, allocations: 1.811 MB / 0.9315 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001544/1.341, allocations: 266.6 kB / 0.9317 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006606/1.342, allocations: 171.4 kB / 0.9319 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of SimCode: time 1.744e-06/1.342, allocations: 0 / 0.9319 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of Templates: time 0.505/1.847, allocations: 66.29 MB / 0.9966 GB, free: 233 MB / 0.7169 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.008822887204587]