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.001367/0.001367, allocations: 169 kB / 7.646 MB, free: 1.426 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.494/1.494, allocations: 221.5 MB / 229.6 MB, free: 7.523 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.0008437/0.0008437, allocations: 87.48 kB / 280.5 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4689/0.4689, allocations: 78.13 MB / 409.4 MB, free: 6.465 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.773e-05/1.77e-05, allocations: 4 kB / 485 MB, free: 12.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1391, allocations: 69.35 MB / 0.5414 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4262/0.5654, allocations: 99.28 MB / 0.6384 GB, free: 332 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.5656, allocations: 67.97 kB / 0.6384 GB, free: 264 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1842/0.7499, allocations: 72.35 MB / 0.7091 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.627e-06/0.7499, allocations: 0 / 0.7091 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001241/0.75, allocations: 55.94 kB / 0.7091 GB, free: 7.645 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.009464/0.7595, allocations: 3.453 MB / 0.7125 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.7596, allocations: 8.031 kB / 0.7125 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009248/0.7688, allocations: 1.46 MB / 0.7139 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/0.773, allocations: 1.728 MB / 0.7156 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004616/0.7735, allocations: 386.8 kB / 0.716 GB, free: 448 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003997/0.7739, allocations: 111.9 kB / 0.7161 GB, free: 336 kB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003738/0.7777, allocations: 1.948 MB / 0.718 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/0.7811, allocations: 1.781 MB / 0.7197 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.7812, allocations: 4 kB / 0.7197 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.7814, allocations: 4 kB / 0.7197 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/0.7814, allocations: 40 kB / 0.7198 GB, free: 12.54 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.01951/0.801, allocations: 9.226 MB / 0.7288 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009934/0.8109, allocations: 4.26 MB / 0.733 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003002/0.814, allocations: 1.293 MB / 0.7342 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003412/0.8144, allocations: 37.95 kB / 0.7343 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.9e-05/0.8144, allocations: 56.56 kB / 0.7343 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=223): time 5.42e-06/0.8144, allocations: 0 / 0.7343 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.03609/0.8505, allocations: 8.115 MB / 0.7422 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/0.8507, allocations: 73.41 kB / 0.7423 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00604/0.8567, allocations: 2.063 MB / 0.7443 GB, free: 2.727 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008615/0.8576, allocations: 29.64 kB / 0.7443 GB, free: 2.691 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001579/0.8592, allocations: 1.224 MB / 0.7455 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001781/0.861, allocations: 0.7542 MB / 0.7463 GB, free: 0.6875 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.8613, allocations: 4 kB / 0.7463 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002536/0.8616, allocations: 386.2 kB / 0.7466 GB, free: 308 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002973/0.8646, allocations: 1.016 MB / 0.7476 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003256/0.8679, allocations: 1.281 MB / 0.7489 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003344/0.8712, allocations: 1.146 MB / 0.75 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/0.8713, allocations: 4 kB / 0.75 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.02728/0.8986, allocations: 5.917 MB / 0.7558 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.8986, allocations: 8 kB / 0.7558 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.8987, allocations: 8.562 kB / 0.7558 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02054/0.9192, allocations: 3.242 MB / 0.759 GB, free: 3.473 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01076/0.9301, allocations: 1.502 MB / 0.7604 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3809/1.311, allocations: 17.1 MB / 0.7771 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00415/1.315, allocations: 322.3 kB / 0.7774 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000404/1.316, allocations: 81.39 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.0006049/1.316, allocations: 160.9 kB / 0.7777 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02351/1.34, allocations: 8.122 MB / 0.7856 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001874/1.342, allocations: 304.1 kB / 0.7859 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02477/1.366, allocations: 8.359 MB / 0.7941 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.292e-05/1.367, allocations: 25.42 kB / 0.7941 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.367, allocations: 0.5625 kB / 0.7941 GB, free: 106.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.513e-05/1.367, allocations: 11.17 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.03513/1.402, allocations: 12.13 MB / 0.8059 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/1.402, allocations: 2.938 kB / 0.806 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/1.404, allocations: 219.3 kB / 0.8062 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01395/1.418, allocations: 3.942 MB / 0.81 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007639/1.419, allocations: 16.44 kB / 0.81 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02813/1.447, allocations: 13.02 MB / 0.8227 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.447, allocations: 2.25 kB / 0.8227 GB, free: 103 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02751/1.474, allocations: 10.1 MB / 0.8326 GB, free: 100 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/1.476, allocations: 468.9 kB / 0.8331 GB, free: 99.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006513/1.477, allocations: 7.891 kB / 0.8331 GB, free: 99.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002585/1.479, allocations: 184.8 kB / 0.8332 GB, free: 99.69 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/1.48, allocations: 381.1 kB / 0.8336 GB, free: 99.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.481, allocations: 52.36 kB / 0.8337 GB, free: 99.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002188/1.483, allocations: 1.552 MB / 0.8352 GB, free: 98.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.483, allocations: 2.25 kB / 0.8352 GB, free: 98.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003336/1.486, allocations: 0.9124 MB / 0.8361 GB, free: 98.89 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.02722/1.513, allocations: 10.87 MB / 0.8467 GB, free: 95.39 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01162/1.525, allocations: 5.279 MB / 0.8518 GB, free: 92.37 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.525, allocations: 0 / 0.8518 GB, free: 92.37 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009613/1.535, allocations: 3.155 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.002352/1.537, allocations: 179.8 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.01101/1.548, allocations: 5.031 MB / 0.86 GB, free: 88.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/1.549, allocations: 1.823 MB / 0.8618 GB, free: 87.96 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001116/1.55, allocations: 200.3 kB / 0.862 GB, free: 87.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/1.552, allocations: 1.198 MB / 0.8631 GB, free: 86.94 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/1.552, allocations: 3.562 kB / 0.8631 GB, free: 86.94 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/1.666, allocations: 68.31 MB / 0.9299 GB, free: 34.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/1.666, allocations: 134.3 kB / 0.93 GB, free: 34.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.643/6.309, allocations: 0 / 0.93 GB, free: 34.62 MB / 0.5573 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)