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.008191/0.008191, allocations: 169.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.378/1.378, allocations: 223.2 MB / 239 MB, free: 68 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.00088/0.00088, allocations: 94.25 kB / 290.2 MB, free: 4.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5023/0.5023, allocations: 79.45 MB / 420.8 MB, free: 36.3 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 8 kB / 0.4891 GB, free: 6.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.157, allocations: 69.51 MB / 0.557 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4774/0.6344, allocations: 100.7 MB / 0.6553 GB, free: 480 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.6347, allocations: 75.95 kB / 0.6554 GB, free: 404 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1921/0.8267, allocations: 74.34 MB / 0.728 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.757e-06/0.8268, allocations: 4 kB / 0.728 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001475/0.8269, allocations: 55.94 kB / 0.7281 GB, free: 5.758 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.0131/0.84, allocations: 4.267 MB / 0.7322 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.8401, allocations: 8.031 kB / 0.7322 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009257/0.841, allocations: 265.7 kB / 0.7325 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009284/0.8503, allocations: 1.475 MB / 0.7339 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00499/0.8554, allocations: 1.748 MB / 0.7356 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005125/0.8559, allocations: 446.8 kB / 0.7361 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006102/0.8565, allocations: 183.9 kB / 0.7362 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005026/0.8616, allocations: 2.398 MB / 0.7386 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.8616, allocations: 0 / 0.7386 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002197/0.8619, allocations: 72 kB / 0.7387 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.8619, allocations: 47.95 kB / 0.7387 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004805/0.8667, allocations: 2.423 MB / 0.7411 GB, free: 8.23 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.01847/0.8852, allocations: 9.538 MB / 0.7504 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.8961, allocations: 4.727 MB / 0.755 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000473/0.8966, allocations: 33.97 kB / 0.755 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.8967, allocations: 56.56 kB / 0.7551 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=223): time 5.751e-06/0.8967, allocations: 0 / 0.7551 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of matching and sorting (n=223): time 0.09686/0.9935, allocations: 23.26 MB / 0.7778 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.9937, allocations: 73.41 kB / 0.7779 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004596/0.9983, allocations: 2.279 MB / 0.7801 GB, free: 15.51 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007684/0.9991, allocations: 61.7 kB / 0.7802 GB, free: 15.45 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/1, allocations: 1.226 MB / 0.7814 GB, free: 14.21 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.001, allocations: 0.7815 MB / 0.7821 GB, free: 13.41 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/1.002, allocations: 40 kB / 0.7822 GB, free: 13.38 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.002, allocations: 386.2 kB / 0.7825 GB, free: 12.99 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/1.005, allocations: 1.418 MB / 0.7839 GB, free: 11.57 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002892/1.007, allocations: 1.694 MB / 0.7856 GB, free: 9.781 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/1.01, allocations: 1.545 MB / 0.7871 GB, free: 8.238 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/1.01, allocations: 4 kB / 0.7871 GB, free: 8.234 MB / 0.573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.0205/1.031, allocations: 7.106 MB / 0.794 GB, free: 1.066 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/1.031, allocations: 8 kB / 0.794 GB, free: 1.059 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/1.031, allocations: 4 kB / 0.794 GB, free: 1.055 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3544/1.385, allocations: 3.829 MB / 0.7978 GB, free: 119.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006698/1.392, allocations: 1.495 MB / 0.7992 GB, free: 119.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03018/1.422, allocations: 19.55 MB / 0.8183 GB, free: 110.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004292/1.427, allocations: 380 kB / 0.8187 GB, free: 110.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005749/1.427, allocations: 79.06 kB / 0.8188 GB, free: 110.6 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.001954/1.429, allocations: 471.5 kB / 0.8192 GB, free: 110.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.43, allocations: 310.2 kB / 0.8195 GB, free: 110.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0279/1.458, allocations: 9.645 MB / 0.8289 GB, free: 110.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/1.458, allocations: 19.47 kB / 0.8289 GB, free: 110.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.459, allocations: 3.812 kB / 0.8289 GB, free: 110.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-05/1.459, allocations: 16.7 kB / 0.829 GB, free: 110.1 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.03322/1.492, allocations: 13.58 MB / 0.8422 GB, free: 108.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/1.492, allocations: 0 / 0.8422 GB, free: 108.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/1.494, allocations: 223.8 kB / 0.8424 GB, free: 108.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01433/1.508, allocations: 4.681 MB / 0.847 GB, free: 108.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007711/1.509, allocations: 43.22 kB / 0.8471 GB, free: 108.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04226/1.551, allocations: 17.54 MB / 0.8642 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/1.551, allocations: 4.312 kB / 0.8642 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03129/1.583, allocations: 11.73 MB / 0.8756 GB, free: 100.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.584, allocations: 475.1 kB / 0.8761 GB, free: 100.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001418/1.586, allocations: 42.75 kB / 0.8761 GB, free: 100.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003666/1.589, allocations: 217.1 kB / 0.8763 GB, free: 100.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001708/1.591, allocations: 389 kB / 0.8767 GB, free: 100.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000432/1.592, allocations: 58.86 kB / 0.8768 GB, free: 100.3 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003567/1.595, allocations: 1.755 MB / 0.8785 GB, free: 99.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.61e-07/1.595, allocations: 0 / 0.8785 GB, free: 99.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005665/1.601, allocations: 1.005 MB / 0.8795 GB, free: 99.48 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.03325/1.634, allocations: 12.5 MB / 0.8917 GB, free: 95.72 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01417/1.648, allocations: 6.256 MB / 0.8978 GB, free: 92.56 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/1.648, allocations: 1.625 kB / 0.8978 GB, free: 92.56 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01006/1.659, allocations: 3.668 MB / 0.9014 GB, free: 91.36 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/1.661, allocations: 216.3 kB / 0.9016 GB, free: 91.21 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0504/1.711, allocations: 30.89 MB / 0.9317 GB, free: 62.02 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/1.712, allocations: 1.818 MB / 0.9335 GB, free: 60.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001361/1.714, allocations: 204 kB / 0.9337 GB, free: 60.46 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.715, allocations: 1.2 MB / 0.9349 GB, free: 59.36 MB / 0.573 GB Notification: Performance of SimCode: time 1.332e-06/1.715, allocations: 0 / 0.9349 GB, free: 59.36 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/1.825, allocations: 75 MB / 1.008 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/1.825, allocations: 198.3 kB / 1.008 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.228/7.053, allocations: 3.938 kB / 1.008 GB, free: 11.24 MB / 0.5886 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)