Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.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.PSATSystems.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI",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.001309/0.001309, 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 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008549/0.0008548, allocations: 79.78 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07797/0.07797, allocations: 12.19 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2818/0.2818, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.538e-05, allocations: 4 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1333, allocations: 69.25 MB / 0.5889 GB, free: 2.949 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4349/0.5683, allocations: 101.4 MB / 0.6879 GB, free: 15.03 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.5685, allocations: 75.45 kB / 0.688 GB, free: 14.99 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1743/0.7428, allocations: 64.85 MB / 0.7513 GB, free: 8.285 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7429, allocations: 4 kB / 0.7513 GB, free: 8.281 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003471/0.7432, allocations: 55.94 kB / 0.7514 GB, free: 8.227 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: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.01388/0.7571, allocations: 3.994 MB / 0.7553 GB, free: 4.465 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.7572, allocations: 19.97 kB / 0.7553 GB, free: 4.445 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001189/0.7584, allocations: 297.1 kB / 0.7556 GB, free: 4.258 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.7687, allocations: 1.596 MB / 0.7571 GB, free: 2.656 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004807/0.7736, allocations: 1.65 MB / 0.7588 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008133/0.7744, allocations: 0.6944 MB / 0.7594 GB, free: 148 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000959/0.7754, allocations: 208 kB / 0.7596 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007166/0.7826, allocations: 2.557 MB / 0.7621 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.226e-05/0.7827, allocations: 4 kB / 0.7621 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004954/0.7832, allocations: 83.98 kB / 0.7622 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.172e-05/0.7832, allocations: 48 kB / 0.7623 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005085/0.7883, allocations: 2.32 MB / 0.7645 GB, free: 10.83 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.02139/0.8097, allocations: 10 MB / 0.7743 GB, free: 388 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009867/0.8196, allocations: 4.017 MB / 0.7782 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/0.8224, allocations: 1.526 MB / 0.7797 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/0.8227, allocations: 45.95 kB / 0.7798 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.8228, allocations: 56.56 kB / 0.7798 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=242): time 4.95e-06/0.8228, allocations: 0 / 0.7798 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=242): time 0.0382/0.861, allocations: 12.29 MB / 0.7918 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.8612, allocations: 243.6 kB / 0.792 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/0.865, allocations: 1.83 MB / 0.7938 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006759/0.8657, allocations: 65.7 kB / 0.7939 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.8667, allocations: 1.204 MB / 0.7951 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/0.8681, allocations: 0.8315 MB / 0.7959 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004651/0.8686, allocations: 48 kB / 0.7959 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.8688, allocations: 390.6 kB / 0.7963 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/0.8714, allocations: 1.219 MB / 0.7975 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/0.8742, allocations: 1.531 MB / 0.799 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/0.8769, allocations: 1.461 MB / 0.8004 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.8769, allocations: 7.953 kB / 0.8004 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03899/0.9159, allocations: 12.42 MB / 0.8126 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001232/0.9172, allocations: 2.876 MB / 0.8154 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.9173, allocations: 4 kB / 0.8154 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01678/0.9341, allocations: 5.094 MB / 0.8203 GB, free: 460 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.9362, allocations: 371.5 kB / 0.8207 GB, free: 88 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04257/0.9788, allocations: 17.49 MB / 0.8378 GB, free: 14.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004196/0.9831, allocations: 0.5173 MB / 0.8383 GB, free: 13.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006903/0.9838, allocations: 87.97 kB / 0.8384 GB, free: 13.84 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9838, allocations: 7.281 kB / 0.8384 GB, free: 13.84 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03872/1.023, allocations: 12.16 MB / 0.8502 GB, free: 1.594 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.702e-05/1.023, allocations: 8 kB / 0.8503 GB, free: 1.586 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01702/1.04, allocations: 5.098 MB / 0.8552 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/1.042, allocations: 359.5 kB / 0.8556 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3234/1.365, allocations: 17.48 MB / 0.8726 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004049/1.369, allocations: 0.4955 MB / 0.8731 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003879/1.37, allocations: 83.66 kB / 0.8732 GB, free: 153.7 MB / 0.5886 GB Warning: Assuming fixed start value for the following 7 variables: order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(start = order4_1.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 (208): * Single equations (assignments): 203 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006578/1.37, allocations: 300 kB / 0.8735 GB, free: 153.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000703/1.371, allocations: 296.5 kB / 0.8738 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03781/1.409, allocations: 12.62 MB / 0.8861 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/1.409, allocations: 24.12 kB / 0.8861 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.741e-05/1.409, allocations: 22.8 kB / 0.8861 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.186e-05/1.409, allocations: 13.38 kB / 0.8862 GB, free: 153.2 MB / 0.5886 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.04016/1.449, allocations: 16.34 MB / 0.9021 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-05/1.449, allocations: 5.453 kB / 0.9021 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/1.451, allocations: 279.2 kB / 0.9024 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01376/1.465, allocations: 4.827 MB / 0.9071 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006838/1.466, allocations: 50.08 kB / 0.9071 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03268/1.498, allocations: 15.36 MB / 0.9221 GB, free: 148.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.498, allocations: 0 / 0.9221 GB, free: 148.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04077/1.539, allocations: 14.55 MB / 0.9364 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/1.54, allocations: 411.4 kB / 0.9367 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005132/1.541, allocations: 50.62 kB / 0.9368 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002899/1.544, allocations: 400.6 kB / 0.9372 GB, free: 144.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001788/1.545, allocations: 0.5457 MB / 0.9377 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.546, allocations: 66.25 kB / 0.9378 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001738/1.547, allocations: 1.404 MB / 0.9391 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.91e-07/1.547, allocations: 0 / 0.9391 GB, free: 143.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004029/1.551, allocations: 1.764 MB / 0.9409 GB, free: 142.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (163): * Single equations (assignments): 160 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04052/1.592, allocations: 15.33 MB / 0.9558 GB, free: 129.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02534/1.617, allocations: 10.01 MB / 0.9656 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.617, allocations: 0 / 0.9656 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/1.628, allocations: 4.06 MB / 0.9696 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/1.63, allocations: 230.6 kB / 0.9698 GB, free: 116.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008912/1.639, allocations: 4.656 MB / 0.9743 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/1.641, allocations: 1.901 MB / 0.9762 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001784/1.642, allocations: 452.5 kB / 0.9766 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/1.644, allocations: 1.156 MB / 0.9778 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.563e-06/1.644, allocations: 4 kB / 0.9778 GB, free: 109.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/1.768, allocations: 99.72 MB / 1.075 GB, free: 17.66 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001208/1.768, allocations: 188.9 kB / 1.075 GB, free: 17.44 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.477/7.245, allocations: 0 / 1.075 GB, free: 17.44 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)