Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001027/0.001028, allocations: 170.5 kB / 12.73 MB, free: 2.586 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.248/1.248, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008737/0.0008737, allocations: 83.14 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.06828/0.06828, 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.2851/0.2851, allocations: 78.03 MB / 456.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.448e-05, allocations: 7.984 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.09945, allocations: 69.33 MB / 0.5895 GB, free: 2.496 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3575/0.457, allocations: 104 MB / 0.691 GB, free: 11.54 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.4572, allocations: 85.44 kB / 0.6911 GB, free: 11.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2469/0.7041, allocations: 96.99 MB / 0.7858 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7042, allocations: 0 / 0.7858 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002278/0.7044, allocations: 91.88 kB / 0.7859 GB, free: 4.742 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01634/0.7208, allocations: 5.794 MB / 0.7916 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.7208, allocations: 15.98 kB / 0.7916 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/0.7381, allocations: 2.787 MB / 0.7943 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00469/0.7428, allocations: 2.287 MB / 0.7965 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008606/0.7437, allocations: 0.9596 MB / 0.7975 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007751/0.7445, allocations: 343.9 kB / 0.7978 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007807/0.7523, allocations: 4.096 MB / 0.8018 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.557e-05/0.7524, allocations: 4 kB / 0.8018 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004191/0.7528, allocations: 140 kB / 0.8019 GB, free: 4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.7529, allocations: 87.95 kB / 0.802 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006888/0.7598, allocations: 3.632 MB / 0.8056 GB, free: 284 kB / 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 preOpt removeSimpleEquations (simulation): time 0.03492/0.7947, allocations: 18.74 MB / 0.8239 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.8055, allocations: 4.782 MB / 0.8285 GB, free: 7.473 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004027/0.8095, allocations: 2.237 MB / 0.8307 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005157/0.81, allocations: 70.92 kB / 0.8308 GB, free: 5.156 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/0.8101, allocations: 77.55 kB / 0.8309 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 6.071e-06/0.8101, allocations: 0 / 0.8309 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.05396/0.8641, allocations: 17.47 MB / 0.8479 GB, free: 3.539 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/0.8642, allocations: 179.5 kB / 0.8481 GB, free: 3.332 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004167/0.8684, allocations: 2.686 MB / 0.8507 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007947/0.8692, allocations: 89.7 kB / 0.8508 GB, free: 0.5352 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.8708, allocations: 2.018 MB / 0.8528 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/0.8725, allocations: 1.297 MB / 0.854 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003306/0.8728, allocations: 76 kB / 0.8541 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.873, allocations: 437.6 kB / 0.8545 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003311/0.8764, allocations: 1.835 MB / 0.8563 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003637/0.88, allocations: 2.426 MB / 0.8587 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003638/0.8837, allocations: 2.095 MB / 0.8607 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.8837, allocations: 4 kB / 0.8607 GB, free: 6.082 MB / 0.5886 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.3216/1.205, allocations: 17.75 MB / 0.8781 GB, free: 128 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.00105/1.206, allocations: 6.685 MB / 0.8846 GB, free: 121 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/1.206, allocations: 15.75 kB / 0.8846 GB, free: 121 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02385/1.23, allocations: 7.007 MB / 0.8915 GB, free: 121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/1.233, allocations: 0.5325 MB / 0.892 GB, free: 121 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05794/1.291, allocations: 26.94 MB / 0.9183 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005624/1.297, allocations: 0.697 MB / 0.919 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004839/1.297, allocations: 129.7 kB / 0.9191 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/1.297, allocations: 7.031 kB / 0.9191 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04738/1.345, allocations: 17.33 MB / 0.936 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.89e-05/1.345, allocations: 18.53 kB / 0.936 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02191/1.367, allocations: 6.996 MB / 0.9429 GB, free: 116 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002732/1.369, allocations: 0.529 MB / 0.9434 GB, free: 115.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05496/1.424, allocations: 26.92 MB / 0.9697 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005795/1.43, allocations: 0.6642 MB / 0.9703 GB, free: 100.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005906/1.431, allocations: 131.6 kB / 0.9705 GB, free: 100.1 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 321 * 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: 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008685/1.432, allocations: 322.1 kB / 0.9708 GB, free: 99.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/1.433, allocations: 458.3 kB / 0.9712 GB, free: 99.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04917/1.482, allocations: 18.03 MB / 0.9888 GB, free: 85.46 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/1.482, allocations: 36 kB / 0.9888 GB, free: 85.42 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.108e-05/1.482, allocations: 28 kB / 0.9889 GB, free: 85.39 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.207e-05/1.482, allocations: 22.05 kB / 0.9889 GB, free: 85.39 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.05583/1.538, allocations: 23.32 MB / 1.012 GB, free: 67.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.187e-05/1.538, allocations: 0 / 1.012 GB, free: 67.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/1.541, allocations: 413.1 kB / 1.012 GB, free: 67.37 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02027/1.561, allocations: 6.936 MB / 1.019 GB, free: 61.98 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008696/1.562, allocations: 71.84 kB / 1.019 GB, free: 61.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0473/1.609, allocations: 22.56 MB / 1.041 GB, free: 41.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.609, allocations: 0 / 1.041 GB, free: 41.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05267/1.662, allocations: 20.87 MB / 1.061 GB, free: 22.22 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.663, allocations: 0.5633 MB / 1.062 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008015/1.664, allocations: 68 kB / 1.062 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00425/1.668, allocations: 487.6 kB / 1.062 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002601/1.671, allocations: 0.7646 MB / 1.063 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000301/1.671, allocations: 95.98 kB / 1.063 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002416/1.674, allocations: 2.046 MB / 1.065 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.41e-07/1.674, allocations: 0 / 1.065 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006244/1.68, allocations: 2.884 MB / 1.068 GB, free: 15.47 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 1 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000514/1.68, allocations: 221.2 kB / 1.068 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0356/1.716, allocations: 14.76 MB / 1.083 GB, free: 400 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.716, allocations: 4.125 kB / 1.083 GB, free: 396 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01747/1.734, allocations: 5.99 MB / 1.089 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/1.736, allocations: 314.3 kB / 1.089 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/1.747, allocations: 6.212 MB / 1.095 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002095/1.749, allocations: 2.606 MB / 1.097 GB, free: 1.207 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002752/1.752, allocations: 0.6062 MB / 1.098 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006781/1.753, allocations: 175.4 kB / 1.098 GB, free: 456 kB / 0.6042 GB Notification: Performance of SimCode: time 7.21e-07/1.753, allocations: 0 / 1.098 GB, free: 456 kB / 0.6042 GB Notification: Performance of Templates: time 0.3954/2.148, allocations: 113.6 MB / 1.209 GB, free: 103.9 MB / 0.6042 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)