Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_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.001355/0.001355, allocations: 175.2 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.308/1.308, allocations: 221.4 MB / 234.6 MB, free: 14.43 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.0007755/0.0007756, allocations: 88.75 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.4383/0.4383, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.614e-05, allocations: 4 kB / 491.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3283, allocations: 69.33 MB / 0.5481 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.4469, allocations: 100.2 MB / 0.646 GB, free: 308 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4471, allocations: 75.95 kB / 0.6461 GB, free: 232 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4461/0.8932, allocations: 67.45 MB / 0.7119 GB, free: 96.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8933, allocations: 0 / 0.7119 GB, free: 96.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001801/0.8935, allocations: 59.56 kB / 0.712 GB, free: 96.63 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.0116/0.9051, allocations: 4.026 MB / 0.7159 GB, free: 92.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.9051, allocations: 11.97 kB / 0.7159 GB, free: 92.95 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005833/0.9057, allocations: 295.1 kB / 0.7162 GB, free: 92.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009117/0.9149, allocations: 1.615 MB / 0.7178 GB, free: 91.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.918, allocations: 1.647 MB / 0.7194 GB, free: 89.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004778/0.9184, allocations: 0.6906 MB / 0.7201 GB, free: 88.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003808/0.9188, allocations: 211.9 kB / 0.7203 GB, free: 88.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00404/0.9229, allocations: 2.569 MB / 0.7228 GB, free: 85.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/0.9229, allocations: 0 / 0.7228 GB, free: 85.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/0.9232, allocations: 87.98 kB / 0.7229 GB, free: 85.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.9232, allocations: 52 kB / 0.7229 GB, free: 85.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003572/0.9268, allocations: 2.328 MB / 0.7252 GB, free: 83.18 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.01558/0.9424, allocations: 10.08 MB / 0.735 GB, free: 72.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008286/0.9507, allocations: 4.033 MB / 0.739 GB, free: 68.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002415/0.9532, allocations: 1.538 MB / 0.7405 GB, free: 66.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.9535, allocations: 46.03 kB / 0.7405 GB, free: 66.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.9535, allocations: 60.5 kB / 0.7406 GB, free: 66.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.118e-06/0.9535, allocations: 0 / 0.7406 GB, free: 66.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.03586/0.9894, allocations: 12.29 MB / 0.7526 GB, free: 54.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.9895, allocations: 239.6 kB / 0.7528 GB, free: 54.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/0.9922, allocations: 1.87 MB / 0.7546 GB, free: 52.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006381/0.9929, allocations: 65.7 kB / 0.7547 GB, free: 52.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006399/0.9935, allocations: 1.219 MB / 0.7559 GB, free: 51.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008719/0.9944, allocations: 0.8432 MB / 0.7567 GB, free: 50.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.9946, allocations: 51.88 kB / 0.7568 GB, free: 50.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.9947, allocations: 390.6 kB / 0.7571 GB, free: 49.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.9967, allocations: 1.227 MB / 0.7583 GB, free: 48.51 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.9988, allocations: 1.547 MB / 0.7598 GB, free: 46.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/1.001, allocations: 1.461 MB / 0.7613 GB, free: 45.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/1.001, allocations: 0 / 0.7613 GB, free: 45.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03186/1.033, allocations: 11.65 MB / 0.7726 GB, free: 33.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004961/1.033, allocations: 2.881 MB / 0.7755 GB, free: 30.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/1.033, allocations: 4 kB / 0.7755 GB, free: 30.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01455/1.048, allocations: 4.784 MB / 0.7801 GB, free: 25.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0036/1.051, allocations: 0.6906 MB / 0.7808 GB, free: 25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03447/1.086, allocations: 16.64 MB / 0.7971 GB, free: 8.203 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/1.09, allocations: 0.5289 MB / 0.7976 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/1.09, allocations: 83.98 kB / 0.7977 GB, free: 7.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.09, allocations: 8 kB / 0.7977 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0329/1.123, allocations: 11.39 MB / 0.8088 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/1.123, allocations: 4 kB / 0.8088 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01573/1.139, allocations: 4.796 MB / 0.8135 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/1.143, allocations: 0.6749 MB / 0.8141 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03782/1.181, allocations: 16.64 MB / 0.8304 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/1.185, allocations: 0.5057 MB / 0.8309 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003723/1.186, allocations: 83.98 kB / 0.831 GB, free: 5.234 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.0007299/1.186, allocations: 298.9 kB / 0.8312 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007684/1.187, allocations: 304.2 kB / 0.8315 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03748/1.225, allocations: 12.64 MB / 0.8439 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.319e-05/1.225, allocations: 27.98 kB / 0.8439 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.299e-05/1.225, allocations: 20 kB / 0.8439 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-05/1.225, allocations: 11.95 kB / 0.8439 GB, free: 7.875 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.04353/1.268, allocations: 16.39 MB / 0.8599 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/1.268, allocations: 4 kB / 0.8599 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/1.27, allocations: 283.5 kB / 0.8602 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01552/1.286, allocations: 4.794 MB / 0.8649 GB, free: 2.246 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006942/1.287, allocations: 55.98 kB / 0.865 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03522/1.322, allocations: 15.39 MB / 0.88 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.322, allocations: 0 / 0.88 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04306/1.365, allocations: 14.59 MB / 0.8942 GB, free: 3.984 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.366, allocations: 424.8 kB / 0.8946 GB, free: 3.547 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006268/1.367, allocations: 44 kB / 0.8947 GB, free: 3.504 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0032/1.37, allocations: 391.7 kB / 0.895 GB, free: 3.121 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001984/1.372, allocations: 0.5603 MB / 0.8956 GB, free: 2.562 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002187/1.372, allocations: 67.98 kB / 0.8957 GB, free: 2.496 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002041/1.374, allocations: 1.429 MB / 0.8971 GB, free: 1.059 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.8e-07/1.374, allocations: 0 / 0.8971 GB, free: 1.059 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.3242/1.698, allocations: 1.735 MB / 0.8988 GB, free: 176.8 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.04214/1.741, allocations: 15.36 MB / 0.9138 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02502/1.766, allocations: 9.981 MB / 0.9235 GB, free: 174.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.766, allocations: 0 / 0.9235 GB, free: 174.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0113/1.777, allocations: 4.058 MB / 0.9275 GB, free: 173.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/1.779, allocations: 235.1 kB / 0.9277 GB, free: 173.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008689/1.787, allocations: 4.749 MB / 0.9323 GB, free: 171.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/1.789, allocations: 1.897 MB / 0.9342 GB, free: 170.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001943/1.791, allocations: 459.7 kB / 0.9346 GB, free: 170 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/1.792, allocations: 1.185 MB / 0.9358 GB, free: 168.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.202e-06/1.792, allocations: 0 / 0.9358 GB, free: 168.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1248/1.917, allocations: 97.99 MB / 1.031 GB, free: 80.44 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.917, allocations: 188.4 kB / 1.032 GB, free: 80.22 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.431/7.348, allocations: 0 / 1.032 GB, free: 80.22 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)