Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.004678/0.004678, allocations: 171.1 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008528/0.0008525, allocations: 98.84 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05741/0.05741, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4223/0.4223, allocations: 78.52 MB / 459.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004991, allocations: 18.91 kB / 0.528 GB, free: 35.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1246, allocations: 69.25 MB / 0.5956 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.338/0.4626, allocations: 101.5 MB / 0.6948 GB, free: 98.98 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4628, allocations: 70.83 kB / 0.6948 GB, free: 98.98 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1561/0.619, allocations: 71.49 MB / 0.7647 GB, free: 45.19 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.619, allocations: 3.938 kB / 0.7647 GB, free: 45.19 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001338/0.6191, allocations: 56 kB / 0.7647 GB, free: 45.13 MB / 474.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.01086/0.63, allocations: 4.255 MB / 0.7689 GB, free: 40.81 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.6301, allocations: 11.98 kB / 0.7689 GB, free: 40.8 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006799/0.6308, allocations: 261.4 kB / 0.7691 GB, free: 40.53 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008219/0.639, allocations: 1.467 MB / 0.7706 GB, free: 39.06 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003246/0.6422, allocations: 1.752 MB / 0.7723 GB, free: 37.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.6426, allocations: 446.8 kB / 0.7727 GB, free: 36.75 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003811/0.643, allocations: 191.8 kB / 0.7729 GB, free: 36.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004046/0.647, allocations: 2.4 MB / 0.7752 GB, free: 34.15 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.6471, allocations: 0 / 0.7752 GB, free: 34.15 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/0.6473, allocations: 72 kB / 0.7753 GB, free: 34.08 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.6473, allocations: 40 kB / 0.7753 GB, free: 34.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003867/0.6512, allocations: 2.423 MB / 0.7777 GB, free: 31.62 MB / 474.7 MB 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.01446/0.6657, allocations: 9.523 MB / 0.787 GB, free: 21.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008838/0.6745, allocations: 4.732 MB / 0.7916 GB, free: 16.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.6748, allocations: 41.95 kB / 0.7917 GB, free: 16.65 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.6749, allocations: 60.56 kB / 0.7917 GB, free: 16.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=223): time 3.647e-06/0.6749, allocations: 0 / 0.7917 GB, free: 16.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=223): time 0.08738/0.7623, allocations: 23.26 MB / 0.8144 GB, free: 9.266 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.7623, allocations: 77.41 kB / 0.8145 GB, free: 9.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/0.7661, allocations: 2.271 MB / 0.8167 GB, free: 6.902 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005799/0.7667, allocations: 57.7 kB / 0.8168 GB, free: 6.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009231/0.7676, allocations: 1.221 MB / 0.818 GB, free: 5.605 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.7687, allocations: 0.7853 MB / 0.8187 GB, free: 4.809 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.7689, allocations: 40 kB / 0.8188 GB, free: 4.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7691, allocations: 394.1 kB / 0.8191 GB, free: 4.379 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/0.7718, allocations: 1.414 MB / 0.8205 GB, free: 2.961 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002892/0.7747, allocations: 1.69 MB / 0.8222 GB, free: 1.176 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002862/0.7776, allocations: 1.545 MB / 0.8237 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.7776, allocations: 4 kB / 0.8237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01945/0.7971, allocations: 7.103 MB / 0.8306 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.7971, allocations: 12 kB / 0.8306 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.7971, allocations: 4 kB / 0.8306 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01383/0.811, allocations: 3.821 MB / 0.8344 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0063/0.8173, allocations: 1.502 MB / 0.8358 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02906/0.8464, allocations: 19.54 MB / 0.8549 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003897/0.8503, allocations: 369.8 kB / 0.8553 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004028/0.8507, allocations: 79.97 kB / 0.8554 GB, free: 14.14 MB / 0.5261 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.001383/0.8521, allocations: 475.6 kB / 0.8558 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007948/0.8529, allocations: 308.1 kB / 0.8561 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0265/0.8794, allocations: 9.634 MB / 0.8655 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.8795, allocations: 24 kB / 0.8655 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8795, allocations: 3.953 kB / 0.8655 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-05/0.8796, allocations: 15.94 kB / 0.8656 GB, free: 3.664 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 postOpt removeSimpleEquations (simulation): time 0.03101/0.9106, allocations: 13.58 MB / 0.8788 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.9106, allocations: 0 / 0.8788 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.9123, allocations: 219.7 kB / 0.879 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01326/0.9255, allocations: 4.687 MB / 0.8836 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004057/0.9259, allocations: 47.98 kB / 0.8836 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0372/0.9632, allocations: 17.54 MB / 0.9008 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.9632, allocations: 3.938 kB / 0.9008 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03013/0.9933, allocations: 11.72 MB / 0.9122 GB, free: 3.441 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/0.9947, allocations: 476.6 kB / 0.9127 GB, free: 2.953 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004076/0.9951, allocations: 40 kB / 0.9127 GB, free: 2.914 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/0.9976, allocations: 219.8 kB / 0.9129 GB, free: 2.699 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001133/0.9987, allocations: 378.3 kB / 0.9133 GB, free: 2.328 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/0.9989, allocations: 59.98 kB / 0.9134 GB, free: 2.27 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002444/1.001, allocations: 1.747 MB / 0.9151 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.001, allocations: 0 / 0.9151 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.2654/1.267, allocations: 0.9951 MB / 0.916 GB, free: 154.9 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.03197/1.299, allocations: 12.52 MB / 0.9283 GB, free: 154.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0131/1.312, allocations: 6.243 MB / 0.9344 GB, free: 152.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.312, allocations: 0.9375 kB / 0.9344 GB, free: 152.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008911/1.321, allocations: 3.666 MB / 0.9379 GB, free: 152 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/1.323, allocations: 222.9 kB / 0.9381 GB, free: 152 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04594/1.369, allocations: 30.88 MB / 0.9683 GB, free: 138.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/1.37, allocations: 1.82 MB / 0.9701 GB, free: 137.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001311/1.372, allocations: 201.9 kB / 0.9703 GB, free: 137.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/1.373, allocations: 1.2 MB / 0.9715 GB, free: 137 MB / 0.573 GB Notification: Performance of SimCode: time 2.224e-06/1.373, allocations: 0 / 0.9715 GB, free: 137 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09538/1.468, allocations: 74.95 MB / 1.045 GB, free: 79.21 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001287/1.469, allocations: 202 kB / 1.045 GB, free: 78.96 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.768/6.237, allocations: 4 kB / 1.045 GB, free: 78.96 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_TwoAreas_Two_Areas_PSAT.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)