Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.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_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, 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.305/1.305, 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.0008441/0.0008442, allocations: 93.83 kB / 266.6 MB, free: 9.273 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.06934/0.06934, 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.2874/0.2874, allocations: 78.01 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.499e-05, allocations: 15.92 kB / 0.5218 GB, free: 23.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 69.33 MB / 0.5895 GB, free: 2.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3677/0.4706, allocations: 102.5 MB / 0.6896 GB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001824/0.4708, allocations: 81.95 kB / 0.6896 GB, free: 12.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1827/0.6536, allocations: 68.68 MB / 0.7567 GB, free: 2.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.6536, allocations: 0 / 0.7567 GB, free: 2.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001583/0.6538, allocations: 67.81 kB / 0.7568 GB, free: 2.754 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01209/0.6659, allocations: 4.072 MB / 0.7608 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6659, allocations: 11.98 kB / 0.7608 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.6763, allocations: 1.607 MB / 0.7623 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004015/0.6804, allocations: 1.67 MB / 0.764 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000755/0.6812, allocations: 0.7525 MB / 0.7647 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000633/0.6818, allocations: 211.9 kB / 0.7649 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00519/0.687, allocations: 2.58 MB / 0.7674 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.6871, allocations: 4 kB / 0.7674 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/0.6874, allocations: 80 kB / 0.7675 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.944e-05/0.6874, allocations: 48 kB / 0.7676 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004687/0.6921, allocations: 2.34 MB / 0.7698 GB, free: 5.02 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.02025/0.7124, allocations: 10 MB / 0.7796 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.7225, allocations: 4.223 MB / 0.7837 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002783/0.7253, allocations: 1.547 MB / 0.7852 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/0.7256, allocations: 45.95 kB / 0.7853 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003254/0.7289, allocations: 1.819 MB / 0.7871 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=250): time 5.541e-06/0.7289, allocations: 3.984 kB / 0.7871 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of matching and sorting (n=250): time 0.03973/0.7687, allocations: 12.59 MB / 0.7994 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.7688, allocations: 184.2 kB / 0.7995 GB, free: 5.945 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.7718, allocations: 1.895 MB / 0.8014 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005634/0.7724, allocations: 65.7 kB / 0.8015 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008984/0.7733, allocations: 1.22 MB / 0.8026 GB, free: 2.734 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.7743, allocations: 0.8586 MB / 0.8035 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.7746, allocations: 52.06 kB / 0.8035 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.7747, allocations: 399 kB / 0.8039 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/0.7771, allocations: 1.278 MB / 0.8052 GB, free: 140 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.7796, allocations: 1.583 MB / 0.8067 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002542/0.7822, allocations: 1.506 MB / 0.8082 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.7822, allocations: 0 / 0.8082 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03974/0.822, allocations: 12.72 MB / 0.8206 GB, free: 88 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.8221, allocations: 110.8 kB / 0.8207 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.8221, allocations: 8 kB / 0.8207 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01821/0.8404, allocations: 5.357 MB / 0.8259 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/0.8428, allocations: 411.4 kB / 0.8263 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04474/0.8875, allocations: 19.25 MB / 0.8451 GB, free: 6.637 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004391/0.892, allocations: 0.5445 MB / 0.8457 GB, free: 6.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006462/0.8926, allocations: 87.98 kB / 0.8457 GB, free: 6.004 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" 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 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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 4 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.001039/0.8937, allocations: 297.3 kB / 0.846 GB, free: 5.695 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009213/0.8946, allocations: 304.2 kB / 0.8463 GB, free: 5.395 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04053/0.9352, allocations: 12.94 MB / 0.859 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/0.9352, allocations: 27.95 kB / 0.859 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.785e-05/0.9353, allocations: 20 kB / 0.859 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.717e-05/0.9354, allocations: 11.95 kB / 0.859 GB, free: 8.301 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.2977/1.233, allocations: 16.52 MB / 0.8751 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.233, allocations: 1.219 kB / 0.8751 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.235, allocations: 250 kB / 0.8754 GB, free: 155.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01599/1.251, allocations: 5.002 MB / 0.8803 GB, free: 155 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005046/1.251, allocations: 51.91 kB / 0.8803 GB, free: 155 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03618/1.288, allocations: 19.32 MB / 0.8992 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.288, allocations: 0 / 0.8992 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03952/1.327, allocations: 14.93 MB / 0.9138 GB, free: 150.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009825/1.328, allocations: 424.2 kB / 0.9142 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000649/1.329, allocations: 47.09 kB / 0.9142 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/1.332, allocations: 410.5 kB / 0.9146 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002053/1.334, allocations: 0.5844 MB / 0.9152 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002595/1.334, allocations: 66.66 kB / 0.9152 GB, free: 149.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001856/1.336, allocations: 1.444 MB / 0.9167 GB, free: 149.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.51e-07/1.336, allocations: 0 / 0.9167 GB, free: 149.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002988/1.339, allocations: 1.13 MB / 0.9178 GB, free: 149.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (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.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004463/1.34, allocations: 184.4 kB / 0.9179 GB, free: 149.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01372/1.353, allocations: 5.935 MB / 0.9237 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.354, allocations: 4.125 kB / 0.9237 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01127/1.365, allocations: 4.388 MB / 0.928 GB, free: 145.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/1.367, allocations: 240.9 kB / 0.9282 GB, free: 145.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007074/1.374, allocations: 4.277 MB / 0.9324 GB, free: 143.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.375, allocations: 1.879 MB / 0.9343 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001/1.376, allocations: 213 kB / 0.9345 GB, free: 142.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/1.376, allocations: 141.8 kB / 0.9346 GB, free: 142.2 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/1.376, allocations: 0 / 0.9346 GB, free: 142.2 MB / 0.5886 GB Notification: Performance of Templates: time 0.06845/1.445, allocations: 56.05 MB / 0.9893 GB, free: 105.3 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)