Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009843/0.0009843, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008937/0.0008938, allocations: 86.75 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06742/0.06742, allocations: 12.59 MB / 327.2 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3031/0.3031, allocations: 78.02 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.719e-05, allocations: 4 kB / 0.5218 GB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 69.33 MB / 0.5895 GB, free: 2.492 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/0.4622, allocations: 100.8 MB / 0.6879 GB, free: 14.67 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.4625, allocations: 78.7 kB / 0.688 GB, free: 14.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1581/0.6206, allocations: 60.27 MB / 0.7469 GB, free: 11.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6207, allocations: 0 / 0.7469 GB, free: 11.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001572/0.6208, allocations: 55.94 kB / 0.7469 GB, free: 11.61 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.01222/0.6331, allocations: 3.795 MB / 0.7506 GB, free: 8.062 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.6331, allocations: 11.98 kB / 0.7506 GB, free: 8.051 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/0.6433, allocations: 1.571 MB / 0.7522 GB, free: 6.605 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003453/0.6468, allocations: 1.505 MB / 0.7536 GB, free: 5.418 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007729/0.6476, allocations: 0.6803 MB / 0.7543 GB, free: 4.711 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000595/0.6482, allocations: 197.8 kB / 0.7545 GB, free: 4.582 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00471/0.653, allocations: 2.431 MB / 0.7569 GB, free: 2.477 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.653, allocations: 0 / 0.7569 GB, free: 2.477 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/0.6533, allocations: 83.98 kB / 0.7569 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.989e-05/0.6533, allocations: 44 kB / 0.757 GB, free: 2.352 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/0.6574, allocations: 2.183 MB / 0.7591 GB, free: 172 kB / 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.01912/0.6766, allocations: 9.713 MB / 0.7686 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/0.6869, allocations: 4.068 MB / 0.7726 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002807/0.6897, allocations: 1.452 MB / 0.774 GB, free: 400 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003215/0.6901, allocations: 37.97 kB / 0.774 GB, free: 360 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.6901, allocations: 64.48 kB / 0.7741 GB, free: 288 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=230): time 4.118e-06/0.6901, allocations: 0 / 0.7741 GB, free: 288 kB / 0.4948 GB Notification: Performance of matching and sorting (n=230): time 0.0386/0.7288, allocations: 12.09 MB / 0.7859 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.7289, allocations: 132.8 kB / 0.786 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.7315, allocations: 1.68 MB / 0.7877 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005593/0.7321, allocations: 61.7 kB / 0.7877 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008628/0.733, allocations: 1.121 MB / 0.7888 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/0.734, allocations: 0.8008 MB / 0.7896 GB, free: 304 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.7342, allocations: 40 kB / 0.7896 GB, free: 264 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.7344, allocations: 386.3 kB / 0.79 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.7366, allocations: 1.172 MB / 0.7911 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002466/0.7391, allocations: 1.479 MB / 0.7926 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.7417, allocations: 1.287 MB / 0.7938 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.7417, allocations: 0 / 0.7938 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.03896/0.7807, allocations: 12.32 MB / 0.8059 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009743/0.7817, allocations: 2.741 MB / 0.8086 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.7817, allocations: 11.98 kB / 0.8086 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01795/0.7997, allocations: 5.298 MB / 0.8137 GB, free: 7.199 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.8014, allocations: 319.5 kB / 0.814 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04342/0.8448, allocations: 19.27 MB / 0.8329 GB, free: 3.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/0.8486, allocations: 497.7 kB / 0.8333 GB, free: 2.844 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003181/0.8489, allocations: 75.98 kB / 0.8334 GB, free: 2.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.8489, allocations: 4 kB / 0.8334 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03757/0.8865, allocations: 12.06 MB / 0.8452 GB, free: 6.691 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/0.8866, allocations: 4 kB / 0.8452 GB, free: 6.688 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01796/0.9046, allocations: 5.298 MB / 0.8504 GB, free: 1.379 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.9063, allocations: 303.6 kB / 0.8507 GB, free: 1.082 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2966/1.203, allocations: 19.25 MB / 0.8695 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003767/1.207, allocations: 471.8 kB / 0.8699 GB, free: 154.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/1.207, allocations: 79.64 kB / 0.87 GB, free: 154.3 MB / 0.5886 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.000593/1.208, allocations: 230.9 kB / 0.8702 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006833/1.208, allocations: 276 kB / 0.8705 GB, free: 154.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03785/1.246, allocations: 12.43 MB / 0.8826 GB, free: 154 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/1.246, allocations: 26.83 kB / 0.8826 GB, free: 154 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-05/1.246, allocations: 17.88 kB / 0.8827 GB, free: 154 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-05/1.247, allocations: 11.16 kB / 0.8827 GB, free: 154 MB / 0.5886 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.04318/1.29, allocations: 15.98 MB / 0.8983 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/1.29, allocations: 0 / 0.8983 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/1.291, allocations: 250.7 kB / 0.8985 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01416/1.306, allocations: 4.876 MB / 0.9033 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004791/1.306, allocations: 51.02 kB / 0.9033 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03303/1.339, allocations: 15.35 MB / 0.9183 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.339, allocations: 3.375 kB / 0.9183 GB, free: 150.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0381/1.377, allocations: 14.35 MB / 0.9323 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008716/1.378, allocations: 385.3 kB / 0.9327 GB, free: 146.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007741/1.379, allocations: 50.36 kB / 0.9327 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003178/1.382, allocations: 361.5 kB / 0.9331 GB, free: 146.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001957/1.384, allocations: 0.5503 MB / 0.9336 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003424/1.384, allocations: 58.23 kB / 0.9337 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001853/1.386, allocations: 1.284 MB / 0.9349 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.01e-07/1.386, allocations: 3.812 kB / 0.9349 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005018/1.391, allocations: 1.712 MB / 0.9366 GB, free: 145.7 MB / 0.5886 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.0004879/1.392, allocations: 186.3 kB / 0.9368 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0267/1.419, allocations: 9.699 MB / 0.9463 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.419, allocations: 4 kB / 0.9463 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01153/1.43, allocations: 3.939 MB / 0.9501 GB, free: 134 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/1.432, allocations: 188.1 kB / 0.9503 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008342/1.44, allocations: 4.169 MB / 0.9544 GB, free: 130.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/1.442, allocations: 1.808 MB / 0.9561 GB, free: 128.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001881/1.443, allocations: 361.7 kB / 0.9565 GB, free: 128.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00045/1.444, allocations: 106.8 kB / 0.9566 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/1.444, allocations: 4 kB / 0.9566 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.09443/1.538, allocations: 76.14 MB / 1.031 GB, free: 62.19 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)