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.007979/0.007979, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.375/1.375, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000807/0.000807, allocations: 98.92 kB / 290.2 MB, free: 4.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5299/0.5299, allocations: 78.58 MB / 419.9 MB, free: 36.25 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 11.98 kB / 499.9 MB, free: 7.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.129, allocations: 69.36 MB / 0.5559 GB, free: 1.809 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3704/0.4995, allocations: 100 MB / 0.6535 GB, free: 2.262 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.4998, allocations: 76.64 kB / 0.6536 GB, free: 2.223 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1913/0.691, allocations: 73.58 MB / 0.7255 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6911, allocations: 3.938 kB / 0.7255 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000126/0.6912, allocations: 52 kB / 0.7255 GB, free: 8.828 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.01143/0.7027, allocations: 4.251 MB / 0.7297 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.7027, allocations: 12.03 kB / 0.7297 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006243/0.7033, allocations: 257.8 kB / 0.7299 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008898/0.7123, allocations: 1.479 MB / 0.7314 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/0.7165, allocations: 1.748 MB / 0.7331 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004638/0.717, allocations: 446.8 kB / 0.7335 GB, free: 460 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004666/0.7175, allocations: 187.9 kB / 0.7337 GB, free: 272 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005004/0.7225, allocations: 2.397 MB / 0.736 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.7225, allocations: 0 / 0.736 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.7228, allocations: 68 kB / 0.7361 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.7228, allocations: 47.95 kB / 0.7361 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00461/0.7274, allocations: 2.423 MB / 0.7385 GB, free: 11.31 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01781/0.7452, allocations: 9.53 MB / 0.7478 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/0.7557, allocations: 4.731 MB / 0.7524 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/0.756, allocations: 37.91 kB / 0.7525 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.7561, allocations: 60.5 kB / 0.7525 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=223): time 4.358e-06/0.7561, allocations: 0 / 0.7525 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.09282/0.8489, allocations: 23.26 MB / 0.7752 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.849, allocations: 77.41 kB / 0.7753 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/0.8528, allocations: 2.267 MB / 0.7775 GB, free: 2.605 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004991/0.8533, allocations: 61.7 kB / 0.7776 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009398/0.8543, allocations: 1.229 MB / 0.7788 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009089/0.8552, allocations: 0.7776 MB / 0.7795 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.8553, allocations: 44 kB / 0.7796 GB, free: 476 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8555, allocations: 390.1 kB / 0.78 GB, free: 80 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002774/0.8583, allocations: 1.414 MB / 0.7813 GB, free: 14.66 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/0.8612, allocations: 1.691 MB / 0.783 GB, free: 12.88 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002888/0.8641, allocations: 1.548 MB / 0.7845 GB, free: 11.33 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.8641, allocations: 4 kB / 0.7845 GB, free: 11.32 MB / 0.573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01981/0.8839, allocations: 7.107 MB / 0.7914 GB, free: 4.152 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.884, allocations: 8 kB / 0.7915 GB, free: 4.145 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.884, allocations: 4 kB / 0.7915 GB, free: 4.141 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01481/0.8988, allocations: 3.826 MB / 0.7952 GB, free: 272 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2496/1.148, allocations: 1.491 MB / 0.7967 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0288/1.177, allocations: 19.55 MB / 0.8157 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003808/1.181, allocations: 373.8 kB / 0.8161 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/1.181, allocations: 76.06 kB / 0.8162 GB, free: 112.1 MB / 0.573 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g4.order6_1.e2d:VARIABLE(start = g4.order6_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real g4.order6_1.delta:VARIABLE(start = g4.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g3.order6_1.e2d:VARIABLE(start = g3.order6_1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real g3.order6_1.delta:VARIABLE(start = g3.order6_1.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked 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.001275/1.183, allocations: 475.1 kB / 0.8166 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/1.183, allocations: 307.1 kB / 0.8169 GB, free: 111.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02668/1.21, allocations: 9.639 MB / 0.8263 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/1.21, allocations: 22.72 kB / 0.8264 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.21, allocations: 0 / 0.8264 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.614e-05/1.21, allocations: 11.34 kB / 0.8264 GB, free: 111.6 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03007/1.24, allocations: 13.59 MB / 0.8396 GB, free: 110.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/1.24, allocations: 1.25 kB / 0.8396 GB, free: 110.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/1.242, allocations: 224.6 kB / 0.8398 GB, free: 110.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01364/1.256, allocations: 4.676 MB / 0.8444 GB, free: 109.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005001/1.256, allocations: 45.69 kB / 0.8445 GB, free: 109.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0382/1.294, allocations: 17.55 MB / 0.8616 GB, free: 105.9 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.294, allocations: 0.75 kB / 0.8616 GB, free: 105.9 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02937/1.324, allocations: 11.73 MB / 0.8731 GB, free: 102.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/1.325, allocations: 475.8 kB / 0.8735 GB, free: 102.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006407/1.326, allocations: 42.84 kB / 0.8735 GB, free: 102.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002496/1.329, allocations: 219.8 kB / 0.8738 GB, free: 102.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/1.33, allocations: 379.4 kB / 0.8741 GB, free: 102.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/1.33, allocations: 56.5 kB / 0.8742 GB, free: 102.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002422/1.332, allocations: 1.749 MB / 0.8759 GB, free: 101.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.332, allocations: 0 / 0.8759 GB, free: 101.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00351/1.336, allocations: 1.003 MB / 0.8769 GB, free: 101.4 MB / 0.573 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 () * Number of clocked 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.02847/1.364, allocations: 12.52 MB / 0.8891 GB, free: 97.61 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01212/1.377, allocations: 6.244 MB / 0.8952 GB, free: 94.45 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.377, allocations: 2.438 kB / 0.8952 GB, free: 94.45 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009044/1.386, allocations: 3.664 MB / 0.8988 GB, free: 93.26 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/1.388, allocations: 213.5 kB / 0.899 GB, free: 93.11 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04916/1.437, allocations: 30.88 MB / 0.9291 GB, free: 65.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009957/1.438, allocations: 1.824 MB / 0.9309 GB, free: 64.07 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001219/1.439, allocations: 203.8 kB / 0.9311 GB, free: 63.93 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/1.441, allocations: 1.204 MB / 0.9323 GB, free: 62.82 MB / 0.573 GB Notification: Performance of SimCode: time 5.31e-07/1.441, allocations: 0 / 0.9323 GB, free: 62.82 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/1.545, allocations: 74.95 MB / 1.005 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/1.545, allocations: 212 kB / 1.006 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.513/6.058, allocations: 0 / 1.006 GB, free: 15.3 MB / 0.5886 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)