Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.001381/0.001381, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.375/1.375, allocations: 177.1 MB / 199.4 MB, free: 8.453 MB / 190.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.001619/0.001619, allocations: 157.1 kB / 256 MB, free: 4.348 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.5796/0.5796, allocations: 80.35 MB / 392.7 MB, free: 29.66 MB / 334.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.5556 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.829e-05, allocations: 2.281 kB / 0.5556 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01702/0.01705, allocations: 18.49 MB / 0.5736 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.03075, allocations: 4.845 MB / 0.5784 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006283/0.03704, allocations: 47.91 kB / 0.5784 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0043/0.04134, allocations: 0.8767 MB / 0.5793 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0104/0.05174, allocations: 2.357 MB / 0.5816 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006884/0.05862, allocations: 2.079 MB / 0.5836 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01081/0.06943, allocations: 5.86 MB / 0.5893 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.07235, allocations: 0.8649 MB / 0.5902 GB, free: 2.566 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008478/0.08082, allocations: 3.304 MB / 0.5934 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004859/0.08568, allocations: 2.262 MB / 0.5956 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001763/0.08745, allocations: 436 kB / 0.596 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.09036, allocations: 0.6013 MB / 0.5966 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001957/0.09232, allocations: 1.17 MB / 0.5977 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004201/0.09652, allocations: 1.721 MB / 0.5994 GB, free: 9.055 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.1072, allocations: 6.318 MB / 0.6056 GB, free: 2.715 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1072, allocations: 0 / 0.6056 GB, free: 2.715 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1072, allocations: 0 / 0.6056 GB, free: 2.715 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003126/0.1075, allocations: 0 / 0.6056 GB, free: 2.715 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03529/0.1428, allocations: 9.845 MB / 0.6152 GB, free: 8.781 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1428, allocations: 8.031 kB / 0.6152 GB, free: 8.773 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02819/0.171, allocations: 4.047 MB / 0.6192 GB, free: 4.719 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006931/0.178, allocations: 2.578 MB / 0.6217 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001236/0.1792, allocations: 1.029 MB / 0.6227 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001491/0.1807, allocations: 348 kB / 0.623 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.1947, allocations: 4.752 MB / 0.6277 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.1948, allocations: 0 / 0.6277 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00104/0.1959, allocations: 140 kB / 0.6278 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.35e-05/0.196, allocations: 95.92 kB / 0.6279 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.2073, allocations: 4.249 MB / 0.632 GB, free: 7.246 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.03926/0.2466, allocations: 13.04 MB / 0.6448 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01389/0.2605, allocations: 4.361 MB / 0.649 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006675/0.2672, allocations: 2.499 MB / 0.6515 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006366/0.2678, allocations: 62.94 kB / 0.6515 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00808/0.2759, allocations: 3.198 MB / 0.6547 GB, free: 15.59 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=383): time 8.245e-06/0.2759, allocations: 0 / 0.6547 GB, free: 15.59 MB / 0.5138 GB Notification: Performance of matching and sorting (n=383): time 0.571/0.8469, allocations: 67.82 MB / 0.7209 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.8471, allocations: 146.4 kB / 0.721 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007323/0.8544, allocations: 3.209 MB / 0.7242 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/0.8555, allocations: 88.55 kB / 0.7242 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001385/0.8569, allocations: 2.006 MB / 0.7262 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002069/0.8589, allocations: 1.357 MB / 0.7275 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003344/0.8623, allocations: 0.6604 MB / 0.7282 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.855e-05/0.8623, allocations: 302.6 kB / 0.7285 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006461/0.8688, allocations: 2.627 MB / 0.731 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006912/0.8757, allocations: 3.253 MB / 0.7342 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07648/0.9522, allocations: 18.95 MB / 0.7527 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.001e-05/0.9522, allocations: 3.938 kB / 0.7527 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=531) (initialization): time 0.05948/1.012, allocations: 17.17 MB / 0.7695 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/1.012, allocations: 71.33 kB / 0.7696 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.274e-05/1.012, allocations: 12 kB / 0.7696 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02551/1.037, allocations: 7.145 MB / 0.7765 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00356/1.041, allocations: 0.6638 MB / 0.7772 GB, free: 104.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08936/1.13, allocations: 32.31 MB / 0.8087 GB, free: 72.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006301/1.137, allocations: 0.6185 MB / 0.8094 GB, free: 71.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/1.138, allocations: 152 kB / 0.8095 GB, free: 71.73 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (396): * Single equations (assignments): 393 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002953/1.141, allocations: 0.6733 MB / 0.8102 GB, free: 71.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/1.142, allocations: 474.7 kB / 0.8106 GB, free: 70.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05603/1.198, allocations: 16.74 MB / 0.827 GB, free: 53.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.721e-05/1.198, allocations: 36 kB / 0.827 GB, free: 53.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001248/1.198, allocations: 28 kB / 0.827 GB, free: 53.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001301/1.198, allocations: 16.48 kB / 0.827 GB, free: 53.69 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 postOpt removeSimpleEquations (simulation): time 0.0676/1.266, allocations: 20.02 MB / 0.8466 GB, free: 33.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.8e-05/1.266, allocations: 0 / 0.8466 GB, free: 33.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002351/1.268, allocations: 391.5 kB / 0.847 GB, free: 33.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02505/1.293, allocations: 7.339 MB / 0.8541 GB, free: 25.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001101/1.295, allocations: 75.92 kB / 0.8542 GB, free: 25.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08341/1.378, allocations: 30.69 MB / 0.8842 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.378, allocations: 0 / 0.8842 GB, free: 11.02 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07282/1.451, allocations: 20.15 MB / 0.9039 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.453, allocations: 0.5025 MB / 0.9043 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/1.454, allocations: 64 kB / 0.9044 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005555/1.46, allocations: 387.4 kB / 0.9048 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004052/1.464, allocations: 0.8152 MB / 0.9056 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000906/1.465, allocations: 95.98 kB / 0.9057 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004736/1.47, allocations: 2.089 MB / 0.9077 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.47, allocations: 0 / 0.9077 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008142/1.478, allocations: 1.802 MB / 0.9095 GB, free: 1.133 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/1.479, allocations: 203 kB / 0.9097 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03004/1.509, allocations: 8.81 MB / 0.9183 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.509, allocations: 0 / 0.9183 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.02239/1.531, allocations: 5.868 MB / 0.924 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00529/1.537, allocations: 380.8 kB / 0.9244 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/1.558, allocations: 7.895 MB / 0.9321 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003355/1.561, allocations: 1.935 MB / 0.934 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002214/1.564, allocations: 371.1 kB / 0.9343 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/1.565, allocations: 248.4 kB / 0.9345 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of SimCode: time 1.673e-06/1.565, allocations: 0 / 0.9345 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of Templates: time 0.361/1.926, allocations: 96.6 MB / 1.029 GB, free: 164.1 MB / 0.6388 GB " [Timeout remaining time 658] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.377342969179153] Failed to read output from testmodel.py, exit status != 0: 1.934894185513258 1.943465197 1.833986233 Calling exit ...