Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, 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 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0009811/0.0009812, allocations: 84.11 kB / 266.6 MB, free: 9.281 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.07036/0.07036, allocations: 12.59 MB / 327.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2793/0.2793, allocations: 78.03 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.732e-05, allocations: 8 kB / 0.5218 GB, free: 23.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 69.32 MB / 0.5895 GB, free: 2.504 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.4658, allocations: 100.2 MB / 0.6873 GB, free: 15.35 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.4661, allocations: 78.39 kB / 0.6874 GB, free: 15.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1534/0.6195, allocations: 59.07 MB / 0.7451 GB, free: 13.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.6196, allocations: 0 / 0.7451 GB, free: 13.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000137/0.6197, allocations: 55.88 kB / 0.7451 GB, free: 13.41 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01117/0.6309, allocations: 3.733 MB / 0.7488 GB, free: 9.926 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.6309, allocations: 15.97 kB / 0.7488 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009695/0.6406, allocations: 1.574 MB / 0.7503 GB, free: 8.461 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/0.6442, allocations: 1.464 MB / 0.7518 GB, free: 7.297 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006706/0.6449, allocations: 0.6861 MB / 0.7524 GB, free: 6.586 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006062/0.6455, allocations: 195.2 kB / 0.7526 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004616/0.6502, allocations: 2.404 MB / 0.755 GB, free: 4.465 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.6502, allocations: 0 / 0.755 GB, free: 4.465 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/0.6505, allocations: 80 kB / 0.755 GB, free: 4.387 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.6505, allocations: 48 kB / 0.7551 GB, free: 4.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004023/0.6546, allocations: 2.175 MB / 0.7572 GB, free: 2.164 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.01866/0.6732, allocations: 9.611 MB / 0.7666 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009916/0.6832, allocations: 4.034 MB / 0.7705 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002676/0.6859, allocations: 1.436 MB / 0.7719 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/0.6862, allocations: 37.95 kB / 0.772 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.6863, allocations: 60.5 kB / 0.772 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=228): time 4.478e-06/0.6863, allocations: 0 / 0.772 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of matching and sorting (n=228): time 0.03765/0.724, allocations: 12.06 MB / 0.7838 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/0.7241, allocations: 128.8 kB / 0.7839 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003231/0.7274, allocations: 1.632 MB / 0.7855 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006/0.728, allocations: 65.7 kB / 0.7856 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000959/0.7289, allocations: 1.128 MB / 0.7867 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/0.7302, allocations: 0.7815 MB / 0.7875 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004352/0.7306, allocations: 40 kB / 0.7875 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002468/0.7309, allocations: 386.2 kB / 0.7879 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/0.7332, allocations: 1.153 MB / 0.789 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/0.7357, allocations: 1.459 MB / 0.7904 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.7381, allocations: 1.265 MB / 0.7916 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.7381, allocations: 3.953 kB / 0.7916 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03812/0.7763, allocations: 12.22 MB / 0.8036 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000999/0.7773, allocations: 2.733 MB / 0.8062 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.571e-05/0.7774, allocations: 8 kB / 0.8063 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01741/0.7948, allocations: 5.227 MB / 0.8114 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.7966, allocations: 327.5 kB / 0.8117 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04493/0.8415, allocations: 17.88 MB / 0.8291 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/0.8453, allocations: 497.7 kB / 0.8296 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005151/0.8459, allocations: 75.98 kB / 0.8297 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.8459, allocations: 7.438 kB / 0.8297 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03751/0.8834, allocations: 11.95 MB / 0.8414 GB, free: 10.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/0.8835, allocations: 4 kB / 0.8414 GB, free: 10.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01724/0.9007, allocations: 5.227 MB / 0.8465 GB, free: 5.555 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.9025, allocations: 311.5 kB / 0.8468 GB, free: 5.25 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04327/0.9458, allocations: 17.89 MB / 0.8642 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003744/0.9496, allocations: 466 kB / 0.8647 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005301/0.9502, allocations: 75.98 kB / 0.8648 GB, free: 2.676 MB / 0.5886 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.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 (186): * Single equations (assignments): 185 * 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: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009097/0.9511, allocations: 226.1 kB / 0.865 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008735/0.952, allocations: 276.6 kB / 0.8652 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3079/1.26, allocations: 12.38 MB / 0.8773 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/1.26, allocations: 22.59 kB / 0.8773 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-05/1.26, allocations: 19.73 kB / 0.8774 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-05/1.26, allocations: 11.11 kB / 0.8774 GB, free: 164.8 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.04539/1.305, allocations: 15.88 MB / 0.8929 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/1.306, allocations: 2.312 kB / 0.8929 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/1.307, allocations: 248.9 kB / 0.8931 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01442/1.322, allocations: 4.837 MB / 0.8978 GB, free: 163.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006507/1.322, allocations: 40.22 kB / 0.8979 GB, free: 163.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03357/1.356, allocations: 15.36 MB / 0.9129 GB, free: 161.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.356, allocations: 3.719 kB / 0.9129 GB, free: 161.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03794/1.394, allocations: 14.28 MB / 0.9268 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009249/1.395, allocations: 378.2 kB / 0.9272 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008526/1.396, allocations: 43.44 kB / 0.9272 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003368/1.399, allocations: 363.7 kB / 0.9276 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002119/1.401, allocations: 0.5478 MB / 0.9281 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003817/1.402, allocations: 60.45 kB / 0.9282 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001931/1.404, allocations: 1.242 MB / 0.9294 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.02e-07/1.404, allocations: 0 / 0.9294 GB, free: 157.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005497/1.409, allocations: 1.694 MB / 0.931 GB, free: 156.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (147): * Single equations (assignments): 146 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005192/1.41, allocations: 183.2 kB / 0.9312 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02505/1.435, allocations: 9.377 MB / 0.9404 GB, free: 147.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.984e-06/1.435, allocations: 7.734 kB / 0.9404 GB, free: 147.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01124/1.446, allocations: 3.889 MB / 0.9442 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/1.448, allocations: 189.5 kB / 0.9444 GB, free: 144.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008273/1.456, allocations: 3.978 MB / 0.9482 GB, free: 140.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/1.458, allocations: 1.795 MB / 0.95 GB, free: 139.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002022/1.46, allocations: 356.6 kB / 0.9503 GB, free: 138.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004589/1.46, allocations: 106.6 kB / 0.9504 GB, free: 138.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.302e-06/1.46, allocations: 0 / 0.9504 GB, free: 138.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.0938/1.554, allocations: 74.87 MB / 1.024 GB, free: 71.98 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)