Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001606/0.001606, allocations: 111.3 kB / 17.13 MB, free: 6.008 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.539/1.539, allocations: 230.6 MB / 250.5 MB, free: 9.211 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.001696/0.001696, allocations: 208.5 kB / 306.7 MB, free: 4.293 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.6075/0.6075, allocations: 107.3 MB / 470 MB, free: 6.59 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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.002783/0.002783, allocations: 91.84 kB / 0.6294 GB, free: 7.246 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5412, allocations: 80.13 MB / 0.7076 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.006985/0.5482, allocations: 6.786 MB / 0.7142 GB, free: 100 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005514/0.5537, allocations: 2.067 MB / 0.7162 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.5551, allocations: 13.22 kB / 0.7163 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.5562, allocations: 245.2 kB / 0.7165 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.5595, allocations: 0.8851 MB / 0.7174 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.5613, allocations: 0.6459 MB / 0.718 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002843/0.5641, allocations: 1.669 MB / 0.7196 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004897/0.5646, allocations: 234.2 kB / 0.7198 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.5659, allocations: 0.7098 MB / 0.7205 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.5671, allocations: 0.8977 MB / 0.7214 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.5673, allocations: 133.1 kB / 0.7215 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.568, allocations: 296.5 kB / 0.7218 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003793/0.5683, allocations: 352.9 kB / 0.7222 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007791/0.5691, allocations: 0.6978 MB / 0.7228 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.5719, allocations: 1.762 MB / 0.7246 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.5719, allocations: 0 / 0.7246 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5719, allocations: 0 / 0.7246 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.677e-05/0.572, allocations: 0 / 0.7246 GB, free: 10.32 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.01224/0.5842, allocations: 2.843 MB / 0.7273 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.183e-05/0.5843, allocations: 13.66 kB / 0.7274 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006366/0.5907, allocations: 0.8001 MB / 0.7281 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.5929, allocations: 0.9267 MB / 0.729 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.5933, allocations: 258.7 kB / 0.7293 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.5935, allocations: 88.73 kB / 0.7294 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/0.5962, allocations: 1.118 MB / 0.7305 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.5963, allocations: 0 / 0.7305 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.5964, allocations: 30.91 kB / 0.7305 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.5964, allocations: 17.56 kB / 0.7305 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.5988, allocations: 0.9997 MB / 0.7315 GB, free: 7.008 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.008156/0.6069, allocations: 3.923 MB / 0.7353 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008232/0.6152, allocations: 2.323 MB / 0.7376 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.6171, allocations: 0.63 MB / 0.7382 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.6172, allocations: 26.88 kB / 0.7382 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001871/0.6191, allocations: 0.8303 MB / 0.739 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 2.735e-06/0.6191, allocations: 0 / 0.739 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.03163/0.6507, allocations: 7.063 MB / 0.7459 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.6508, allocations: 113.8 kB / 0.746 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/0.6535, allocations: 1.145 MB / 0.7472 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004411/0.6539, allocations: 54.69 kB / 0.7472 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/0.6545, allocations: 0.5046 MB / 0.7477 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006202/0.6551, allocations: 384.7 kB / 0.7481 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006708/0.6558, allocations: 297.6 kB / 0.7484 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6559, allocations: 302.3 kB / 0.7486 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.6579, allocations: 0.7943 MB / 0.7494 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.66, allocations: 0.979 MB / 0.7504 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0298/0.6898, allocations: 6.144 MB / 0.7564 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/0.6898, allocations: 4 kB / 0.7564 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01641/0.7062, allocations: 4.485 MB / 0.7608 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.7063, allocations: 63.34 kB / 0.7608 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.7063, allocations: 4 kB / 0.7608 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007522/0.7139, allocations: 1.666 MB / 0.7624 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.7158, allocations: 295.5 kB / 0.7627 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02564/0.7414, allocations: 8.636 MB / 0.7712 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/0.7444, allocations: 211.1 kB / 0.7714 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005147/0.745, allocations: 55.98 kB / 0.7714 GB, free: 6.441 MB / 0.5294 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001418/0.7464, allocations: 304.1 kB / 0.7717 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007414/0.7471, allocations: 139.1 kB / 0.7718 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/0.7625, allocations: 3.889 MB / 0.7756 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.265e-05/0.7625, allocations: 12 kB / 0.7757 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.886e-05/0.7626, allocations: 8 kB / 0.7757 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.491e-05/0.7626, allocations: 3.984 kB / 0.7757 GB, free: 2.047 MB / 0.5294 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.01981/0.7824, allocations: 5.538 MB / 0.7811 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/0.7825, allocations: 0 / 0.7811 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009048/0.7834, allocations: 99.89 kB / 0.7812 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00663/0.79, allocations: 1.603 MB / 0.7827 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003807/0.7904, allocations: 20 kB / 0.7828 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02445/0.8148, allocations: 9.639 MB / 0.7922 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.8148, allocations: 0 / 0.7922 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/0.8324, allocations: 4.79 MB / 0.7968 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009801/0.8333, allocations: 228.1 kB / 0.7971 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007667/0.8341, allocations: 31.88 kB / 0.7971 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/0.8361, allocations: 107.9 kB / 0.7972 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009748/0.8371, allocations: 200.7 kB / 0.7974 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002202/0.8373, allocations: 24 kB / 0.7974 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001828/0.8391, allocations: 0.779 MB / 0.7982 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8391, allocations: 0 / 0.7982 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002458/0.8416, allocations: 495.6 kB / 0.7986 GB, free: 10.05 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004767/0.8421, allocations: 132.1 kB / 0.7988 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007923/0.85, allocations: 2.483 MB / 0.8012 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.85, allocations: 0 / 0.8012 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00509/0.8551, allocations: 1.561 MB / 0.8027 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.8569, allocations: 118.3 kB / 0.8028 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006124/0.863, allocations: 2.507 MB / 0.8053 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.8642, allocations: 1.132 MB / 0.8064 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/0.8648, allocations: 87.41 kB / 0.8065 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of SimCode: time 1.904e-06/0.8648, allocations: 0 / 0.8065 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of Templates: time 0.04345/0.9082, allocations: 24.58 MB / 0.8305 GB, free: 9.297 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.670297835022211] Failed to read output from testmodel.py, exit status != 0: 0.9191349549219012 0.933023522 0.358007159 Calling exit ...