Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.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.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",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.0009512/0.0009513, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.215/1.215, allocations: 221.4 MB / 234.6 MB, free: 14.47 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009107/0.0009107, allocations: 94.11 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4705/0.4705, allocations: 78.03 MB / 414.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.044e-05, allocations: 4 kB / 491.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3255, allocations: 69.35 MB / 0.5481 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4469, allocations: 100.5 MB / 0.6462 GB, free: 15.96 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4471, allocations: 83.94 kB / 0.6462 GB, free: 15.88 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4465/0.8936, allocations: 67.86 MB / 0.7125 GB, free: 96.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.8937, allocations: 0 / 0.7125 GB, free: 96.31 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001443/0.8938, allocations: 55.19 kB / 0.7126 GB, free: 96.27 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01032/0.9041, allocations: 4.063 MB / 0.7165 GB, free: 92.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.9042, allocations: 15.97 kB / 0.7165 GB, free: 92.11 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004877/0.9047, allocations: 295.2 kB / 0.7168 GB, free: 91.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00891/0.9136, allocations: 1.607 MB / 0.7184 GB, free: 90.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/0.9169, allocations: 1.655 MB / 0.72 GB, free: 88.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004754/0.9174, allocations: 0.6945 MB / 0.7207 GB, free: 87.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.9178, allocations: 207.9 kB / 0.7209 GB, free: 87.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004049/0.9218, allocations: 2.581 MB / 0.7234 GB, free: 84.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/0.9219, allocations: 0 / 0.7234 GB, free: 84.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002577/0.9221, allocations: 87.92 kB / 0.7235 GB, free: 84.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.9222, allocations: 52 kB / 0.7235 GB, free: 84.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003656/0.9258, allocations: 2.336 MB / 0.7258 GB, free: 82.33 MB / 490.7 MB 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.01668/0.9425, allocations: 10.12 MB / 0.7357 GB, free: 71.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008192/0.9508, allocations: 4.057 MB / 0.7397 GB, free: 67.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/0.9531, allocations: 1.54 MB / 0.7412 GB, free: 66.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000283/0.9534, allocations: 42.03 kB / 0.7412 GB, free: 65.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.9534, allocations: 68.48 kB / 0.7413 GB, free: 65.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 4.799e-06/0.9534, allocations: 0 / 0.7413 GB, free: 65.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.0341/0.9875, allocations: 12.31 MB / 0.7533 GB, free: 53.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.9877, allocations: 243.6 kB / 0.7535 GB, free: 53.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00287/0.9905, allocations: 1.878 MB / 0.7554 GB, free: 51.38 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006852/0.9912, allocations: 65.7 kB / 0.7554 GB, free: 51.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006367/0.9919, allocations: 1.223 MB / 0.7566 GB, free: 50.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009344/0.9928, allocations: 0.8431 MB / 0.7574 GB, free: 49.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.993, allocations: 44 kB / 0.7575 GB, free: 49.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.9931, allocations: 394.7 kB / 0.7579 GB, free: 48.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.9951, allocations: 1.243 MB / 0.7591 GB, free: 47.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.9972, allocations: 1.559 MB / 0.7606 GB, free: 45.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.9994, allocations: 1.468 MB / 0.762 GB, free: 44.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.9995, allocations: 0 / 0.762 GB, free: 44.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03425/1.034, allocations: 12.54 MB / 0.7743 GB, free: 31.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000562/1.034, allocations: 2.873 MB / 0.7771 GB, free: 28.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/1.034, allocations: 8 kB / 0.7771 GB, free: 28.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01475/1.049, allocations: 5.177 MB / 0.7822 GB, free: 23.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/1.051, allocations: 371.5 kB / 0.7825 GB, free: 23.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03565/1.087, allocations: 18.88 MB / 0.8009 GB, free: 3.898 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003854/1.091, allocations: 0.5249 MB / 0.8015 GB, free: 3.371 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/1.091, allocations: 83.97 kB / 0.8015 GB, free: 3.289 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.091, allocations: 4 kB / 0.8015 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03587/1.127, allocations: 12.26 MB / 0.8135 GB, free: 6.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/1.127, allocations: 8 kB / 0.8135 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01651/1.143, allocations: 5.173 MB / 0.8186 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/1.145, allocations: 355.5 kB / 0.8189 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04182/1.187, allocations: 18.87 MB / 0.8373 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004237/1.192, allocations: 0.5018 MB / 0.8378 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003632/1.192, allocations: 75.98 kB / 0.8379 GB, free: 13.68 MB / 0.5261 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 205 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007496/1.193, allocations: 298.8 kB / 0.8382 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007354/1.193, allocations: 296.3 kB / 0.8385 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0381/1.232, allocations: 12.67 MB / 0.8508 GB, free: 364 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.854e-05/1.232, allocations: 28 kB / 0.8509 GB, free: 336 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.596e-05/1.232, allocations: 19.94 kB / 0.8509 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.541e-05/1.232, allocations: 11.95 kB / 0.8509 GB, free: 304 kB / 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 postOpt removeSimpleEquations (simulation): time 0.04595/1.278, allocations: 16.44 MB / 0.867 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.278, allocations: 0 / 0.867 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/1.28, allocations: 283.6 kB / 0.8672 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01526/1.295, allocations: 4.81 MB / 0.8719 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006242/1.296, allocations: 55.98 kB / 0.872 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03519/1.331, allocations: 15.37 MB / 0.887 GB, free: 11.03 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.331, allocations: 4 kB / 0.887 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3364/1.667, allocations: 14.62 MB / 0.9013 GB, free: 165.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.668, allocations: 414.2 kB / 0.9017 GB, free: 165.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005488/1.669, allocations: 51.11 kB / 0.9017 GB, free: 165.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/1.672, allocations: 392.9 kB / 0.9021 GB, free: 165.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002038/1.674, allocations: 0.5513 MB / 0.9026 GB, free: 165.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/1.674, allocations: 62.16 kB / 0.9027 GB, free: 165.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002386/1.677, allocations: 1.438 MB / 0.9041 GB, free: 165 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.677, allocations: 0 / 0.9041 GB, free: 165 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005633/1.682, allocations: 1.8 MB / 0.9059 GB, free: 165 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 2 * 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: 1 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03847/1.721, allocations: 15.39 MB / 0.9209 GB, free: 163.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02438/1.745, allocations: 10.33 MB / 0.931 GB, free: 162.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.745, allocations: 0.9375 kB / 0.931 GB, free: 162.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01068/1.756, allocations: 4.069 MB / 0.9349 GB, free: 160.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/1.758, allocations: 240.5 kB / 0.9352 GB, free: 160.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009596/1.768, allocations: 4.856 MB / 0.9399 GB, free: 158.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/1.769, allocations: 1.904 MB / 0.9418 GB, free: 157.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00179/1.771, allocations: 460.1 kB / 0.9422 GB, free: 157.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/1.772, allocations: 1.187 MB / 0.9434 GB, free: 156.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.132e-06/1.772, allocations: 0 / 0.9434 GB, free: 156.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/1.906, allocations: 101.2 MB / 1.042 GB, free: 67.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/1.906, allocations: 190.5 kB / 1.042 GB, free: 67.67 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.356/7.262, allocations: 3.375 kB / 1.042 GB, free: 67.67 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)