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.001211/0.001211, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.438/1.438, allocations: 230.6 MB / 253.4 MB, free: 14.3 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.001767/0.001767, allocations: 214.3 kB / 310 MB, free: 3.039 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.5966/0.5966, allocations: 107.3 MB / 473.7 MB, free: 29.73 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.002454/0.002454, allocations: 82.09 kB / 0.6346 GB, free: 29.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1345, allocations: 80.18 MB / 0.7129 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01951/0.154, allocations: 18.4 MB / 0.7308 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.1652, allocations: 4.83 MB / 0.7356 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/0.1686, allocations: 44 kB / 0.7356 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002824/0.1714, allocations: 0.8789 MB / 0.7365 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007994/0.1794, allocations: 2.279 MB / 0.7387 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005768/0.1852, allocations: 2.05 MB / 0.7407 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008688/0.1938, allocations: 5.732 MB / 0.7463 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.1959, allocations: 0.8687 MB / 0.7471 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003814/0.1997, allocations: 2.404 MB / 0.7495 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004106/0.2038, allocations: 2.658 MB / 0.7521 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.2052, allocations: 440 kB / 0.7525 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.2072, allocations: 0.5935 MB / 0.7531 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001523/0.2088, allocations: 1.155 MB / 0.7542 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002757/0.2115, allocations: 2.117 MB / 0.7563 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007036/0.2186, allocations: 6.324 MB / 0.7624 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2186, allocations: 4 kB / 0.7624 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2186, allocations: 0 / 0.7624 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001356/0.2187, allocations: 0 / 0.7624 GB, free: 3.914 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.03217/0.2509, allocations: 9.899 MB / 0.7721 GB, free: 9.922 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.2509, allocations: 12.03 kB / 0.7721 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02795/0.2789, allocations: 4.051 MB / 0.7761 GB, free: 5.852 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005958/0.2848, allocations: 2.563 MB / 0.7786 GB, free: 3.199 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/0.2859, allocations: 1.04 MB / 0.7796 GB, free: 2.004 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001117/0.2871, allocations: 351.9 kB / 0.7799 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00998/0.297, allocations: 4.748 MB / 0.7846 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.243e-05/0.2971, allocations: 3.938 kB / 0.7846 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003735/0.2975, allocations: 140 kB / 0.7847 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.588e-05/0.2975, allocations: 84 kB / 0.7848 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009005/0.3066, allocations: 4.249 MB / 0.7889 GB, free: 8.391 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.03089/0.3374, allocations: 13 MB / 0.8016 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.35, allocations: 4.357 MB / 0.8059 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006299/0.3563, allocations: 2.499 MB / 0.8083 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005518/0.3568, allocations: 58.89 kB / 0.8084 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007676/0.3645, allocations: 3.194 MB / 0.8115 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=382): time 8.396e-06/0.3645, allocations: 3.938 kB / 0.8115 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=382): time 0.566/0.9305, allocations: 67.98 MB / 0.8779 GB, free: 43.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.9306, allocations: 141.8 kB / 0.878 GB, free: 43.67 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/0.9346, allocations: 3.218 MB / 0.8812 GB, free: 40.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008128/0.9354, allocations: 89.69 kB / 0.8813 GB, free: 40.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.9365, allocations: 2.008 MB / 0.8832 GB, free: 38.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001504/0.938, allocations: 1.372 MB / 0.8846 GB, free: 37.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002058/0.9401, allocations: 0.6586 MB / 0.8852 GB, free: 36.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.9401, allocations: 305.2 kB / 0.8855 GB, free: 36.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004623/0.9447, allocations: 2.619 MB / 0.8881 GB, free: 33.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00484/0.9496, allocations: 3.247 MB / 0.8912 GB, free: 30.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06125/1.011, allocations: 18.93 MB / 0.9097 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.306e-05/1.011, allocations: 8 kB / 0.9097 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=527) (initialization): time 0.05111/1.062, allocations: 16.85 MB / 0.9262 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.467e-05/1.062, allocations: 63.41 kB / 0.9262 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/1.062, allocations: 20 kB / 0.9263 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02641/1.088, allocations: 7.217 MB / 0.9333 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/1.092, allocations: 0.663 MB / 0.9339 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09465/1.187, allocations: 32.71 MB / 0.9659 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006874/1.193, allocations: 0.6165 MB / 0.9665 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/1.194, allocations: 159.9 kB / 0.9666 GB, free: 0.9258 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.002755/1.197, allocations: 0.6622 MB / 0.9673 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001603/1.199, allocations: 477 kB / 0.9677 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05844/1.257, allocations: 16.74 MB / 0.9841 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.587e-05/1.257, allocations: 36 kB / 0.9841 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000102/1.257, allocations: 28 kB / 0.9842 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/1.258, allocations: 15.94 kB / 0.9842 GB, free: 14.89 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.06716/1.325, allocations: 20.02 MB / 1.004 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/1.325, allocations: 0 / 1.004 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002311/1.327, allocations: 387.5 kB / 1.004 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0265/1.353, allocations: 7.37 MB / 1.011 GB, free: 3.148 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008706/1.354, allocations: 71.98 kB / 1.011 GB, free: 3.078 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08929/1.444, allocations: 30.69 MB / 1.041 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/1.444, allocations: 4 kB / 1.041 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06633/1.51, allocations: 20.14 MB / 1.061 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/1.511, allocations: 0.4988 MB / 1.061 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/1.513, allocations: 67.94 kB / 1.062 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005136/1.518, allocations: 379.5 kB / 1.062 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0036/1.522, allocations: 0.8153 MB / 1.063 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008372/1.522, allocations: 91.98 kB / 1.063 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004173/1.527, allocations: 2.101 MB / 1.065 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/1.527, allocations: 0 / 1.065 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007078/1.534, allocations: 1.802 MB / 1.067 GB, free: 10.3 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.001069/1.535, allocations: 200.8 kB / 1.067 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02747/1.562, allocations: 8.953 MB / 1.076 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.562, allocations: 0 / 1.076 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.02049/1.583, allocations: 5.905 MB / 1.081 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/1.587, allocations: 388 kB / 1.082 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.606, allocations: 8.069 MB / 1.09 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002948/1.609, allocations: 1.93 MB / 1.091 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001697/1.61, allocations: 275.4 kB / 1.092 GB, free: 400 kB / 0.7481 GB Notification: Performance of SimCode: time 1.202e-06/1.61, allocations: 0 / 1.092 GB, free: 400 kB / 0.7481 GB Notification: Performance of Templates: time 0.3634/1.974, allocations: 91.15 MB / 1.181 GB, free: 210.6 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: 14.342986277770251] Failed to read output from testmodel.py, exit status != 0: 1.9818322323262691 1.990909622 1.7701235849999999 Calling exit ...