Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009485/0.0009484, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008504/0.0008504, allocations: 84.11 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.462/0.462, allocations: 78.91 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.636e-05, allocations: 4 kB / 492.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3286, allocations: 69.52 MB / 0.5491 GB, free: 19.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1162/0.4449, allocations: 99.82 MB / 0.6466 GB, free: 15.78 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.4451, allocations: 75.97 kB / 0.6467 GB, free: 15.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5365/0.9816, allocations: 62.9 MB / 0.7081 GB, free: 98.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.9816, allocations: 0 / 0.7081 GB, free: 98.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002239/0.9819, allocations: 50.75 kB / 0.7081 GB, free: 98.93 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01209/0.994, allocations: 3.789 MB / 0.7118 GB, free: 96.44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.994, allocations: 11.97 kB / 0.7119 GB, free: 96.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/1.004, allocations: 1.586 MB / 0.7134 GB, free: 94.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/1.008, allocations: 1.477 MB / 0.7148 GB, free: 93.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006125/1.009, allocations: 0.6864 MB / 0.7155 GB, free: 92.58 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008383/1.01, allocations: 195.9 kB / 0.7157 GB, free: 92.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005626/1.015, allocations: 2.438 MB / 0.7181 GB, free: 89.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/1.015, allocations: 0 / 0.7181 GB, free: 89.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/1.016, allocations: 76 kB / 0.7182 GB, free: 89.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/1.016, allocations: 48 kB / 0.7182 GB, free: 89.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003964/1.02, allocations: 2.19 MB / 0.7203 GB, free: 87.62 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01714/1.037, allocations: 9.716 MB / 0.7298 GB, free: 77.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008815/1.046, allocations: 4.068 MB / 0.7338 GB, free: 73.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/1.048, allocations: 1.452 MB / 0.7352 GB, free: 71.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003581/1.048, allocations: 41.95 kB / 0.7353 GB, free: 71.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/1.048, allocations: 64.55 kB / 0.7353 GB, free: 71.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 4.017e-06/1.048, allocations: 0 / 0.7353 GB, free: 71.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03461/1.083, allocations: 12.09 MB / 0.7471 GB, free: 59.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/1.083, allocations: 128.8 kB / 0.7473 GB, free: 59.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/1.086, allocations: 1.676 MB / 0.7489 GB, free: 57.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006237/1.087, allocations: 61.7 kB / 0.7489 GB, free: 57.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007027/1.087, allocations: 1.121 MB / 0.75 GB, free: 56.58 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001061/1.089, allocations: 0.7969 MB / 0.7508 GB, free: 55.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000405/1.089, allocations: 44 kB / 0.7509 GB, free: 55.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/1.089, allocations: 390.3 kB / 0.7512 GB, free: 55.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/1.091, allocations: 1.168 MB / 0.7524 GB, free: 54.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/1.093, allocations: 1.475 MB / 0.7538 GB, free: 52.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/1.096, allocations: 1.291 MB / 0.7551 GB, free: 51.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/1.096, allocations: 4 kB / 0.7551 GB, free: 51.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03539/1.131, allocations: 12.32 MB / 0.7671 GB, free: 38.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004376/1.132, allocations: 2.737 MB / 0.7698 GB, free: 36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/1.132, allocations: 7.938 kB / 0.7698 GB, free: 35.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01604/1.148, allocations: 5.298 MB / 0.775 GB, free: 30.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.149, allocations: 315.5 kB / 0.7753 GB, free: 30.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03808/1.187, allocations: 19.28 MB / 0.7941 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/1.191, allocations: 493.8 kB / 0.7946 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004859/1.192, allocations: 75.98 kB / 0.7946 GB, free: 10.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/1.192, allocations: 4 kB / 0.7946 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0344/1.226, allocations: 12.05 MB / 0.8064 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.725e-05/1.226, allocations: 12 kB / 0.8064 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01749/1.244, allocations: 5.306 MB / 0.8116 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/1.245, allocations: 303.6 kB / 0.8119 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04348/1.289, allocations: 19.26 MB / 0.8307 GB, free: 5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/1.293, allocations: 470 kB / 0.8311 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005427/1.293, allocations: 79.94 kB / 0.8312 GB, free: 4.461 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (189): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009467/1.294, allocations: 225.7 kB / 0.8314 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.295, allocations: 276.6 kB / 0.8317 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03839/1.334, allocations: 12.43 MB / 0.8438 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/1.334, allocations: 24 kB / 0.8439 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.145e-05/1.334, allocations: 16 kB / 0.8439 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.686e-05/1.334, allocations: 19.89 kB / 0.8439 GB, free: 7.438 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.04531/1.379, allocations: 15.98 MB / 0.8595 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/1.379, allocations: 0 / 0.8595 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/1.381, allocations: 251.6 kB / 0.8597 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01517/1.396, allocations: 4.875 MB / 0.8645 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005096/1.397, allocations: 47.98 kB / 0.8645 GB, free: 2.129 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03803/1.435, allocations: 15.35 MB / 0.8795 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.435, allocations: 0 / 0.8795 GB, free: 2.625 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04428/1.479, allocations: 14.36 MB / 0.8936 GB, free: 4.203 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009989/1.48, allocations: 381.3 kB / 0.8939 GB, free: 3.809 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009028/1.481, allocations: 40 kB / 0.894 GB, free: 3.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003447/1.484, allocations: 363.7 kB / 0.8943 GB, free: 3.414 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002239/1.487, allocations: 0.5486 MB / 0.8948 GB, free: 2.863 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000428/1.487, allocations: 59.98 kB / 0.8949 GB, free: 2.805 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00234/1.49, allocations: 1.286 MB / 0.8962 GB, free: 1.504 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.01e-07/1.49, allocations: 0 / 0.8962 GB, free: 1.504 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.2804/1.77, allocations: 1.713 MB / 0.8978 GB, free: 178.4 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000841/1.771, allocations: 183.2 kB / 0.898 GB, free: 178.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02737/1.798, allocations: 9.697 MB / 0.9075 GB, free: 177.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.798, allocations: 0 / 0.9075 GB, free: 177.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01099/1.809, allocations: 3.939 MB / 0.9113 GB, free: 177.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.811, allocations: 190.9 kB / 0.9115 GB, free: 177.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006768/1.818, allocations: 4.171 MB / 0.9156 GB, free: 176 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009344/1.818, allocations: 1.802 MB / 0.9173 GB, free: 175.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001538/1.82, allocations: 357.7 kB / 0.9177 GB, free: 175.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/1.82, allocations: 108.8 kB / 0.9178 GB, free: 175.1 MB / 0.573 GB Notification: Performance of SimCode: time 9.42e-07/1.82, allocations: 0 / 0.9178 GB, free: 175.1 MB / 0.573 GB Notification: Performance of Templates: time 0.09091/1.911, allocations: 76.14 MB / 0.9921 GB, free: 117.4 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)