Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_release_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.001009/0.001009, 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 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 221.4 MB / 234.6 MB, free: 14.47 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008345/0.0008345, allocations: 82.8 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4639/0.4639, allocations: 78.09 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.062e-05/4.089e-05, allocations: 7.969 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3575, allocations: 69.33 MB / 0.5481 GB, free: 20.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1275/0.4851, allocations: 99.95 MB / 0.6457 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.4854, allocations: 75.95 kB / 0.6458 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5615/1.047, allocations: 73.4 MB / 0.7174 GB, free: 90.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/1.047, allocations: 0 / 0.7174 GB, free: 90.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002789/1.047, allocations: 52.05 kB / 0.7175 GB, free: 90.82 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.0108/1.058, allocations: 3.463 MB / 0.7209 GB, free: 87.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/1.058, allocations: 11.97 kB / 0.7209 GB, free: 87.29 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001127/1.059, allocations: 257.4 kB / 0.7211 GB, free: 87.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009216/1.068, allocations: 1.46 MB / 0.7226 GB, free: 85.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004967/1.073, allocations: 1.726 MB / 0.7242 GB, free: 83.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/1.074, allocations: 446.8 kB / 0.7247 GB, free: 83.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009887/1.075, allocations: 183.9 kB / 0.7248 GB, free: 83.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006085/1.081, allocations: 2.026 MB / 0.7268 GB, free: 81.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.496e-05/1.081, allocations: 3.938 kB / 0.7268 GB, free: 81.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006364/1.082, allocations: 76.92 kB / 0.7269 GB, free: 80.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/1.082, allocations: 40 kB / 0.7269 GB, free: 80.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004278/1.086, allocations: 2.041 MB / 0.7289 GB, free: 78.91 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.01821/1.104, allocations: 9.535 MB / 0.7382 GB, free: 68.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008931/1.113, allocations: 4.327 MB / 0.7425 GB, free: 64.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002675/1.116, allocations: 1.358 MB / 0.7438 GB, free: 63.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/1.117, allocations: 45.89 kB / 0.7438 GB, free: 62.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/1.117, allocations: 52.56 kB / 0.7439 GB, free: 62.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=223): time 4.127e-06/1.117, allocations: 0 / 0.7439 GB, free: 62.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=223): time 0.02509/1.142, allocations: 8.276 MB / 0.752 GB, free: 54.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/1.142, allocations: 81.34 kB / 0.7521 GB, free: 54.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005341/1.147, allocations: 2.237 MB / 0.7542 GB, free: 52.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008522/1.148, allocations: 61.7 kB / 0.7543 GB, free: 52.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/1.149, allocations: 1.233 MB / 0.7555 GB, free: 50.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001669/1.151, allocations: 0.7854 MB / 0.7563 GB, free: 50.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005364/1.151, allocations: 40 kB / 0.7563 GB, free: 50.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/1.152, allocations: 382.2 kB / 0.7567 GB, free: 49.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002472/1.154, allocations: 1.063 MB / 0.7577 GB, free: 48.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/1.157, allocations: 1.331 MB / 0.759 GB, free: 47.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/1.159, allocations: 1.189 MB / 0.7602 GB, free: 46.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/1.159, allocations: 4 kB / 0.7602 GB, free: 46.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01752/1.177, allocations: 6.131 MB / 0.7662 GB, free: 39.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/1.177, allocations: 11.94 kB / 0.7662 GB, free: 39.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/1.177, allocations: 8 kB / 0.7662 GB, free: 39.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01284/1.19, allocations: 3.297 MB / 0.7694 GB, free: 36.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006653/1.197, allocations: 1.502 MB / 0.7709 GB, free: 35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/1.221, allocations: 17.61 MB / 0.7881 GB, free: 16.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004382/1.225, allocations: 369.9 kB / 0.7884 GB, free: 16.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008756/1.226, allocations: 79.98 kB / 0.7885 GB, free: 16.01 MB / 490.7 MB 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.001462/1.228, allocations: 250.3 kB / 0.7887 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001548/1.229, allocations: 312.1 kB / 0.789 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02544/1.255, allocations: 8.584 MB / 0.7974 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/1.255, allocations: 23.95 kB / 0.7974 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.255, allocations: 0 / 0.7974 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.742e-05/1.255, allocations: 11.95 kB / 0.7974 GB, free: 6.801 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.0373/1.292, allocations: 12.53 MB / 0.8097 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/1.292, allocations: 4 kB / 0.8097 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/1.294, allocations: 223.7 kB / 0.8099 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0141/1.308, allocations: 3.98 MB / 0.8138 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008123/1.309, allocations: 47.95 kB / 0.8138 GB, free: 5.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0343/1.344, allocations: 13.22 MB / 0.8267 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.344, allocations: 0 / 0.8267 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03039/1.374, allocations: 10.31 MB / 0.8368 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.376, allocations: 480.5 kB / 0.8373 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007845/1.377, allocations: 48 kB / 0.8373 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/1.38, allocations: 211.8 kB / 0.8375 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001298/1.381, allocations: 378 kB / 0.8379 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.381, allocations: 59.98 kB / 0.8379 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002752/1.384, allocations: 1.717 MB / 0.8396 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.384, allocations: 0 / 0.8396 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003207/1.387, allocations: 1.01 MB / 0.8406 GB, free: 10.16 MB / 0.5261 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.02957/1.417, allocations: 11.09 MB / 0.8514 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.429, allocations: 5.458 MB / 0.8567 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.429, allocations: 0 / 0.8567 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009582/1.439, allocations: 3.263 MB / 0.8599 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/1.441, allocations: 218.1 kB / 0.8601 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/1.452, allocations: 5.225 MB / 0.8652 GB, free: 0.5352 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/1.454, allocations: 1.817 MB / 0.867 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001203/1.455, allocations: 203.4 kB / 0.8672 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001679/1.457, allocations: 1.198 MB / 0.8684 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of SimCode: time 1.373e-06/1.457, allocations: 4 kB / 0.8684 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5058/1.963, allocations: 74.58 MB / 0.9412 GB, free: 160.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/1.963, allocations: 177.1 kB / 0.9414 GB, free: 160.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.682/6.645, allocations: 0 / 0.9414 GB, free: 160.2 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT.fmu > OpenIPSL_release_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)