Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.001962/0.001962, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.724/1.724, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001881/0.001881, allocations: 223.4 kB / 309.2 MB, free: 3.086 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.7083/0.7083, allocations: 107.3 MB / 473 MB, free: 29.79 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.002523/0.002523, allocations: 83.2 kB / 0.6338 GB, free: 29.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1599, allocations: 80.18 MB / 0.7121 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02069/0.1806, allocations: 18.4 MB / 0.7301 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.1932, allocations: 4.826 MB / 0.7348 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004138/0.1973, allocations: 44 kB / 0.7348 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003372/0.2007, allocations: 0.8789 MB / 0.7357 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008765/0.2094, allocations: 2.289 MB / 0.7379 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006818/0.2163, allocations: 2.049 MB / 0.7399 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009649/0.2259, allocations: 5.736 MB / 0.7455 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002374/0.2283, allocations: 0.8649 MB / 0.7464 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004359/0.2326, allocations: 2.4 MB / 0.7487 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004421/0.2371, allocations: 2.666 MB / 0.7513 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00171/0.2388, allocations: 440 kB / 0.7517 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.2411, allocations: 0.5896 MB / 0.7523 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001565/0.2427, allocations: 1.151 MB / 0.7534 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002857/0.2456, allocations: 2.117 MB / 0.7555 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007969/0.2535, allocations: 6.328 MB / 0.7617 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2535, allocations: 0 / 0.7617 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2535, allocations: 4 kB / 0.7617 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001984/0.2537, allocations: 0 / 0.7617 GB, free: 3.828 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.0345/0.2882, allocations: 9.899 MB / 0.7714 GB, free: 9.836 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2883, allocations: 12.03 kB / 0.7714 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02858/0.3169, allocations: 4.051 MB / 0.7753 GB, free: 5.766 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007234/0.3241, allocations: 2.567 MB / 0.7778 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001334/0.3254, allocations: 1.036 MB / 0.7789 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/0.327, allocations: 351.9 kB / 0.7792 GB, free: 1.574 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/0.3409, allocations: 4.752 MB / 0.7838 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.341, allocations: 3.938 kB / 0.7838 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008929/0.3419, allocations: 140 kB / 0.784 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-05/0.342, allocations: 84 kB / 0.784 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/0.3541, allocations: 4.245 MB / 0.7882 GB, free: 8.305 MB / 0.5606 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.03937/0.3935, allocations: 13 MB / 0.8009 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.4073, allocations: 4.357 MB / 0.8051 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006819/0.4141, allocations: 2.499 MB / 0.8076 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006684/0.4147, allocations: 58.95 kB / 0.8076 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008431/0.4232, allocations: 3.195 MB / 0.8108 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=382): time 8.095e-06/0.4232, allocations: 0 / 0.8108 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=382): time 0.6672/1.09, allocations: 67.98 MB / 0.8771 GB, free: 43.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/1.09, allocations: 145.8 kB / 0.8773 GB, free: 43.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004245/1.095, allocations: 3.218 MB / 0.8804 GB, free: 40.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001185/1.096, allocations: 89.69 kB / 0.8805 GB, free: 40.49 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/1.097, allocations: 2.004 MB / 0.8825 GB, free: 38.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001434/1.099, allocations: 1.373 MB / 0.8838 GB, free: 37.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/1.1, allocations: 0.6625 MB / 0.8845 GB, free: 37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.64e-05/1.1, allocations: 301.1 kB / 0.8847 GB, free: 36.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004801/1.105, allocations: 2.619 MB / 0.8873 GB, free: 34.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005117/1.11, allocations: 3.247 MB / 0.8905 GB, free: 30.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06566/1.175, allocations: 18.94 MB / 0.909 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-05/1.175, allocations: 4 kB / 0.909 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.05502/1.23, allocations: 16.85 MB / 0.9254 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.635e-05/1.231, allocations: 63.41 kB / 0.9255 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.875e-05/1.231, allocations: 16 kB / 0.9255 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02837/1.259, allocations: 7.23 MB / 0.9326 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004098/1.263, allocations: 0.6561 MB / 0.9332 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0959/1.359, allocations: 32.71 MB / 0.9651 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006676/1.366, allocations: 0.6205 MB / 0.9658 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000931/1.367, allocations: 150.3 kB / 0.9659 GB, free: 1.027 MB / 0.6231 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order3.e1q:VARIABLE(start = order3.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: 65 * 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 (391): * Single equations (assignments): 388 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.002309/1.369, allocations: 0.6668 MB / 0.9665 GB, free: 368 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/1.37, allocations: 480.9 kB / 0.967 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06/1.43, allocations: 16.74 MB / 0.9834 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.19e-05/1.43, allocations: 36 kB / 0.9834 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-05/1.43, allocations: 28 kB / 0.9834 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001074/1.431, allocations: 15.94 kB / 0.9834 GB, free: 14.99 MB / 0.6544 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.0678/1.498, allocations: 20 MB / 1.003 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/1.498, allocations: 6.844 kB / 1.003 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002501/1.501, allocations: 391.4 kB / 1.003 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02777/1.529, allocations: 7.374 MB / 1.011 GB, free: 3.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001105/1.53, allocations: 67.98 kB / 1.011 GB, free: 3.184 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08907/1.619, allocations: 30.69 MB / 1.041 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.619, allocations: 3.984 kB / 1.041 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0702/1.689, allocations: 20.14 MB / 1.06 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/1.691, allocations: 0.4993 MB / 1.061 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/1.692, allocations: 67.75 kB / 1.061 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00534/1.698, allocations: 379.5 kB / 1.061 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003715/1.702, allocations: 0.8153 MB / 1.062 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006101/1.702, allocations: 95.98 kB / 1.062 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003942/1.706, allocations: 2.097 MB / 1.064 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.706, allocations: 0 / 1.064 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007194/1.713, allocations: 1.802 MB / 1.066 GB, free: 10.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.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.0009979/1.714, allocations: 209.4 kB / 1.066 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.03103/1.745, allocations: 8.946 MB / 1.075 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.745, allocations: 0 / 1.075 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.02343/1.769, allocations: 5.919 MB / 1.081 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006309/1.775, allocations: 389.9 kB / 1.081 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02134/1.796, allocations: 7.989 MB / 1.089 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003359/1.8, allocations: 1.927 MB / 1.091 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002263/1.802, allocations: 379.1 kB / 1.091 GB, free: 468 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.803, allocations: 247.4 kB / 1.091 GB, free: 220 kB / 0.7481 GB Notification: Performance of SimCode: time 1.503e-06/1.803, allocations: 0 / 1.091 GB, free: 220 kB / 0.7481 GB Notification: Performance of Templates: time 0.4967/2.3, allocations: 103.6 MB / 1.192 GB, free: 205.9 MB / 0.7637 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.08628617040813] Failed to read output from testmodel.py, exit status != 0: 2.3097170684486628 2.320286008 2.064297705 Calling exit ...