Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.001302/0.001302, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.36/1.36, allocations: 225.6 MB / 246.2 MB, free: 13.58 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.001542/0.001542, allocations: 197.2 kB / 301.4 MB, free: 9.082 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.4374/0.4374, allocations: 79.72 MB / 436.3 MB, free: 5.559 MB / 302.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.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 79.88 kB / 0.5816 GB, free: 8.531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1375, allocations: 72.09 MB / 0.652 GB, free: 356 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.008538/0.146, allocations: 6.605 MB / 0.6585 GB, free: 9.699 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.1502, allocations: 1.982 MB / 0.6604 GB, free: 7.711 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007163/0.1509, allocations: 11.94 kB / 0.6604 GB, free: 7.699 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000685/0.1516, allocations: 246 kB / 0.6606 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.1536, allocations: 0.8512 MB / 0.6615 GB, free: 6.605 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.001375/0.155, allocations: 0.6388 MB / 0.6621 GB, free: 5.973 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.1569, allocations: 1.585 MB / 0.6636 GB, free: 4.383 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/0.1573, allocations: 218.5 kB / 0.6639 GB, free: 4.156 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009204/0.1582, allocations: 0.6652 MB / 0.6645 GB, free: 3.488 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009701/0.1592, allocations: 0.8362 MB / 0.6653 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.1593, allocations: 120 kB / 0.6654 GB, free: 2.531 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005129/0.1599, allocations: 259.9 kB / 0.6657 GB, free: 2.277 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002984/0.1602, allocations: 326.6 kB / 0.666 GB, free: 1.957 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005925/0.1608, allocations: 0.6757 MB / 0.6667 GB, free: 1.277 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.1625, allocations: 1.665 MB / 0.6683 GB, free: 15.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1625, allocations: 0 / 0.6683 GB, free: 15.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1625, allocations: 0 / 0.6683 GB, free: 15.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.1626, allocations: 0 / 0.6683 GB, free: 15.61 MB / 478.1 MB 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.008784/0.1713, allocations: 2.736 MB / 0.671 GB, free: 12.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1714, allocations: 12.03 kB / 0.671 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005002/0.1764, allocations: 0.7835 MB / 0.6717 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.1779, allocations: 0.8835 MB / 0.6726 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003009/0.1782, allocations: 264.1 kB / 0.6728 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.1784, allocations: 87.95 kB / 0.6729 GB, free: 10.69 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.1806, allocations: 1.094 MB / 0.674 GB, free: 9.582 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1806, allocations: 0 / 0.674 GB, free: 9.582 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.597e-05/0.1807, allocations: 28 kB / 0.674 GB, free: 9.555 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.1807, allocations: 20 kB / 0.674 GB, free: 9.535 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.1829, allocations: 0.9838 MB / 0.675 GB, free: 8.551 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.006804/0.1897, allocations: 3.809 MB / 0.6787 GB, free: 4.566 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007498/0.1972, allocations: 2.289 MB / 0.681 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.1987, allocations: 0.6253 MB / 0.6816 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.1988, allocations: 20.97 kB / 0.6816 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/0.2006, allocations: 0.8138 MB / 0.6824 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.386e-06/0.2006, allocations: 0 / 0.6824 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.0291/0.2297, allocations: 7.066 MB / 0.6893 GB, free: 9.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.085e-05/0.2297, allocations: 119.7 kB / 0.6894 GB, free: 9.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.2315, allocations: 1.079 MB / 0.6905 GB, free: 8.332 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.2317, allocations: 53.62 kB / 0.6905 GB, free: 8.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/0.2321, allocations: 0.4897 MB / 0.691 GB, free: 7.777 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.2325, allocations: 372.9 kB / 0.6913 GB, free: 7.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005322/0.2331, allocations: 291.5 kB / 0.6916 GB, free: 7.121 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2332, allocations: 305.1 kB / 0.6919 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/0.2349, allocations: 0.7613 MB / 0.6927 GB, free: 6.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.2367, allocations: 0.9381 MB / 0.6936 GB, free: 5.078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3869/0.6235, allocations: 5.57 MB / 0.699 GB, free: 42.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.6235, allocations: 3.781 kB / 0.699 GB, free: 42.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.02034/0.6439, allocations: 4.318 MB / 0.7032 GB, free: 42.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.6439, allocations: 58.92 kB / 0.7033 GB, free: 42.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.644, allocations: 2.688 kB / 0.7033 GB, free: 42.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005643/0.6496, allocations: 1.511 MB / 0.7048 GB, free: 42.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.6511, allocations: 296.5 kB / 0.705 GB, free: 42.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/0.6703, allocations: 8.279 MB / 0.7131 GB, free: 38.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.6721, allocations: 205.7 kB / 0.7133 GB, free: 38.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.6722, allocations: 57.17 kB / 0.7134 GB, free: 38.66 MB / 494.1 MB 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 (166): * Single equations (assignments): 163 * 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.0005219/0.6728, allocations: 300.2 kB / 0.7137 GB, free: 38.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.673, allocations: 134.3 kB / 0.7138 GB, free: 38.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/0.6852, allocations: 3.839 MB / 0.7175 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/0.6852, allocations: 26.58 kB / 0.7176 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.6852, allocations: 7.094 kB / 0.7176 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.6852, allocations: 3.797 kB / 0.7176 GB, free: 37.43 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.01347/0.6987, allocations: 5.428 MB / 0.7229 GB, free: 35.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.6987, allocations: 5.156 kB / 0.7229 GB, free: 35.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005963/0.6993, allocations: 103 kB / 0.723 GB, free: 35.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005182/0.7045, allocations: 1.595 MB / 0.7245 GB, free: 34.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.7046, allocations: 26.73 kB / 0.7246 GB, free: 34.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01733/0.722, allocations: 9.612 MB / 0.734 GB, free: 27.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.722, allocations: 3.938 kB / 0.734 GB, free: 27.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/0.7346, allocations: 4.719 MB / 0.7386 GB, free: 23.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004708/0.7351, allocations: 222.9 kB / 0.7388 GB, free: 23.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/0.7355, allocations: 28.69 kB / 0.7388 GB, free: 23.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.7369, allocations: 107.9 kB / 0.7389 GB, free: 23.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000678/0.7376, allocations: 196.7 kB / 0.7391 GB, free: 22.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.7377, allocations: 31.98 kB / 0.7391 GB, free: 22.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001066/0.7388, allocations: 0.7235 MB / 0.7398 GB, free: 22.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7388, allocations: 1.125 kB / 0.7398 GB, free: 22.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001507/0.7403, allocations: 477.3 kB / 0.7403 GB, free: 21.62 MB / 494.1 MB 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 {(21,11,21.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002435/0.7405, allocations: 140.9 kB / 0.7404 GB, free: 21.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005389/0.7459, allocations: 2.354 MB / 0.7427 GB, free: 19.09 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7459, allocations: 0 / 0.7427 GB, free: 19.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003723/0.7496, allocations: 1.547 MB / 0.7442 GB, free: 17.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/0.7506, allocations: 114.7 kB / 0.7443 GB, free: 17.39 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.7543, allocations: 2.303 MB / 0.7466 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.7547, allocations: 1.12 MB / 0.7477 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003653/0.755, allocations: 120 kB / 0.7478 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.7553, allocations: 83.42 kB / 0.7479 GB, free: 13.76 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.7553, allocations: 0 / 0.7479 GB, free: 13.76 MB / 494.1 MB Notification: Performance of Templates: time 0.03958/0.7949, allocations: 24.49 MB / 0.7718 GB, free: 5.297 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.257739243097603]