Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.001547/0.001547, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.573/1.573, allocations: 230.6 MB / 252.7 MB, free: 8.098 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.001616/0.001616, allocations: 212.9 kB / 309.2 MB, free: 2.949 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.6751/0.6751, allocations: 107.3 MB / 473 MB, free: 4.426 MB / 334.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.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [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.002599/0.002599, allocations: 83.88 kB / 0.6338 GB, free: 4.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4672, allocations: 80.16 MB / 0.7121 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02089/0.4881, allocations: 18.5 MB / 0.7302 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0142/0.5023, allocations: 4.827 MB / 0.7349 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005815/0.5081, allocations: 47.03 kB / 0.7349 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004541/0.5126, allocations: 0.8846 MB / 0.7358 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01406/0.5267, allocations: 2.279 MB / 0.738 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008449/0.5352, allocations: 2.062 MB / 0.74 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0126/0.5478, allocations: 5.742 MB / 0.7457 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003242/0.551, allocations: 0.8625 MB / 0.7465 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006088/0.5571, allocations: 2.4 MB / 0.7488 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006069/0.5632, allocations: 2.662 MB / 0.7514 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002664/0.5658, allocations: 436.4 kB / 0.7519 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004181/0.57, allocations: 0.5962 MB / 0.7524 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002791/0.5728, allocations: 1.151 MB / 0.7536 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.006142/0.5789, allocations: 2.121 MB / 0.7556 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.5932, allocations: 6.322 MB / 0.7618 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.948e-06/0.5932, allocations: 0 / 0.7618 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5932, allocations: 1.062 kB / 0.7618 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003948/0.5936, allocations: 0 / 0.7618 GB, free: 2.551 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03901/0.6326, allocations: 9.9 MB / 0.7715 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.6327, allocations: 8.031 kB / 0.7715 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02751/0.6602, allocations: 4.047 MB / 0.7754 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00739/0.6676, allocations: 2.578 MB / 0.778 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001244/0.6688, allocations: 1.029 MB / 0.779 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/0.67, allocations: 352 kB / 0.7793 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01088/0.6809, allocations: 4.752 MB / 0.7839 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.926e-05/0.681, allocations: 3.938 kB / 0.7839 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003869/0.6814, allocations: 144 kB / 0.7841 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.072e-05/0.6815, allocations: 91.92 kB / 0.7842 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.6928, allocations: 4.245 MB / 0.7883 GB, free: 8.652 MB / 0.545 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.03843/0.7313, allocations: 13.03 MB / 0.801 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/0.7448, allocations: 4.357 MB / 0.8053 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006769/0.7515, allocations: 2.505 MB / 0.8077 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000513/0.752, allocations: 54.95 kB / 0.8078 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007888/0.7599, allocations: 3.202 MB / 0.8109 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=383): time 8.285e-06/0.7599, allocations: 0 / 0.8109 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=383): time 0.3214/1.081, allocations: 67.82 MB / 0.8771 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/1.081, allocations: 153.8 kB / 0.8773 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005719/1.087, allocations: 3.209 MB / 0.8804 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001116/1.088, allocations: 89.7 kB / 0.8805 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001838/1.09, allocations: 2.005 MB / 0.8825 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002382/1.093, allocations: 1.379 MB / 0.8838 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001632/1.094, allocations: 0.6626 MB / 0.8845 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.094, allocations: 301.1 kB / 0.8847 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006518/1.101, allocations: 2.627 MB / 0.8873 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007274/1.108, allocations: 3.251 MB / 0.8905 GB, free: 15 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07743/1.186, allocations: 18.96 MB / 0.909 GB, free: 11.76 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.066e-05/1.186, allocations: 7.938 kB / 0.909 GB, free: 11.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.06138/1.247, allocations: 17.17 MB / 0.9258 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.247, allocations: 71.33 kB / 0.9258 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.581e-05/1.247, allocations: 19.94 kB / 0.9259 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02769/1.275, allocations: 7.154 MB / 0.9328 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003864/1.279, allocations: 0.6592 MB / 0.9335 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09517/1.374, allocations: 32.3 MB / 0.965 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006861/1.381, allocations: 0.6221 MB / 0.9656 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009966/1.382, allocations: 152 kB / 0.9658 GB, free: 1.398 MB / 0.7169 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (396): * Single equations (assignments): 393 * Array equations: 0 * Algorithm blocks: 2 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002183/1.384, allocations: 0.664 MB / 0.9664 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/1.385, allocations: 480.9 kB / 0.9669 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.43/1.815, allocations: 16.73 MB / 0.9832 GB, free: 224.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-05/1.815, allocations: 38.38 kB / 0.9833 GB, free: 224.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.436e-05/1.815, allocations: 29 kB / 0.9833 GB, free: 224.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001154/1.815, allocations: 18.66 kB / 0.9833 GB, free: 224.1 MB / 0.7325 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.06511/1.881, allocations: 20.02 MB / 1.003 GB, free: 221.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-05/1.881, allocations: 1.625 kB / 1.003 GB, free: 221.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.883, allocations: 391.8 kB / 1.003 GB, free: 221.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02708/1.91, allocations: 7.334 MB / 1.01 GB, free: 220.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001272/1.911, allocations: 73.77 kB / 1.01 GB, free: 220 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07647/1.988, allocations: 30.7 MB / 1.04 GB, free: 207.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.988, allocations: 0 / 1.04 GB, free: 207.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05847/2.046, allocations: 20.16 MB / 1.06 GB, free: 190.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/2.048, allocations: 0.5031 MB / 1.061 GB, free: 189.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001728/2.05, allocations: 68 kB / 1.061 GB, free: 189.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005247/2.055, allocations: 375.6 kB / 1.061 GB, free: 189.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003338/2.058, allocations: 0.8191 MB / 1.062 GB, free: 188.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006194/2.059, allocations: 91.98 kB / 1.062 GB, free: 188.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003044/2.062, allocations: 2.089 MB / 1.064 GB, free: 186.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/2.062, allocations: 0 / 1.064 GB, free: 186.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006933/2.069, allocations: 1.804 MB / 1.066 GB, free: 184.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (247): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009493/2.07, allocations: 202 kB / 1.066 GB, free: 184.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02431/2.094, allocations: 8.837 MB / 1.075 GB, free: 175.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/2.094, allocations: 4.125 kB / 1.075 GB, free: 175.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01915/2.113, allocations: 5.879 MB / 1.08 GB, free: 169.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004171/2.118, allocations: 396.9 kB / 1.081 GB, free: 169 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/2.132, allocations: 8.044 MB / 1.089 GB, free: 160.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/2.134, allocations: 1.935 MB / 1.09 GB, free: 158.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001746/2.135, allocations: 371.1 kB / 1.091 GB, free: 158.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008837/2.136, allocations: 247.4 kB / 1.091 GB, free: 158.3 MB / 0.7325 GB Notification: Performance of SimCode: time 1.212e-06/2.136, allocations: 0 / 1.091 GB, free: 158.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.1216/2.258, allocations: 102.4 MB / 1.191 GB, free: 56.27 MB / 0.7325 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.327215284109116] Failed to read output from testmodel.py, exit status != 0: 2.2674096804112196 2.277157003 1.681166378 Calling exit ...