Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.001384/0.001384, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.534/1.534, allocations: 177.2 MB / 200.1 MB, free: 9.273 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.001667/0.001667, allocations: 165.3 kB / 256.6 MB, free: 0.7539 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.4739/0.4739, allocations: 80.31 MB / 393.3 MB, free: 9.438 MB / 366.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.002541/0.002541, allocations: 88.53 kB / 0.5558 GB, free: 31.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1746, allocations: 80.12 MB / 0.6341 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.009362/0.184, allocations: 5.819 MB / 0.6398 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005086/0.189, allocations: 1.931 MB / 0.6416 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.1901, allocations: 12 kB / 0.6417 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009286/0.191, allocations: 238 kB / 0.6419 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.1938, allocations: 0.8458 MB / 0.6427 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.1954, allocations: 0.6263 MB / 0.6433 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002345/0.1978, allocations: 1.608 MB / 0.6449 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000468/0.1983, allocations: 218.9 kB / 0.6451 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.1994, allocations: 0.6769 MB / 0.6458 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.2005, allocations: 0.7659 MB / 0.6465 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.2007, allocations: 124 kB / 0.6466 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007277/0.2014, allocations: 271.8 kB / 0.6469 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004185/0.2019, allocations: 330.6 kB / 0.6472 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006648/0.2025, allocations: 0.5554 MB / 0.6477 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002244/0.2048, allocations: 1.7 MB / 0.6494 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2048, allocations: 0 / 0.6494 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2048, allocations: 0 / 0.6494 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.2048, allocations: 0 / 0.6494 GB, free: 15.9 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.009921/0.2147, allocations: 2.82 MB / 0.6522 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2148, allocations: 8.031 kB / 0.6522 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005371/0.2201, allocations: 0.7991 MB / 0.6529 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.2221, allocations: 0.8268 MB / 0.6538 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004157/0.2226, allocations: 333.2 kB / 0.6541 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.2227, allocations: 91.94 kB / 0.6542 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.2252, allocations: 1.112 MB / 0.6552 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2252, allocations: 4 kB / 0.6552 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.2253, allocations: 32 kB / 0.6553 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.2253, allocations: 20 kB / 0.6553 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.2276, allocations: 1.009 MB / 0.6563 GB, free: 8.672 MB / 0.5137 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.007852/0.2355, allocations: 2.871 MB / 0.6591 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007719/0.2432, allocations: 2.026 MB / 0.6611 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.2449, allocations: 0.6443 MB / 0.6617 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.245, allocations: 20.98 kB / 0.6617 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/0.2469, allocations: 0.8351 MB / 0.6625 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 3.397e-06/0.2469, allocations: 0 / 0.6625 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.4207/0.6676, allocations: 6.948 MB / 0.6693 GB, free: 30.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.6676, allocations: 115.2 kB / 0.6694 GB, free: 30.56 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.6695, allocations: 1.067 MB / 0.6705 GB, free: 30.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002732/0.6697, allocations: 40.94 kB / 0.6705 GB, free: 30.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.6701, allocations: 0.5005 MB / 0.671 GB, free: 30.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.6705, allocations: 369.5 kB / 0.6713 GB, free: 30.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005673/0.6711, allocations: 276.2 kB / 0.6716 GB, free: 30.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.6711, allocations: 306.8 kB / 0.6719 GB, free: 29.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.6731, allocations: 0.8029 MB / 0.6727 GB, free: 29.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/0.675, allocations: 0.9751 MB / 0.6736 GB, free: 29 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02628/0.7013, allocations: 5.75 MB / 0.6793 GB, free: 27.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/0.7013, allocations: 0.875 kB / 0.6793 GB, free: 27.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01542/0.7167, allocations: 4.348 MB / 0.6835 GB, free: 26.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.953e-05/0.7168, allocations: 58.94 kB / 0.6836 GB, free: 26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.7168, allocations: 2.844 kB / 0.6836 GB, free: 26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005785/0.7226, allocations: 1.519 MB / 0.685 GB, free: 25.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.7243, allocations: 284.9 kB / 0.6853 GB, free: 25.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/0.743, allocations: 7.969 MB / 0.6931 GB, free: 20.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/0.7449, allocations: 195.2 kB / 0.6933 GB, free: 20.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.7451, allocations: 55.62 kB / 0.6933 GB, free: 20.47 MB / 0.5137 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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 (159): * Single equations (assignments): 156 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005849/0.7457, allocations: 297 kB / 0.6936 GB, free: 20.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.7459, allocations: 135.1 kB / 0.6937 GB, free: 20.15 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.7583, allocations: 3.877 MB / 0.6975 GB, free: 18.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.7583, allocations: 11.25 kB / 0.6975 GB, free: 18.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.7583, allocations: 6.906 kB / 0.6975 GB, free: 18.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/0.7584, allocations: 3.984 kB / 0.6976 GB, free: 18.14 MB / 0.5137 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.01341/0.7718, allocations: 4.896 MB / 0.7023 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.7718, allocations: 0 / 0.7023 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.7724, allocations: 108.8 kB / 0.7024 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005069/0.7774, allocations: 1.572 MB / 0.704 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.7776, allocations: 27.98 kB / 0.704 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/0.7955, allocations: 9.201 MB / 0.713 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7955, allocations: 3.281 kB / 0.713 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/0.8097, allocations: 4.77 MB / 0.7176 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/0.8102, allocations: 143.3 kB / 0.7178 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.8104, allocations: 25.31 kB / 0.7178 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.8116, allocations: 115.2 kB / 0.7179 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006637/0.8123, allocations: 196.6 kB / 0.7181 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-05/0.8124, allocations: 31.98 kB / 0.7181 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001208/0.8136, allocations: 0.7071 MB / 0.7188 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8136, allocations: 0 / 0.7188 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001593/0.8152, allocations: 479.8 kB / 0.7193 GB, free: 12.64 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/0.8155, allocations: 140.1 kB / 0.7194 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006783/0.8223, allocations: 2.429 MB / 0.7218 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.8223, allocations: 4 kB / 0.7218 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004685/0.8269, allocations: 1.551 MB / 0.7233 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.8281, allocations: 114 kB / 0.7234 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.8324, allocations: 2.31 MB / 0.7257 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/0.833, allocations: 0.5276 MB / 0.7262 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004169/0.8335, allocations: 115.9 kB / 0.7263 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.8337, allocations: 84.47 kB / 0.7264 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/0.8337, allocations: 4 kB / 0.7264 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of Templates: time 0.05267/0.8864, allocations: 25.73 MB / 0.7515 GB, free: 11.65 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.394891100004315] Failed to read output from testmodel.py, exit status != 0: 0.895722760935314 0.913052091 0.7046425540000001 Calling exit ...