Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",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.001004/0.001004, allocations: 172.5 kB / 7.647 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.307/1.307, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0008469/0.0008469, allocations: 90.12 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4792/0.4792, allocations: 78.94 MB / 410.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.821e-05, allocations: 4 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1564, allocations: 69.5 MB / 0.5425 GB, free: 5.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.6124, allocations: 99.96 MB / 0.6401 GB, free: 14.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.6127, allocations: 71.97 kB / 0.6402 GB, free: 13.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1908/0.8035, allocations: 73.1 MB / 0.7116 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8036, allocations: 0 / 0.7116 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002971/0.8039, allocations: 52 kB / 0.7116 GB, free: 4.586 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.01222/0.8161, allocations: 3.458 MB / 0.715 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.8162, allocations: 12.03 kB / 0.715 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009929/0.8261, allocations: 1.46 MB / 0.7165 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005258/0.8314, allocations: 1.733 MB / 0.7182 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005309/0.832, allocations: 378.8 kB / 0.7185 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006163/0.8326, allocations: 111.9 kB / 0.7186 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004186/0.8368, allocations: 1.948 MB / 0.7205 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/0.8405, allocations: 1.785 MB / 0.7223 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.958e-05/0.8406, allocations: 0 / 0.7223 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.8408, allocations: 3.938 kB / 0.7223 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/0.8408, allocations: 44 kB / 0.7223 GB, free: 9.473 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 preOpt removeSimpleEquations (simulation): time 0.02069/0.8615, allocations: 9.226 MB / 0.7313 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009823/0.8714, allocations: 4.257 MB / 0.7355 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002468/0.8739, allocations: 1.288 MB / 0.7367 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.8742, allocations: 41.88 kB / 0.7368 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.8743, allocations: 56.5 kB / 0.7368 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=223): time 4.749e-06/0.8743, allocations: 4 kB / 0.7368 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.026/0.9003, allocations: 8.115 MB / 0.7448 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.9004, allocations: 77.39 kB / 0.7448 GB, free: 1.727 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004297/0.9047, allocations: 2.062 MB / 0.7468 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006296/0.9054, allocations: 25.7 kB / 0.7469 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.9064, allocations: 1.228 MB / 0.7481 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001531/0.908, allocations: 0.7543 MB / 0.7488 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.9081, allocations: 3.938 kB / 0.7488 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.9084, allocations: 382.2 kB / 0.7492 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.9102, allocations: 1.018 MB / 0.7502 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.9122, allocations: 1.281 MB / 0.7514 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.9142, allocations: 1.146 MB / 0.7525 GB, free: 9.695 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.9142, allocations: 4 kB / 0.7525 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01781/0.9321, allocations: 5.921 MB / 0.7583 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.9321, allocations: 8 kB / 0.7583 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.9322, allocations: 8 kB / 0.7583 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01333/0.9455, allocations: 3.249 MB / 0.7615 GB, free: 404 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3317/1.277, allocations: 1.495 MB / 0.763 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/1.3, allocations: 17.1 MB / 0.7797 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004056/1.304, allocations: 325.5 kB / 0.78 GB, free: 104.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007043/1.304, allocations: 79.11 kB / 0.7801 GB, free: 104.1 MB / 0.5573 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 9 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 2,(4,75.0%) 2,(1,100.0%) 1,(3,88.9%) 17,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {8 22} Notification: Performance of prepare postOptimizeDAE: time 0.000712/1.305, allocations: 163.4 kB / 0.7802 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02454/1.33, allocations: 8.126 MB / 0.7881 GB, free: 103.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001876/1.332, allocations: 300.8 kB / 0.7884 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02551/1.357, allocations: 8.36 MB / 0.7966 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.941e-05/1.357, allocations: 25.95 kB / 0.7966 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.357, allocations: 0 / 0.7966 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.278e-05/1.357, allocations: 15.27 kB / 0.7966 GB, free: 103.3 MB / 0.5573 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.03496/1.392, allocations: 12.13 MB / 0.8085 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.797e-05/1.392, allocations: 1.219 kB / 0.8085 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/1.394, allocations: 223.6 kB / 0.8087 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01359/1.408, allocations: 3.949 MB / 0.8126 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006949/1.409, allocations: 16.23 kB / 0.8126 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02816/1.437, allocations: 13.02 MB / 0.8253 GB, free: 99.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.437, allocations: 0 / 0.8253 GB, free: 99.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02616/1.463, allocations: 10.11 MB / 0.8352 GB, free: 96.76 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/1.464, allocations: 470.2 kB / 0.8356 GB, free: 96.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/1.466, allocations: 5.219 kB / 0.8356 GB, free: 96.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003009/1.469, allocations: 189.1 kB / 0.8358 GB, free: 96.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001287/1.47, allocations: 379.9 kB / 0.8362 GB, free: 96.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/1.47, allocations: 57.27 kB / 0.8362 GB, free: 96.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002189/1.472, allocations: 1.554 MB / 0.8377 GB, free: 95.65 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.472, allocations: 0.8438 kB / 0.8377 GB, free: 95.65 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00352/1.476, allocations: 0.917 MB / 0.8386 GB, free: 95.61 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * 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 {54 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0256/1.501, allocations: 10.85 MB / 0.8492 GB, free: 92.12 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01068/1.512, allocations: 5.275 MB / 0.8544 GB, free: 89.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.512, allocations: 4.781 kB / 0.8544 GB, free: 89.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008975/1.521, allocations: 3.157 MB / 0.8575 GB, free: 87.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/1.523, allocations: 178.1 kB / 0.8576 GB, free: 87.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.533, allocations: 5.043 MB / 0.8626 GB, free: 85.47 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.534, allocations: 1.82 MB / 0.8643 GB, free: 84.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001202/1.536, allocations: 196.3 kB / 0.8645 GB, free: 84.64 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/1.537, allocations: 1.194 MB / 0.8657 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of SimCode: time 8.62e-07/1.537, allocations: 0 / 0.8657 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/1.639, allocations: 68.36 MB / 0.9324 GB, free: 30.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/1.64, allocations: 127.7 kB / 0.9326 GB, free: 30.43 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.372/6.012, allocations: 0 / 0.9326 GB, free: 30.43 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT.fmu > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)