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.001486/0.001486, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.33/1.33, allocations: 230.6 MB / 253.4 MB, free: 8.273 MB / 206.1 MB " [Timeout remaining time 179] 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.001519/0.001519, allocations: 214.1 kB / 310 MB, free: 3.125 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.5061/0.5061, allocations: 101.3 MB / 467.8 MB, free: 10.3 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.002419/0.002419, allocations: 87.88 kB / 0.6257 GB, free: 12.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.376, allocations: 78.62 MB / 0.7024 GB, free: 9.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005446/0.3815, allocations: 6.811 MB / 0.7091 GB, free: 4.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.3847, allocations: 2.073 MB / 0.7111 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004969/0.3852, allocations: 14.22 kB / 0.7111 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005539/0.3857, allocations: 248.2 kB / 0.7114 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.3873, allocations: 0.89 MB / 0.7122 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.3885, allocations: 0.6537 MB / 0.7129 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.3897, allocations: 1.704 MB / 0.7145 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.39, allocations: 232.3 kB / 0.7148 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006334/0.3907, allocations: 0.7088 MB / 0.7154 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007991/0.3915, allocations: 0.8876 MB / 0.7163 GB, free: 272 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.3916, allocations: 132.4 kB / 0.7164 GB, free: 272 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004725/0.3921, allocations: 295.9 kB / 0.7167 GB, free: 212 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.3924, allocations: 347.9 kB / 0.717 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006042/0.393, allocations: 0.7008 MB / 0.7177 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.3948, allocations: 1.765 MB / 0.7195 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3948, allocations: 0 / 0.7195 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3948, allocations: 4 kB / 0.7195 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.3948, allocations: 0 / 0.7195 GB, free: 14.71 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.008833/0.4036, allocations: 2.908 MB / 0.7223 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.4037, allocations: 11.42 kB / 0.7223 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004811/0.4085, allocations: 0.7994 MB / 0.7231 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.4101, allocations: 0.8704 MB / 0.7239 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.4105, allocations: 336.9 kB / 0.7243 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.4107, allocations: 87.98 kB / 0.7243 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.4129, allocations: 1.113 MB / 0.7254 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.4129, allocations: 0 / 0.7254 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.413, allocations: 32.06 kB / 0.7255 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.413, allocations: 21.67 kB / 0.7255 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/0.4151, allocations: 1.004 MB / 0.7265 GB, free: 11.53 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.007166/0.4223, allocations: 3.859 MB / 0.7302 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006958/0.4292, allocations: 2.026 MB / 0.7322 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.4305, allocations: 0.6292 MB / 0.7328 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.4307, allocations: 22.84 kB / 0.7329 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/0.4322, allocations: 0.8415 MB / 0.7337 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 2.475e-06/0.4322, allocations: 0 / 0.7337 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.02707/0.4593, allocations: 6.903 MB / 0.7404 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.4594, allocations: 113.2 kB / 0.7405 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.4615, allocations: 1.144 MB / 0.7416 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.4617, allocations: 50.14 kB / 0.7417 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/0.4621, allocations: 0.5054 MB / 0.7422 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/0.4627, allocations: 388 kB / 0.7425 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006439/0.4633, allocations: 298.2 kB / 0.7428 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4634, allocations: 306.2 kB / 0.7431 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.4651, allocations: 0.799 MB / 0.7439 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.4669, allocations: 0.966 MB / 0.7448 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02527/0.4922, allocations: 6.147 MB / 0.7509 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.4922, allocations: 2 kB / 0.7509 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01387/0.5061, allocations: 4.492 MB / 0.7552 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.5061, allocations: 55.41 kB / 0.7553 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.5062, allocations: 4 kB / 0.7553 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006096/0.5123, allocations: 1.658 MB / 0.7569 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.5137, allocations: 303.6 kB / 0.7572 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02038/0.5341, allocations: 8.524 MB / 0.7655 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.536, allocations: 223 kB / 0.7657 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.5362, allocations: 51.98 kB / 0.7658 GB, free: 14.92 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.000661/0.5368, allocations: 300.2 kB / 0.7661 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/0.5372, allocations: 139.1 kB / 0.7662 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.5498, allocations: 3.893 MB / 0.77 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.5498, allocations: 12 kB / 0.77 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.5498, allocations: 11.98 kB / 0.77 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.5498, allocations: 3.984 kB / 0.77 GB, free: 10.53 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.01469/0.5645, allocations: 5.494 MB / 0.7754 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5645, allocations: 0 / 0.7754 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006422/0.5652, allocations: 111.8 kB / 0.7755 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005252/0.5704, allocations: 1.595 MB / 0.7771 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.5705, allocations: 24 kB / 0.7771 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02015/0.5907, allocations: 9.432 MB / 0.7863 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5907, allocations: 0 / 0.7863 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/0.6049, allocations: 4.79 MB / 0.791 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004351/0.6053, allocations: 162.9 kB / 0.7911 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.6056, allocations: 27.88 kB / 0.7912 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.6068, allocations: 107.9 kB / 0.7913 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005128/0.6074, allocations: 200.6 kB / 0.7915 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.489e-05/0.6074, allocations: 31.98 kB / 0.7915 GB, free: 4.176 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00121/0.6087, allocations: 0.7752 MB / 0.7922 GB, free: 3.395 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6087, allocations: 0 / 0.7922 GB, free: 3.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001412/0.6101, allocations: 491.7 kB / 0.7927 GB, free: 2.914 MB / 0.545 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.0002842/0.6104, allocations: 143.5 kB / 0.7929 GB, free: 2.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006532/0.6169, allocations: 2.476 MB / 0.7953 GB, free: 248 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6169, allocations: 4.125 kB / 0.7953 GB, free: 244 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00413/0.621, allocations: 1.556 MB / 0.7968 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/0.6219, allocations: 122.9 kB / 0.7969 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.6263, allocations: 2.508 MB / 0.7994 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007882/0.6271, allocations: 1.128 MB / 0.8005 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.6274, allocations: 91.41 kB / 0.8005 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/0.6274, allocations: 0 / 0.8005 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of Templates: time 0.03252/0.66, allocations: 24.57 MB / 0.8245 GB, free: 2.152 MB / 0.5762 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: 8.853922954993322] Failed to read output from testmodel.py, exit status != 0: 0.6686533729080111 0.682856946 0.285149209 Calling exit ...