Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 105.1 kB / 17.08 MB, free: 5.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 242.7 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 194.7 kB / 295.1 MB, free: 12.63 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5553/0.5553, allocations: 98.19 MB / 445.4 MB, free: 10.91 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 79.88 kB / 0.591 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.16, allocations: 72.78 MB / 0.6621 GB, free: 11.11 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.007768/0.1679, allocations: 6.673 MB / 0.6686 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00424/0.1721, allocations: 1.99 MB / 0.6705 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007829/0.1729, allocations: 8 kB / 0.6705 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007848/0.1738, allocations: 245.9 kB / 0.6708 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.1761, allocations: 0.8091 MB / 0.6716 GB, free: 1.348 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.1775, allocations: 0.6442 MB / 0.6722 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00217/0.1797, allocations: 1.643 MB / 0.6738 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005214/0.1803, allocations: 326.4 kB / 0.6741 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.1814, allocations: 0.673 MB / 0.6748 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.1825, allocations: 0.8595 MB / 0.6756 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002043/0.1827, allocations: 132 kB / 0.6757 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000593/0.1833, allocations: 267.9 kB / 0.676 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.1836, allocations: 338.5 kB / 0.6763 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006556/0.1843, allocations: 0.6836 MB / 0.677 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.1864, allocations: 1.723 MB / 0.6787 GB, free: 10.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1864, allocations: 0 / 0.6787 GB, free: 10.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1865, allocations: 0 / 0.6787 GB, free: 10.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.1865, allocations: 0 / 0.6787 GB, free: 10.05 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009655/0.1961, allocations: 2.796 MB / 0.6814 GB, free: 7.184 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.1962, allocations: 12.03 kB / 0.6814 GB, free: 7.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005089/0.2013, allocations: 0.7835 MB / 0.6822 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.2031, allocations: 0.9188 MB / 0.6831 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003199/0.2035, allocations: 264.2 kB / 0.6833 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.2036, allocations: 84 kB / 0.6834 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.2059, allocations: 1.09 MB / 0.6845 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.206, allocations: 7.875 kB / 0.6845 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.2061, allocations: 32 kB / 0.6845 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.2061, allocations: 20 kB / 0.6845 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.2083, allocations: 0.9994 MB / 0.6855 GB, free: 2.871 MB / 494.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.3634/0.5717, allocations: 3.864 MB / 0.6893 GB, free: 23.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007584/0.5793, allocations: 2.389 MB / 0.6916 GB, free: 23.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.5809, allocations: 0.6873 MB / 0.6923 GB, free: 23.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.5811, allocations: 12.25 kB / 0.6923 GB, free: 23.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001766/0.5829, allocations: 0.8304 MB / 0.6931 GB, free: 23.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 3.557e-06/0.5829, allocations: 0 / 0.6931 GB, free: 23.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.03241/0.6153, allocations: 7.229 MB / 0.7001 GB, free: 22.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.6154, allocations: 114.4 kB / 0.7003 GB, free: 22.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.6176, allocations: 1.126 MB / 0.7014 GB, free: 22.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002898/0.6179, allocations: 44.48 kB / 0.7014 GB, free: 22.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/0.6184, allocations: 0.4991 MB / 0.7019 GB, free: 22.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.6188, allocations: 383.5 kB / 0.7023 GB, free: 22.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006088/0.6194, allocations: 293 kB / 0.7025 GB, free: 22.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.6195, allocations: 303.5 kB / 0.7028 GB, free: 21.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.6213, allocations: 0.7783 MB / 0.7036 GB, free: 21.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/0.6235, allocations: 0.956 MB / 0.7045 GB, free: 21.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02536/0.6488, allocations: 5.8 MB / 0.7102 GB, free: 21.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.6489, allocations: 1.938 kB / 0.7102 GB, free: 21.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01539/0.6643, allocations: 4.46 MB / 0.7145 GB, free: 19.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.6645, allocations: 59.34 kB / 0.7146 GB, free: 19.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.6645, allocations: 3.219 kB / 0.7146 GB, free: 19.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00666/0.6712, allocations: 1.64 MB / 0.7162 GB, free: 18.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.6728, allocations: 290.7 kB / 0.7165 GB, free: 18.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/0.6927, allocations: 8.614 MB / 0.7249 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.6949, allocations: 203.2 kB / 0.7251 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.6951, allocations: 58.22 kB / 0.7251 GB, free: 13.02 MB / 494.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order5.e1q:VARIABLE(start = order5.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 (167): * Single equations (assignments): 164 * 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.0005884/0.6957, allocations: 315 kB / 0.7254 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.6959, allocations: 130 kB / 0.7256 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.7081, allocations: 3.896 MB / 0.7294 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.7081, allocations: 8 kB / 0.7294 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.7081, allocations: 15.94 kB / 0.7294 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/0.7082, allocations: 4.688 kB / 0.7294 GB, free: 10.48 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.0137/0.7219, allocations: 5.519 MB / 0.7348 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/0.722, allocations: 2.625 kB / 0.7348 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007602/0.7227, allocations: 103.2 kB / 0.7349 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005265/0.728, allocations: 1.591 MB / 0.7364 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/0.7282, allocations: 27.92 kB / 0.7365 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02194/0.7502, allocations: 9.663 MB / 0.7459 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7502, allocations: 0 / 0.7459 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/0.7665, allocations: 4.789 MB / 0.7506 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/0.7671, allocations: 228.7 kB / 0.7508 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.7674, allocations: 20 kB / 0.7508 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.7687, allocations: 113.7 kB / 0.7509 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006517/0.7693, allocations: 196.7 kB / 0.7511 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/0.7694, allocations: 20 kB / 0.7511 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001244/0.7707, allocations: 0.7631 MB / 0.7519 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.184e-06/0.7707, allocations: 0 / 0.7519 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001615/0.7723, allocations: 492.7 kB / 0.7523 GB, free: 2.625 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003181/0.7726, allocations: 135.8 kB / 0.7525 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007377/0.78, allocations: 2.6 MB / 0.755 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.78, allocations: 0 / 0.755 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004714/0.7848, allocations: 1.604 MB / 0.7566 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.786, allocations: 120.6 kB / 0.7567 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004836/0.7908, allocations: 2.437 MB / 0.7591 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008842/0.7917, allocations: 1.128 MB / 0.7602 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.7922, allocations: 87.41 kB / 0.7603 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.7922, allocations: 4 kB / 0.7603 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.03672/0.8289, allocations: 23.99 MB / 0.7837 GB, free: 2.449 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.826396677992307] Failed to read output from testmodel.py, exit status != 0: 0.8364948950038524 0.849255346 0.660235026 Calling exit ...