Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.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.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.001212/0.001212, allocations: 174.7 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.172/1.172, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008661/0.0008661, allocations: 93.81 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4243/0.4243, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.326e-05, allocations: 4 kB / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2859, allocations: 69.5 MB / 0.5492 GB, free: 19.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4035, allocations: 100.8 MB / 0.6477 GB, free: 14.78 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.4038, allocations: 87.94 kB / 0.6477 GB, free: 14.69 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.428/0.8318, allocations: 68.29 MB / 0.7144 GB, free: 94.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.8318, allocations: 0 / 0.7144 GB, free: 94.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001346/0.8319, allocations: 59.94 kB / 0.7145 GB, free: 94.04 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.009959/0.8419, allocations: 4.035 MB / 0.7184 GB, free: 89.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.842, allocations: 11.97 kB / 0.7184 GB, free: 89.91 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004527/0.8424, allocations: 303.1 kB / 0.7187 GB, free: 89.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008861/0.8513, allocations: 1.603 MB / 0.7203 GB, free: 87.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003283/0.8546, allocations: 1.651 MB / 0.7219 GB, free: 86.28 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005197/0.8551, allocations: 0.6944 MB / 0.7226 GB, free: 85.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006249/0.8558, allocations: 211.9 kB / 0.7228 GB, free: 85.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004172/0.86, allocations: 2.565 MB / 0.7253 GB, free: 82.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.334e-05/0.8601, allocations: 4 kB / 0.7253 GB, free: 82.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000231/0.8603, allocations: 84 kB / 0.7254 GB, free: 82.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.8603, allocations: 52 kB / 0.7254 GB, free: 82.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003595/0.8639, allocations: 2.332 MB / 0.7277 GB, free: 80.14 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.01528/0.8792, allocations: 10.07 MB / 0.7375 GB, free: 69.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00818/0.8874, allocations: 4.033 MB / 0.7415 GB, free: 65.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/0.8894, allocations: 1.536 MB / 0.743 GB, free: 63.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/0.8896, allocations: 53.95 kB / 0.743 GB, free: 63.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.8897, allocations: 60.5 kB / 0.7431 GB, free: 63.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.178e-06/0.8897, allocations: 0 / 0.7431 GB, free: 63.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.03273/0.9224, allocations: 12.3 MB / 0.7551 GB, free: 51.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.9225, allocations: 235.6 kB / 0.7553 GB, free: 51.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/0.9249, allocations: 1.87 MB / 0.7572 GB, free: 49.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004434/0.9254, allocations: 65.7 kB / 0.7572 GB, free: 49.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005843/0.926, allocations: 1.219 MB / 0.7584 GB, free: 47.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006509/0.9266, allocations: 0.8469 MB / 0.7592 GB, free: 47.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.9268, allocations: 44 kB / 0.7593 GB, free: 47.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.9269, allocations: 394.6 kB / 0.7596 GB, free: 46.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/0.9287, allocations: 1.227 MB / 0.7608 GB, free: 45.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.9306, allocations: 1.543 MB / 0.7624 GB, free: 43.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.9325, allocations: 1.465 MB / 0.7638 GB, free: 42.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.9325, allocations: 4 kB / 0.7638 GB, free: 42.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.02964/0.9622, allocations: 11.65 MB / 0.7752 GB, free: 30.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000505/0.9627, allocations: 2.879 MB / 0.778 GB, free: 27.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.9627, allocations: 4 kB / 0.778 GB, free: 27.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01392/0.9767, allocations: 4.792 MB / 0.7827 GB, free: 22.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003561/0.9803, allocations: 0.6866 MB / 0.7833 GB, free: 21.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0321/1.012, allocations: 16.64 MB / 0.7996 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003655/1.016, allocations: 0.5289 MB / 0.8001 GB, free: 4.625 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/1.016, allocations: 91.91 kB / 0.8002 GB, free: 4.535 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/1.016, allocations: 4 kB / 0.8002 GB, free: 4.531 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03196/1.048, allocations: 11.37 MB / 0.8113 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.21e-05/1.048, allocations: 7.984 kB / 0.8113 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01615/1.065, allocations: 4.796 MB / 0.816 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004121/1.069, allocations: 0.6788 MB / 0.8167 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04112/1.11, allocations: 16.64 MB / 0.8329 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004945/1.115, allocations: 0.5018 MB / 0.8334 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007051/1.116, allocations: 83.97 kB / 0.8335 GB, free: 2.188 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis 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 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0009653/1.117, allocations: 299.3 kB / 0.8338 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/1.118, allocations: 300.2 kB / 0.834 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03736/1.155, allocations: 12.64 MB / 0.8464 GB, free: 4.883 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/1.155, allocations: 24 kB / 0.8464 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.47e-05/1.155, allocations: 20 kB / 0.8464 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.309e-05/1.155, allocations: 11.95 kB / 0.8464 GB, free: 4.828 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 postOpt removeSimpleEquations (simulation): time 0.04366/1.199, allocations: 16.4 MB / 0.8625 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.017e-05/1.199, allocations: 4 kB / 0.8625 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/1.201, allocations: 279.6 kB / 0.8627 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01515/1.216, allocations: 4.794 MB / 0.8674 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005837/1.217, allocations: 51.98 kB / 0.8675 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03447/1.251, allocations: 15.39 MB / 0.8825 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.251, allocations: 0 / 0.8825 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04061/1.292, allocations: 14.6 MB / 0.8967 GB, free: 0.9258 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.293, allocations: 416.9 kB / 0.8971 GB, free: 0.4961 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005083/1.293, allocations: 47.98 kB / 0.8972 GB, free: 460 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/1.296, allocations: 395.7 kB / 0.8976 GB, free: 64 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2777/1.574, allocations: 0.5493 MB / 0.8981 GB, free: 170.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003331/1.575, allocations: 59.62 kB / 0.8982 GB, free: 170.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002241/1.577, allocations: 1.434 MB / 0.8996 GB, free: 170 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.577, allocations: 0 / 0.8996 GB, free: 170 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004732/1.582, allocations: 1.742 MB / 0.9013 GB, free: 170 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (164): * Single equations (assignments): 161 * 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 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03843/1.62, allocations: 15.36 MB / 0.9163 GB, free: 168.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02307/1.643, allocations: 9.994 MB / 0.926 GB, free: 167.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.643, allocations: 0 / 0.926 GB, free: 167.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01004/1.653, allocations: 4.054 MB / 0.93 GB, free: 167.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/1.655, allocations: 235.4 kB / 0.9302 GB, free: 167 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008517/1.663, allocations: 4.743 MB / 0.9348 GB, free: 165.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.665, allocations: 1.899 MB / 0.9367 GB, free: 163.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0017/1.666, allocations: 452.5 kB / 0.9371 GB, free: 163.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/1.667, allocations: 1.181 MB / 0.9383 GB, free: 162.2 MB / 0.573 GB Notification: Performance of SimCode: time 9.72e-07/1.667, allocations: 4 kB / 0.9383 GB, free: 162.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/1.777, allocations: 97.97 MB / 1.034 GB, free: 75.93 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/1.778, allocations: 190 kB / 1.034 GB, free: 75.71 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.066/6.843, allocations: 4 kB / 1.034 GB, free: 75.7 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)