Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_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.001044/0.001044, allocations: 173.9 kB / 7.648 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.438/1.438, allocations: 221.5 MB / 229.6 MB, free: 3.188 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.001026/0.001026, allocations: 90.92 kB / 280.5 MB, free: 1.156 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5009/0.5009, allocations: 78.12 MB / 409.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.615e-05/1.608e-05, allocations: 4 kB / 485 MB, free: 4.109 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.331, allocations: 69.36 MB / 0.5414 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.4493, allocations: 98.34 MB / 0.6374 GB, free: 6.34 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.4495, allocations: 71.97 kB / 0.6375 GB, free: 6.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09624/0.5458, allocations: 30.92 MB / 0.6677 GB, free: 7.148 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5458, allocations: 0 / 0.6677 GB, free: 7.148 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001069/0.5459, allocations: 20 kB / 0.6677 GB, free: 7.129 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007019/0.553, allocations: 1.75 MB / 0.6694 GB, free: 5.316 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.553, allocations: 11.97 kB / 0.6694 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006323/0.5594, allocations: 0.5603 MB / 0.67 GB, free: 4.742 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.5616, allocations: 0.8077 MB / 0.6708 GB, free: 3.883 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003828/0.562, allocations: 206.5 kB / 0.671 GB, free: 3.648 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.5623, allocations: 47.91 kB / 0.671 GB, free: 3.602 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002441/0.5647, allocations: 0.8123 MB / 0.6718 GB, free: 2.789 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/0.5672, allocations: 0.8532 MB / 0.6727 GB, free: 1.922 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.5672, allocations: 8 kB / 0.6727 GB, free: 1.914 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.5674, allocations: 0 / 0.6727 GB, free: 1.914 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.5674, allocations: 16 kB / 0.6727 GB, free: 1.898 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.3726/0.94, allocations: 3.823 MB / 0.6764 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008451/0.9485, allocations: 2.597 MB / 0.6789 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.9499, allocations: 0.528 MB / 0.6795 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.9501, allocations: 18.2 kB / 0.6795 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.9501, allocations: 42.5 kB / 0.6795 GB, free: 103.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 4.719e-06/0.9502, allocations: 3.547 kB / 0.6795 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.0133/0.9635, allocations: 3.842 MB / 0.6833 GB, free: 103.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.9636, allocations: 138.9 kB / 0.6834 GB, free: 103.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.9654, allocations: 0.8484 MB / 0.6842 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003656/0.9658, allocations: 25.7 kB / 0.6843 GB, free: 103 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000439/0.9662, allocations: 0.5143 MB / 0.6848 GB, free: 102.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000393/0.9666, allocations: 330.7 kB / 0.6851 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.9667, allocations: 0 / 0.6851 GB, free: 102.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.9668, allocations: 345.9 kB / 0.6854 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007563/0.9675, allocations: 443.7 kB / 0.6858 GB, free: 102.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/0.9683, allocations: 0.5608 MB / 0.6864 GB, free: 102.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008012/0.9691, allocations: 498.9 kB / 0.6869 GB, free: 102.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.9692, allocations: 2.219 kB / 0.6869 GB, free: 102.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01206/0.9812, allocations: 4.043 MB / 0.6908 GB, free: 102 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003395/0.9816, allocations: 1.201 MB / 0.692 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.9816, allocations: 0 / 0.692 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005289/0.9869, allocations: 1.535 MB / 0.6935 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008753/0.9878, allocations: 164.1 kB / 0.6936 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/1, allocations: 7.727 MB / 0.7012 GB, free: 96.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/1.002, allocations: 171.5 kB / 0.7013 GB, free: 96.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-05/1.002, allocations: 38.34 kB / 0.7014 GB, free: 96.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/1.002, allocations: 3.562 kB / 0.7014 GB, free: 96.09 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01124/1.013, allocations: 3.885 MB / 0.7052 GB, free: 95.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/1.013, allocations: 3.875 kB / 0.7052 GB, free: 95.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005191/1.018, allocations: 1.524 MB / 0.7067 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008465/1.019, allocations: 154.7 kB / 0.7068 GB, free: 95.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/1.032, allocations: 7.714 MB / 0.7143 GB, free: 89.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/1.034, allocations: 158 kB / 0.7145 GB, free: 89.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/1.034, allocations: 35.56 kB / 0.7145 GB, free: 89.59 MB / 490.7 MB 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.0004112/1.034, allocations: 150.5 kB / 0.7147 GB, free: 89.44 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01089/1.045, allocations: 3.838 MB / 0.7184 GB, free: 86.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005732/1.046, allocations: 126.4 kB / 0.7185 GB, free: 86.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/1.057, allocations: 3.952 MB / 0.7224 GB, free: 83.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/1.057, allocations: 12 kB / 0.7224 GB, free: 83.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/1.057, allocations: 4 kB / 0.7224 GB, free: 83.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/1.057, allocations: 6.469 kB / 0.7224 GB, free: 83.22 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 postOpt removeSimpleEquations (simulation): time 0.01249/1.069, allocations: 5.524 MB / 0.7278 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/1.069, allocations: 4.031 kB / 0.7278 GB, free: 78.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008216/1.07, allocations: 123.8 kB / 0.7279 GB, free: 78.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004377/1.075, allocations: 1.402 MB / 0.7293 GB, free: 77.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/1.075, allocations: 10.62 kB / 0.7293 GB, free: 77.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009964/1.085, allocations: 5.618 MB / 0.7348 GB, free: 71.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.085, allocations: 4.125 kB / 0.7348 GB, free: 71.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/1.096, allocations: 4.697 MB / 0.7394 GB, free: 66.81 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/1.097, allocations: 231.3 kB / 0.7396 GB, free: 66.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/1.097, allocations: 0 / 0.7396 GB, free: 66.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.098, allocations: 119.9 kB / 0.7397 GB, free: 66.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004545/1.099, allocations: 193 kB / 0.7399 GB, free: 66.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-05/1.099, allocations: 20 kB / 0.7399 GB, free: 66.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00074/1.1, allocations: 0.6534 MB / 0.7406 GB, free: 65.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.1, allocations: 0 / 0.7406 GB, free: 65.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001726/1.101, allocations: 0.6372 MB / 0.7412 GB, free: 64.95 MB / 490.7 MB 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.01232/1.114, allocations: 5.354 MB / 0.7464 GB, free: 59.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008373/1.122, allocations: 3.775 MB / 0.7501 GB, free: 55.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.122, allocations: 4.312 kB / 0.7501 GB, free: 55.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003454/1.126, allocations: 1.43 MB / 0.7515 GB, free: 54.26 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008875/1.126, allocations: 89.14 kB / 0.7516 GB, free: 54.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/1.13, allocations: 2.099 MB / 0.7536 GB, free: 52.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/1.131, allocations: 1.166 MB / 0.7548 GB, free: 50.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007948/1.132, allocations: 201 kB / 0.755 GB, free: 50.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/1.132, allocations: 459.3 kB / 0.7554 GB, free: 50.23 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/1.132, allocations: 0 / 0.7554 GB, free: 50.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05784/1.19, allocations: 36.66 MB / 0.7912 GB, free: 13.87 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.19, allocations: 152.3 kB / 0.7914 GB, free: 13.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.28/4.47, allocations: 5.125 kB / 0.7914 GB, free: 13.67 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)