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.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.0008528/0.0008528, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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 0.8618/0.8618, allocations: 177.1 MB / 200.2 MB, free: 5.941 MB / 186.7 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.001023/0.001023, allocations: 156.6 kB / 256.7 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2581/0.2581, allocations: 80.25 MB / 393.4 MB, free: 2.43 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_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 2.966e-06/2.966e-06, allocations: 4 kB / 0.556 GB, free: 12.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/3.05e-05, allocations: 6.281 kB / 0.556 GB, free: 12.15 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.005001/0.005032, allocations: 5.805 MB / 0.5617 GB, free: 6.316 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.007315, allocations: 1.935 MB / 0.5636 GB, free: 4.375 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.0076, allocations: 12 kB / 0.5636 GB, free: 4.363 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005155/0.008116, allocations: 233.9 kB / 0.5638 GB, free: 4.133 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.009534, allocations: 0.8665 MB / 0.5647 GB, free: 3.266 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007393/0.01027, allocations: 0.6425 MB / 0.5653 GB, free: 2.633 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009919/0.01127, allocations: 1.588 MB / 0.5669 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.01154, allocations: 214.8 kB / 0.5671 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006725/0.01221, allocations: 0.9039 MB / 0.5679 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005706/0.01278, allocations: 0.662 MB / 0.5686 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.01291, allocations: 124 kB / 0.5687 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.01323, allocations: 279.8 kB / 0.569 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.01343, allocations: 334.5 kB / 0.5693 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.01373, allocations: 462.5 kB / 0.5697 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.01497, allocations: 1.729 MB / 0.5714 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.01498, allocations: 0 / 0.5714 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.01498, allocations: 0 / 0.5714 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.01499, allocations: 0 / 0.5714 GB, free: 12.34 MB / 0.4948 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.004813/0.0198, allocations: 2.804 MB / 0.5742 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.01984, allocations: 8.031 kB / 0.5742 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/0.02231, allocations: 0.7952 MB / 0.5749 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.02332, allocations: 0.8268 MB / 0.5758 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.02354, allocations: 333.3 kB / 0.5761 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.02366, allocations: 87.98 kB / 0.5762 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.02503, allocations: 1.112 MB / 0.5772 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.02505, allocations: 4 kB / 0.5772 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.02512, allocations: 35.88 kB / 0.5773 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.02513, allocations: 20 kB / 0.5773 GB, free: 6.145 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.02644, allocations: 1.005 MB / 0.5783 GB, free: 5.129 MB / 0.4948 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.004227/0.03067, allocations: 2.871 MB / 0.5811 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003757/0.03442, allocations: 2.022 MB / 0.5831 GB, free: 160 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008342/0.03526, allocations: 0.6427 MB / 0.5837 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.691e-05/0.03533, allocations: 16.98 kB / 0.5837 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.03636, allocations: 0.8428 MB / 0.5845 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 2.545e-06/0.03636, allocations: 0 / 0.5845 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.01464/0.051, allocations: 6.955 MB / 0.5913 GB, free: 7.625 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.05106, allocations: 111.8 kB / 0.5914 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.05213, allocations: 1.058 MB / 0.5925 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.646e-05/0.05221, allocations: 49.64 kB / 0.5925 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/0.05271, allocations: 0.5013 MB / 0.593 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.05297, allocations: 364.9 kB / 0.5933 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/0.05329, allocations: 275.5 kB / 0.5936 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.05338, allocations: 313.1 kB / 0.5939 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009943/0.05438, allocations: 0.8076 MB / 0.5947 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.05542, allocations: 0.9727 MB / 0.5956 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2089/0.2643, allocations: 5.751 MB / 0.6013 GB, free: 91.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.2643, allocations: 0 / 0.6013 GB, free: 91.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006516/0.2708, allocations: 4.342 MB / 0.6055 GB, free: 90.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.2708, allocations: 62.08 kB / 0.6056 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.2709, allocations: 3.625 kB / 0.6056 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.2734, allocations: 1.504 MB / 0.607 GB, free: 90.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.2741, allocations: 288.7 kB / 0.6073 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/0.2851, allocations: 7.957 MB / 0.6151 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009017/0.286, allocations: 202.2 kB / 0.6153 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.2861, allocations: 56.34 kB / 0.6153 GB, free: 86.86 MB / 0.5105 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.0004003/0.2865, allocations: 306.6 kB / 0.6156 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2866, allocations: 128.9 kB / 0.6157 GB, free: 86.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006883/0.2935, allocations: 3.869 MB / 0.6195 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.2935, allocations: 10.53 kB / 0.6195 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.2935, allocations: 15.45 kB / 0.6195 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.2935, allocations: 4.172 kB / 0.6195 GB, free: 85.61 MB / 0.5105 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.007935/0.3015, allocations: 4.898 MB / 0.6243 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3015, allocations: 0 / 0.6243 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.3018, allocations: 104.2 kB / 0.6244 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/0.3045, allocations: 1.583 MB / 0.626 GB, free: 83.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.3045, allocations: 21.97 kB / 0.626 GB, free: 83.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.3152, allocations: 9.191 MB / 0.635 GB, free: 78.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3152, allocations: 3.125 kB / 0.635 GB, free: 78.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007039/0.3222, allocations: 4.768 MB / 0.6396 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.3224, allocations: 150.4 kB / 0.6398 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.3225, allocations: 23.81 kB / 0.6398 GB, free: 76.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.323, allocations: 105.8 kB / 0.6399 GB, free: 76.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/0.3233, allocations: 202.2 kB / 0.6401 GB, free: 76.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.3233, allocations: 33.19 kB / 0.6401 GB, free: 76.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005644/0.3239, allocations: 0.7162 MB / 0.6408 GB, free: 75.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3239, allocations: 0 / 0.6408 GB, free: 75.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009513/0.3248, allocations: 474.8 kB / 0.6413 GB, free: 75.84 MB / 0.5105 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.0002142/0.325, allocations: 142.3 kB / 0.6414 GB, free: 75.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002812/0.3278, allocations: 2.413 MB / 0.6438 GB, free: 74.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.3278, allocations: 0 / 0.6438 GB, free: 74.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.3297, allocations: 1.551 MB / 0.6453 GB, free: 72.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.3301, allocations: 119.8 kB / 0.6454 GB, free: 72.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.3321, allocations: 2.227 MB / 0.6476 GB, free: 70.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.3323, allocations: 0.5237 MB / 0.6481 GB, free: 69.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.3325, allocations: 92.47 kB / 0.6482 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/0.3325, allocations: 0 / 0.6482 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.01257/0.345, allocations: 24.17 MB / 0.6718 GB, free: 45.38 MB / 0.5105 GB " [Timeout remaining time 660] 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: 5.986545881256461] Failed to read output from testmodel.py, exit status != 0: 0.3502178154885769 0.35566884800000004 0.339415311 Calling exit ...