Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.5 MB / 229.6 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008656/0.0008656, allocations: 100.1 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.511/0.511, allocations: 78.07 MB / 409.3 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.78e-05, allocations: 3.938 kB / 485 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1486, allocations: 69.37 MB / 0.5414 GB, free: 6.723 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.385/0.5336, allocations: 98.33 MB / 0.6374 GB, free: 1.125 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.5339, allocations: 77.03 kB / 0.6375 GB, free: 1.051 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08354/0.6175, allocations: 30.91 MB / 0.6677 GB, free: 2.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.6175, allocations: 0 / 0.6677 GB, free: 2.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.803e-05/0.6176, allocations: 24.94 kB / 0.6677 GB, free: 2.156 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.004313/0.6219, allocations: 1.752 MB / 0.6694 GB, free: 352 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.622, allocations: 8.031 kB / 0.6694 GB, free: 344 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.6255, allocations: 0.5603 MB / 0.67 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.627, allocations: 0.8077 MB / 0.6708 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002283/0.6272, allocations: 202.5 kB / 0.6709 GB, free: 14.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.6274, allocations: 47.91 kB / 0.671 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001397/0.6288, allocations: 0.8162 MB / 0.6718 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.6302, allocations: 0.8533 MB / 0.6726 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.6302, allocations: 0 / 0.6726 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.477e-05/0.6303, allocations: 0.75 kB / 0.6726 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.6303, allocations: 16 kB / 0.6726 GB, free: 12.94 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.007178/0.6375, allocations: 3.829 MB / 0.6764 GB, free: 8.934 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007049/0.6446, allocations: 2.603 MB / 0.6789 GB, free: 6.242 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.6458, allocations: 0.5313 MB / 0.6794 GB, free: 5.707 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.6459, allocations: 16.7 kB / 0.6795 GB, free: 5.688 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.646, allocations: 43.34 kB / 0.6795 GB, free: 5.637 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 3.286e-06/0.646, allocations: 4 kB / 0.6795 GB, free: 5.633 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.01227/0.6583, allocations: 3.833 MB / 0.6832 GB, free: 1.789 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.6584, allocations: 141.2 kB / 0.6834 GB, free: 1.617 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.6599, allocations: 0.8665 MB / 0.6842 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.6601, allocations: 25.7 kB / 0.6843 GB, free: 0.707 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.6604, allocations: 0.5091 MB / 0.6847 GB, free: 196 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/0.6608, allocations: 331.1 kB / 0.6851 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.6609, allocations: 0 / 0.6851 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.661, allocations: 341.9 kB / 0.6854 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/0.6617, allocations: 442.6 kB / 0.6858 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007502/0.6624, allocations: 0.5631 MB / 0.6864 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.6632, allocations: 0.4944 MB / 0.6868 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6632, allocations: 0 / 0.6868 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01192/0.6751, allocations: 4.036 MB / 0.6908 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000435/0.6756, allocations: 1.204 MB / 0.692 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.6756, allocations: 0 / 0.692 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005555/0.6812, allocations: 1.532 MB / 0.6935 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009202/0.6821, allocations: 171.7 kB / 0.6936 GB, free: 6.941 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/0.6961, allocations: 7.704 MB / 0.7011 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.6978, allocations: 167.3 kB / 0.7013 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.6979, allocations: 31.98 kB / 0.7013 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.6979, allocations: 8 kB / 0.7013 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0116/0.7095, allocations: 3.88 MB / 0.7051 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.7096, allocations: 4 kB / 0.7051 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005417/0.715, allocations: 1.532 MB / 0.7066 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/0.7159, allocations: 155.7 kB / 0.7068 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.7296, allocations: 7.716 MB / 0.7143 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.7313, allocations: 163.3 kB / 0.7145 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.7315, allocations: 35.98 kB / 0.7145 GB, free: 1.062 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003948/0.7319, allocations: 155.8 kB / 0.7147 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01134/0.7432, allocations: 3.836 MB / 0.7184 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004826/0.7437, allocations: 134.4 kB / 0.7185 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.7552, allocations: 3.945 MB / 0.7224 GB, free: 8.949 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.7553, allocations: 11.95 kB / 0.7224 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.7553, allocations: 8 kB / 0.7224 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-05/0.7553, allocations: 3.984 kB / 0.7224 GB, free: 8.926 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.01368/0.769, allocations: 5.522 MB / 0.7278 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.7691, allocations: 0 / 0.7278 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008273/0.7699, allocations: 120.8 kB / 0.7279 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004381/0.7743, allocations: 1.406 MB / 0.7293 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.7745, allocations: 4 kB / 0.7293 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.7855, allocations: 5.622 MB / 0.7348 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.7855, allocations: 0 / 0.7348 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/0.7998, allocations: 4.702 MB / 0.7394 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004908/0.8003, allocations: 227.3 kB / 0.7396 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.8005, allocations: 4 kB / 0.7396 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.8017, allocations: 123.9 kB / 0.7397 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004719/0.8022, allocations: 184.9 kB / 0.7399 GB, free: 6.762 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/0.8023, allocations: 28.84 kB / 0.7399 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008686/0.8032, allocations: 0.6534 MB / 0.7406 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8032, allocations: 0 / 0.7406 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001779/0.805, allocations: 0.6356 MB / 0.7412 GB, free: 5.438 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,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 (69): * Single equations (assignments): 67 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0129/0.8179, allocations: 5.345 MB / 0.7464 GB, free: 52 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009081/0.827, allocations: 3.782 MB / 0.7501 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.827, allocations: 0 / 0.7501 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003768/0.8308, allocations: 1.427 MB / 0.7515 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009389/0.8318, allocations: 96.36 kB / 0.7516 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.8357, allocations: 2.08 MB / 0.7536 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006301/0.8363, allocations: 1.178 MB / 0.7548 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008093/0.8371, allocations: 203.4 kB / 0.7549 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.8377, allocations: 459.3 kB / 0.7554 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of SimCode: time 7.62e-07/0.8377, allocations: 0 / 0.7554 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3114/1.149, allocations: 36.65 MB / 0.7912 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/1.149, allocations: 143.9 kB / 0.7913 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.241/4.391, allocations: 4.594 kB / 0.7913 GB, free: 145.2 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)