Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001672/0.001672, allocations: 110.1 kB / 19.59 MB, free: 2.211 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.555/1.555, allocations: 230.5 MB / 253.2 MB, free: 14.7 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.001559/0.001559, allocations: 212.5 kB / 309.7 MB, free: 3.133 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.533/0.533, allocations: 79.73 MB / 445.9 MB, free: 38.67 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [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.00245/0.00245, allocations: 86.5 kB / 0.5938 GB, free: 38.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1338, allocations: 73.29 MB / 0.6654 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.007829/0.1417, allocations: 6.233 MB / 0.6715 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004638/0.1463, allocations: 1.912 MB / 0.6733 GB, free: 9.699 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008113/0.1471, allocations: 8 kB / 0.6733 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.1477, allocations: 218.1 kB / 0.6735 GB, free: 9.477 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.1499, allocations: 0.8145 MB / 0.6743 GB, free: 8.664 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.1514, allocations: 0.5876 MB / 0.6749 GB, free: 8.082 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.1532, allocations: 1.378 MB / 0.6762 GB, free: 6.699 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.1536, allocations: 208.3 kB / 0.6764 GB, free: 6.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009204/0.1545, allocations: 0.6068 MB / 0.677 GB, free: 5.871 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009028/0.1554, allocations: 0.7662 MB / 0.6778 GB, free: 5.102 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.1556, allocations: 104 kB / 0.6779 GB, free: 5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005709/0.1561, allocations: 263.9 kB / 0.6781 GB, free: 4.742 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.1564, allocations: 286.8 kB / 0.6784 GB, free: 4.461 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.157, allocations: 0.6174 MB / 0.679 GB, free: 3.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.1588, allocations: 1.525 MB / 0.6805 GB, free: 2.309 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1588, allocations: 0 / 0.6805 GB, free: 2.309 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1588, allocations: 0 / 0.6805 GB, free: 2.309 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.1588, allocations: 0 / 0.6805 GB, free: 2.309 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008869/0.1677, allocations: 2.467 MB / 0.6829 GB, free: 15.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1677, allocations: 16.03 kB / 0.6829 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005072/0.1728, allocations: 0.7718 MB / 0.6837 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.1744, allocations: 0.7372 MB / 0.6844 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004113/0.1748, allocations: 363 kB / 0.6847 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.175, allocations: 76 kB / 0.6848 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.1775, allocations: 1.181 MB / 0.686 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.1776, allocations: 11.94 kB / 0.686 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.492e-05/0.1777, allocations: 24 kB / 0.686 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1777, allocations: 16 kB / 0.686 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.1798, allocations: 0.9537 MB / 0.687 GB, free: 11.54 MB / 478.1 MB 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.006528/0.1864, allocations: 3.477 MB / 0.6904 GB, free: 7.879 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007713/0.1941, allocations: 1.931 MB / 0.6922 GB, free: 5.934 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.1956, allocations: 0.597 MB / 0.6928 GB, free: 5.332 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.913e-05/0.1957, allocations: 20.59 kB / 0.6928 GB, free: 5.312 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.1957, allocations: 43.16 kB / 0.6929 GB, free: 5.258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 3.246e-06/0.1957, allocations: 0 / 0.6929 GB, free: 5.258 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.02847/0.2242, allocations: 6.573 MB / 0.6993 GB, free: 14.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.2243, allocations: 105.7 kB / 0.6994 GB, free: 14.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.2261, allocations: 0.9619 MB / 0.7003 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002286/0.2263, allocations: 41.7 kB / 0.7004 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/0.2268, allocations: 469.3 kB / 0.7008 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004975/0.2273, allocations: 329.3 kB / 0.7011 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006242/0.2279, allocations: 259.5 kB / 0.7014 GB, free: 12.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.228, allocations: 309.1 kB / 0.7017 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/0.2297, allocations: 0.6949 MB / 0.7024 GB, free: 11.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.2315, allocations: 0.9116 MB / 0.7033 GB, free: 10.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02475/0.2562, allocations: 5.295 MB / 0.7084 GB, free: 5.113 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.2562, allocations: 0 / 0.7084 GB, free: 5.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01516/0.2714, allocations: 4.122 MB / 0.7124 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.2715, allocations: 8 kB / 0.7125 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.2715, allocations: 4 kB / 0.7125 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006207/0.2777, allocations: 1.519 MB / 0.7139 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.2791, allocations: 259.6 kB / 0.7142 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/0.3019, allocations: 8.175 MB / 0.7222 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.3037, allocations: 179 kB / 0.7223 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/0.304, allocations: 55.98 kB / 0.7224 GB, free: 6.656 MB / 0.4981 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: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * 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.0009445/0.3049, allocations: 262.6 kB / 0.7226 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00128/0.3062, allocations: 341.5 kB / 0.723 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/0.3192, allocations: 3.561 MB / 0.7265 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.3193, allocations: 8 kB / 0.7265 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/0.3193, allocations: 11.94 kB / 0.7265 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.974e-05/0.3193, allocations: 7.922 kB / 0.7265 GB, free: 2.438 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 postOpt removeSimpleEquations (simulation): time 0.01695/0.3363, allocations: 5.068 MB / 0.7314 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/0.3363, allocations: 3.938 kB / 0.7314 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007242/0.337, allocations: 111.8 kB / 0.7315 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006215/0.3432, allocations: 1.578 MB / 0.7331 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002248/0.3434, allocations: 19.98 kB / 0.7331 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02397/0.3674, allocations: 10.56 MB / 0.7434 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.3674, allocations: 7.938 kB / 0.7434 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/0.384, allocations: 4.59 MB / 0.7479 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005827/0.3845, allocations: 139 kB / 0.748 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/0.385, allocations: 16.25 kB / 0.7481 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.3863, allocations: 87.91 kB / 0.7481 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007446/0.3871, allocations: 192.7 kB / 0.7483 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/0.3872, allocations: 27.98 kB / 0.7483 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001229/0.3885, allocations: 0.6434 MB / 0.749 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.3885, allocations: 0 / 0.749 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001845/0.3903, allocations: 439.7 kB / 0.7494 GB, free: 10.53 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003725/0.3907, allocations: 139 kB / 0.7495 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006862/0.3976, allocations: 2.151 MB / 0.7516 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3976, allocations: 0 / 0.7516 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00448/0.402, allocations: 1.266 MB / 0.7529 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.4042, allocations: 335 kB / 0.7532 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.4097, allocations: 2.133 MB / 0.7553 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000741/0.4104, allocations: 0.4901 MB / 0.7557 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.4108, allocations: 75.42 kB / 0.7558 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of SimCode: time 1.473e-06/0.4109, allocations: 3.938 kB / 0.7558 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of Templates: time 0.03864/0.4495, allocations: 21.61 MB / 0.7769 GB, free: 14.17 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.864134934730828] Failed to read output from testmodel.py, exit status != 0: 0.45953674614429474 0.47560014399999995 0.31346966099999996 Calling exit ...