Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_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.00135/0.00135, 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.501/1.501, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.001009/0.001009, allocations: 87.61 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.487/0.487, allocations: 78.08 MB / 409.3 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.564e-05, allocations: 7.938 kB / 485 MB, free: 12.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1598, allocations: 69.35 MB / 0.5414 GB, free: 6.742 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4691/0.6289, allocations: 99.28 MB / 0.6383 GB, free: 136 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.6292, allocations: 75.95 kB / 0.6384 GB, free: 60 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1886/0.8178, allocations: 72.33 MB / 0.709 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8179, allocations: 0 / 0.709 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001865/0.8181, allocations: 56 kB / 0.7091 GB, free: 7.453 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.01139/0.8295, allocations: 3.46 MB / 0.7125 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.8295, allocations: 8.031 kB / 0.7125 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009672/0.8392, allocations: 1.456 MB / 0.7139 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005193/0.8444, allocations: 1.732 MB / 0.7156 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005112/0.845, allocations: 380 kB / 0.716 GB, free: 252 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005841/0.8456, allocations: 111.9 kB / 0.7161 GB, free: 140 kB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003844/0.8494, allocations: 1.952 MB / 0.718 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/0.853, allocations: 1.777 MB / 0.7197 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/0.8531, allocations: 0 / 0.7197 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.8533, allocations: 0 / 0.7197 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.8533, allocations: 47.94 kB / 0.7197 GB, free: 12.34 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.02089/0.8742, allocations: 9.238 MB / 0.7288 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009888/0.8841, allocations: 4.252 MB / 0.7329 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00281/0.887, allocations: 1.292 MB / 0.7342 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/0.8875, allocations: 33.97 kB / 0.7342 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.127e-05/0.8876, allocations: 56.56 kB / 0.7343 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=223): time 6.102e-06/0.8876, allocations: 7.938 kB / 0.7343 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.0269/0.9145, allocations: 8.112 MB / 0.7422 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.9146, allocations: 85.39 kB / 0.7423 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00446/0.9191, allocations: 2.058 MB / 0.7443 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000848/0.9199, allocations: 25.7 kB / 0.7443 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.9211, allocations: 1.228 MB / 0.7455 GB, free: 1.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/0.9226, allocations: 0.7504 MB / 0.7462 GB, free: 500 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.9228, allocations: 0 / 0.7462 GB, free: 500 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.923, allocations: 386.2 kB / 0.7466 GB, free: 108 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.9249, allocations: 1.016 MB / 0.7476 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.9268, allocations: 1.281 MB / 0.7489 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.9287, allocations: 1.146 MB / 0.75 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.9288, allocations: 0 / 0.75 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01777/0.9466, allocations: 5.921 MB / 0.7558 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.9466, allocations: 8 kB / 0.7558 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.9467, allocations: 8 kB / 0.7558 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01359/0.9603, allocations: 3.245 MB / 0.7589 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007099/0.9674, allocations: 1.502 MB / 0.7604 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4257/1.393, allocations: 17.1 MB / 0.7771 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004463/1.398, allocations: 320.5 kB / 0.7774 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008182/1.399, allocations: 76.7 kB / 0.7775 GB, free: 107.2 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.0008993/1.399, allocations: 161.4 kB / 0.7776 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02724/1.427, allocations: 8.118 MB / 0.7856 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002289/1.429, allocations: 301.7 kB / 0.7859 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02589/1.455, allocations: 8.368 MB / 0.794 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.268e-05/1.455, allocations: 26.39 kB / 0.7941 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.455, allocations: 0 / 0.7941 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.837e-05/1.455, allocations: 10.08 kB / 0.7941 GB, free: 106.4 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.03636/1.492, allocations: 12.13 MB / 0.8059 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/1.492, allocations: 1.188 kB / 0.8059 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/1.494, allocations: 225.9 kB / 0.8061 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01452/1.508, allocations: 3.941 MB / 0.81 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009743/1.509, allocations: 16.17 kB / 0.81 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03402/1.543, allocations: 13.02 MB / 0.8227 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.543, allocations: 0.625 kB / 0.8227 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03064/1.574, allocations: 10.12 MB / 0.8326 GB, free: 100 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/1.576, allocations: 459.8 kB / 0.833 GB, free: 99.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001451/1.577, allocations: 7.938 kB / 0.833 GB, free: 99.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003746/1.581, allocations: 180.3 kB / 0.8332 GB, free: 99.69 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001811/1.583, allocations: 374.9 kB / 0.8336 GB, free: 99.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005378/1.583, allocations: 59.34 kB / 0.8336 GB, free: 99.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003756/1.587, allocations: 1.548 MB / 0.8351 GB, free: 98.94 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.334e-06/1.587, allocations: 0 / 0.8351 GB, free: 98.94 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005486/1.593, allocations: 0.9168 MB / 0.836 GB, free: 98.9 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.02991/1.623, allocations: 10.87 MB / 0.8466 GB, free: 95.39 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01347/1.636, allocations: 5.278 MB / 0.8518 GB, free: 92.38 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.636, allocations: 0 / 0.8518 GB, free: 92.38 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01066/1.647, allocations: 3.162 MB / 0.8549 GB, free: 91.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/1.65, allocations: 178.4 kB / 0.8551 GB, free: 91.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.665, allocations: 5.038 MB / 0.86 GB, free: 88.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/1.666, allocations: 1.819 MB / 0.8618 GB, free: 87.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001595/1.668, allocations: 195.9 kB / 0.8619 GB, free: 87.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002092/1.67, allocations: 1.203 MB / 0.8631 GB, free: 86.93 MB / 0.5573 GB Notification: Performance of SimCode: time 1.142e-06/1.67, allocations: 0 / 0.8631 GB, free: 86.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/1.799, allocations: 68.31 MB / 0.9298 GB, free: 34.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002444/1.8, allocations: 123 kB / 0.9299 GB, free: 34.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.578/6.378, allocations: 0 / 0.9299 GB, free: 34.32 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT.fmu > OpenIPSL_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)