Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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/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/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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.0009404/0.0009404, allocations: 174.7 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.155/1.155, 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.0007697/0.0007697, allocations: 91.75 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/package.mo): time 0.05803/0.05803, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2622/0.2622, allocations: 78.03 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.741e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.09954, allocations: 69.25 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3482/0.4478, allocations: 100.5 MB / 0.6871 GB, free: 15.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.448, allocations: 85.19 kB / 0.6872 GB, free: 15.71 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08046/0.5285, allocations: 30.45 MB / 0.7169 GB, free: 5.926 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5285, allocations: 0 / 0.7169 GB, free: 5.926 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.839e-05/0.5286, allocations: 20 kB / 0.717 GB, free: 5.906 MB / 458.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.004062/0.5327, allocations: 1.759 MB / 0.7187 GB, free: 4.203 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5327, allocations: 15.92 kB / 0.7187 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.5329, allocations: 129.1 kB / 0.7188 GB, free: 4.102 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.536, allocations: 0.5594 MB / 0.7194 GB, free: 3.586 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.5373, allocations: 0.8103 MB / 0.7201 GB, free: 2.902 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.5375, allocations: 240.3 kB / 0.7204 GB, free: 2.668 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.5376, allocations: 76.94 kB / 0.7205 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5392, allocations: 0.9577 MB / 0.7214 GB, free: 1.977 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.5392, allocations: 3.938 kB / 0.7214 GB, free: 1.973 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.669e-05/0.5393, allocations: 33.06 kB / 0.7214 GB, free: 1.965 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.5393, allocations: 16 kB / 0.7214 GB, free: 1.949 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.5407, allocations: 0.8553 MB / 0.7223 GB, free: 1.41 MB / 458.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.006147/0.5468, allocations: 3.951 MB / 0.7261 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007109/0.554, allocations: 2.634 MB / 0.7287 GB, free: 11.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008108/0.5548, allocations: 0.549 MB / 0.7292 GB, free: 11.56 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.5549, allocations: 24.25 kB / 0.7293 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.555, allocations: 46.36 kB / 0.7293 GB, free: 11.49 MB / 474.7 MB Notification: Performance of pre-optimization done (n=95): time 2.775e-06/0.555, allocations: 3.938 kB / 0.7293 GB, free: 11.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=95): time 0.01199/0.567, allocations: 3.929 MB / 0.7331 GB, free: 8.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.5671, allocations: 137.3 kB / 0.7333 GB, free: 7.926 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.5683, allocations: 0.9364 MB / 0.7342 GB, free: 7.227 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.5684, allocations: 43.39 kB / 0.7342 GB, free: 7.191 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.5688, allocations: 0.5177 MB / 0.7347 GB, free: 6.914 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/0.5691, allocations: 340.1 kB / 0.7351 GB, free: 6.621 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.5691, allocations: 18.31 kB / 0.7351 GB, free: 6.617 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5693, allocations: 344.2 kB / 0.7354 GB, free: 6.293 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00073/0.57, allocations: 456.9 kB / 0.7358 GB, free: 6.043 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008596/0.5709, allocations: 0.5885 MB / 0.7364 GB, free: 5.633 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00084/0.5717, allocations: 0.5513 MB / 0.737 GB, free: 5.273 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5717, allocations: 0 / 0.737 GB, free: 5.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01412/0.5859, allocations: 4.175 MB / 0.741 GB, free: 1.668 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005031/0.5864, allocations: 1.205 MB / 0.7422 GB, free: 404 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.5864, allocations: 4 kB / 0.7422 GB, free: 400 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005739/0.5922, allocations: 1.563 MB / 0.7437 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009777/0.5932, allocations: 159 kB / 0.7439 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/0.608, allocations: 7.926 MB / 0.7516 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.6097, allocations: 199.2 kB / 0.7518 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.6098, allocations: 35.98 kB / 0.7519 GB, free: 7.344 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.6098, allocations: 4 kB / 0.7519 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01228/0.6221, allocations: 4.036 MB / 0.7558 GB, free: 3.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.6222, allocations: 4 kB / 0.7558 GB, free: 3.277 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005615/0.6278, allocations: 1.551 MB / 0.7573 GB, free: 1.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008642/0.6287, allocations: 155.8 kB / 0.7575 GB, free: 1.566 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/0.6428, allocations: 7.927 MB / 0.7652 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.6443, allocations: 179.3 kB / 0.7654 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.375e-05/0.6444, allocations: 39.92 kB / 0.7654 GB, free: 9.148 MB / 0.4948 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.0003118/0.6447, allocations: 179 kB / 0.7656 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/0.645, allocations: 142.3 kB / 0.7657 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01235/0.6573, allocations: 4.057 MB / 0.7697 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.6574, allocations: 11.95 kB / 0.7697 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.6574, allocations: 8 kB / 0.7697 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.6574, allocations: 7.969 kB / 0.7697 GB, free: 4.707 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 postOpt removeSimpleEquations (simulation): time 0.01428/0.6717, allocations: 5.717 MB / 0.7753 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6717, allocations: 0 / 0.7753 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/0.6724, allocations: 119.9 kB / 0.7754 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004364/0.6768, allocations: 1.414 MB / 0.7768 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-05/0.6769, allocations: 20 kB / 0.7768 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/0.6881, allocations: 5.732 MB / 0.7824 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6881, allocations: 4 kB / 0.7824 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.7009, allocations: 4.795 MB / 0.7871 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/0.7012, allocations: 231.2 kB / 0.7873 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.7014, allocations: 23.95 kB / 0.7873 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.7026, allocations: 139.9 kB / 0.7875 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004422/0.703, allocations: 180.7 kB / 0.7876 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.626e-05/0.7031, allocations: 27.98 kB / 0.7877 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000923/0.7041, allocations: 0.7216 MB / 0.7884 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7041, allocations: 0 / 0.7884 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001659/0.7057, allocations: 0.6905 MB / 0.7891 GB, free: 0.5859 MB / 0.5105 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.01266/0.7184, allocations: 5.472 MB / 0.7944 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008765/0.7272, allocations: 3.908 MB / 0.7982 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7272, allocations: 4 kB / 0.7982 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003582/0.7308, allocations: 1.476 MB / 0.7997 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.7315, allocations: 115.3 kB / 0.7998 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.7353, allocations: 2.161 MB / 0.8019 GB, free: 3.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/0.736, allocations: 1.174 MB / 0.803 GB, free: 2.027 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007878/0.7368, allocations: 210.1 kB / 0.8032 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/0.7373, allocations: 467.2 kB / 0.8037 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of SimCode: time 3.3e-07/0.7374, allocations: 4 kB / 0.8037 GB, free: 1.355 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0573/0.7947, allocations: 39.48 MB / 0.8422 GB, free: 9.984 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/0.7949, allocations: 192.9 kB / 0.8424 GB, free: 9.758 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/3.974, allocations: 0 / 0.8424 GB, free: 9.758 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)