Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_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.001159/0.001159, allocations: 180.9 kB / 7.651 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.392/1.392, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0009502/0.0009499, allocations: 89 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.5147/0.5147, allocations: 78.07 MB / 409.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.683e-05/1.67e-05, allocations: 0 / 485 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1567, allocations: 69.36 MB / 0.5414 GB, free: 6.719 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4768/0.6336, allocations: 98.12 MB / 0.6372 GB, free: 1.367 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.6339, allocations: 81.41 kB / 0.6373 GB, free: 1.289 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0816/0.7155, allocations: 30.48 MB / 0.667 GB, free: 2.836 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.7155, allocations: 0 / 0.667 GB, free: 2.836 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.453e-05/0.7156, allocations: 20 kB / 0.6671 GB, free: 2.816 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004193/0.7198, allocations: 1.727 MB / 0.6687 GB, free: 1.027 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.7199, allocations: 8.031 kB / 0.6688 GB, free: 1.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.7232, allocations: 0.5641 MB / 0.6693 GB, free: 464 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.7247, allocations: 0.792 MB / 0.6701 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002471/0.7249, allocations: 210.4 kB / 0.6703 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.7251, allocations: 46.69 kB / 0.6703 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001386/0.7265, allocations: 0.8084 MB / 0.6711 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.7278, allocations: 0.8493 MB / 0.6719 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.7279, allocations: 0 / 0.6719 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/0.728, allocations: 0 / 0.6719 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.728, allocations: 20 kB / 0.672 GB, free: 13.64 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.006456/0.7344, allocations: 3.79 MB / 0.6757 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006904/0.7414, allocations: 2.584 MB / 0.6782 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008078/0.7422, allocations: 0.5217 MB / 0.6787 GB, free: 6.465 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.7423, allocations: 20.77 kB / 0.6787 GB, free: 6.445 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.7424, allocations: 43.34 kB / 0.6788 GB, free: 6.395 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.504e-06/0.7424, allocations: 0 / 0.6788 GB, free: 6.395 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01151/0.7539, allocations: 3.832 MB / 0.6825 GB, free: 2.547 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.754, allocations: 141.2 kB / 0.6826 GB, free: 2.379 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.7554, allocations: 0.8389 MB / 0.6834 GB, free: 1.527 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002029/0.7556, allocations: 25.7 kB / 0.6835 GB, free: 1.496 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.756, allocations: 0.509 MB / 0.684 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/0.7563, allocations: 327 kB / 0.6843 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.7564, allocations: 0 / 0.6843 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.7566, allocations: 345.9 kB / 0.6846 GB, free: 320 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007167/0.7573, allocations: 434.7 kB / 0.685 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007476/0.758, allocations: 0.5467 MB / 0.6856 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007513/0.7588, allocations: 499 kB / 0.686 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7588, allocations: 0 / 0.686 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01165/0.7705, allocations: 3.887 MB / 0.6898 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005052/0.771, allocations: 1.212 MB / 0.691 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.771, allocations: 0 / 0.691 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004881/0.7759, allocations: 1.425 MB / 0.6924 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.7771, allocations: 183.8 kB / 0.6926 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.7897, allocations: 6.268 MB / 0.6987 GB, free: 1.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.7915, allocations: 171.2 kB / 0.6989 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.7916, allocations: 34.94 kB / 0.6989 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.7916, allocations: 8 kB / 0.6989 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01131/0.803, allocations: 3.747 MB / 0.7026 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.803, allocations: 4 kB / 0.7026 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004716/0.8077, allocations: 1.426 MB / 0.704 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.8088, allocations: 183.7 kB / 0.7041 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/0.8211, allocations: 6.264 MB / 0.7103 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.8228, allocations: 155.3 kB / 0.7104 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.823, allocations: 39.98 kB / 0.7104 GB, free: 5.453 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" 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 (91): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004006/0.8234, allocations: 164 kB / 0.7106 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01144/0.8348, allocations: 3.819 MB / 0.7143 GB, free: 1.453 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005986/0.8355, allocations: 134.3 kB / 0.7145 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/0.8473, allocations: 3.909 MB / 0.7183 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.8473, allocations: 12 kB / 0.7183 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.8474, allocations: 5.406 kB / 0.7183 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-05/0.8474, allocations: 3.984 kB / 0.7183 GB, free: 13.37 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.01453/0.8619, allocations: 5.483 MB / 0.7236 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.862, allocations: 0 / 0.7236 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007703/0.8628, allocations: 119.9 kB / 0.7238 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004365/0.8671, allocations: 1.394 MB / 0.7251 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.8673, allocations: 15.98 kB / 0.7251 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.8787, allocations: 5.611 MB / 0.7306 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.8787, allocations: 8.125 kB / 0.7306 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/0.8919, allocations: 4.664 MB / 0.7352 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/0.8926, allocations: 227.3 kB / 0.7354 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004781/0.8931, allocations: 10.56 kB / 0.7354 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.8945, allocations: 123.9 kB / 0.7355 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005714/0.8951, allocations: 176.5 kB / 0.7357 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-05/0.8952, allocations: 24 kB / 0.7357 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009267/0.8962, allocations: 0.6429 MB / 0.7363 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8962, allocations: 0 / 0.7363 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001947/0.8981, allocations: 0.6161 MB / 0.7369 GB, free: 10 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (68): * Single equations (assignments): 66 * 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.01292/0.911, allocations: 5.329 MB / 0.7422 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008815/0.9199, allocations: 3.477 MB / 0.7455 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.9199, allocations: 0 / 0.7455 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003792/0.9237, allocations: 1.422 MB / 0.7469 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.9248, allocations: 94.14 kB / 0.747 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.9289, allocations: 1.997 MB / 0.749 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.9295, allocations: 1.162 MB / 0.7501 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008358/0.9304, allocations: 201.7 kB / 0.7503 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/0.9309, allocations: 459.4 kB / 0.7507 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of SimCode: time 7.31e-07/0.931, allocations: 3.938 kB / 0.7507 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3636/1.295, allocations: 35.7 MB / 0.7856 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/1.295, allocations: 138.4 kB / 0.7857 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.153/4.447, allocations: 3.516 kB / 0.7857 GB, free: 145.6 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)