Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_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.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.0009925/0.0009925, allocations: 169 kB / 7.646 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 229.6 MB, free: 7.547 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008177/0.0008177, allocations: 87.5 kB / 280.5 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5331/0.5331, allocations: 78.12 MB / 409.4 MB, free: 6.438 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.381e-05/1.383e-05, allocations: 0 / 485.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1324, allocations: 69.35 MB / 0.5414 GB, free: 6.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.5205, allocations: 99.16 MB / 0.6383 GB, free: 456 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.5208, allocations: 81.39 kB / 0.6383 GB, free: 376 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1729/0.6937, allocations: 65.78 MB / 0.7026 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6938, allocations: 8.594 kB / 0.7026 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001522/0.6939, allocations: 55.94 kB / 0.7026 GB, free: 14.4 MB / 0.5105 GB 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.01118/0.7051, allocations: 3.995 MB / 0.7065 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.7052, allocations: 8.031 kB / 0.7065 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009683/0.7148, allocations: 1.604 MB / 0.7081 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.7181, allocations: 1.631 MB / 0.7097 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005846/0.7187, allocations: 0.6203 MB / 0.7103 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003441/0.7191, allocations: 128.8 kB / 0.7104 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00409/0.7232, allocations: 2.215 MB / 0.7126 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/0.7272, allocations: 2.275 MB / 0.7148 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.7273, allocations: 4 kB / 0.7148 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/0.7275, allocations: 0 / 0.7148 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.7275, allocations: 52 kB / 0.7149 GB, free: 1.535 MB / 0.5105 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.01752/0.7451, allocations: 9.662 MB / 0.7243 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008975/0.7541, allocations: 3.943 MB / 0.7282 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.7566, allocations: 1.46 MB / 0.7296 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000298/0.7569, allocations: 46.59 kB / 0.7296 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.7569, allocations: 64.52 kB / 0.7297 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=242): time 4.138e-06/0.757, allocations: 0 / 0.7297 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of matching and sorting (n=242): time 0.03673/0.7937, allocations: 12.06 MB / 0.7415 GB, free: 5.699 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.7938, allocations: 231.6 kB / 0.7417 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.7964, allocations: 1.688 MB / 0.7433 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004831/0.7969, allocations: 26.55 kB / 0.7434 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008273/0.7977, allocations: 1.207 MB / 0.7445 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008278/0.7985, allocations: 0.8004 MB / 0.7453 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.7987, allocations: 8 kB / 0.7453 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.7989, allocations: 386.6 kB / 0.7457 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.8008, allocations: 1.18 MB / 0.7469 GB, free: 96 kB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/0.8028, allocations: 1.472 MB / 0.7483 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.8048, allocations: 1.302 MB / 0.7496 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.8048, allocations: 4 kB / 0.7496 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=296) (initialization): time 0.03678/0.8416, allocations: 12.11 MB / 0.7614 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.3014/1.143, allocations: 2.86 MB / 0.7642 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.625e-05/1.143, allocations: 13.36 kB / 0.7642 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01606/1.159, allocations: 4.849 MB / 0.7689 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/1.161, allocations: 373.5 kB / 0.7693 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03722/1.199, allocations: 17.17 MB / 0.7861 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004358/1.203, allocations: 475.4 kB / 0.7865 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004022/1.204, allocations: 81.89 kB / 0.7866 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.204, allocations: 4.906 kB / 0.7866 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03761/1.241, allocations: 11.79 MB / 0.7981 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.938e-05/1.241, allocations: 7.719 kB / 0.7981 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01743/1.259, allocations: 4.854 MB / 0.8029 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/1.261, allocations: 363.5 kB / 0.8032 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03649/1.297, allocations: 17.16 MB / 0.82 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/1.302, allocations: 454 kB / 0.8204 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/1.302, allocations: 87.66 kB / 0.8205 GB, free: 104.6 MB / 0.5573 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.0007753/1.303, allocations: 213 kB / 0.8207 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03476/1.337, allocations: 12.07 MB / 0.8325 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/1.339, allocations: 293.8 kB / 0.8328 GB, free: 102 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03544/1.374, allocations: 12.34 MB / 0.8448 GB, free: 99.57 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/1.374, allocations: 24.75 kB / 0.8448 GB, free: 99.57 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/1.374, allocations: 24.81 kB / 0.8449 GB, free: 99.57 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.984e-05/1.374, allocations: 18 kB / 0.8449 GB, free: 99.57 MB / 0.5573 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.03926/1.413, allocations: 15.85 MB / 0.8603 GB, free: 93.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/1.414, allocations: 0 / 0.8603 GB, free: 93.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/1.415, allocations: 282.9 kB / 0.8606 GB, free: 93.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01356/1.429, allocations: 4.785 MB / 0.8653 GB, free: 89.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004432/1.429, allocations: 16.31 kB / 0.8653 GB, free: 89.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02967/1.459, allocations: 15.17 MB / 0.8801 GB, free: 76.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.459, allocations: 0 / 0.8801 GB, free: 76.22 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03695/1.496, allocations: 14.29 MB / 0.8941 GB, free: 64.55 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008862/1.497, allocations: 410.9 kB / 0.8945 GB, free: 64.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005457/1.497, allocations: 4 kB / 0.8945 GB, free: 64.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003033/1.5, allocations: 354.2 kB / 0.8948 GB, free: 63.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001744/1.502, allocations: 0.5558 MB / 0.8953 GB, free: 63.63 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/1.502, allocations: 60 kB / 0.8954 GB, free: 63.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001599/1.504, allocations: 1.262 MB / 0.8966 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.62e-07/1.504, allocations: 0.8438 kB / 0.8966 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00469/1.509, allocations: 1.601 MB / 0.8982 GB, free: 60.88 MB / 0.5573 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.03713/1.546, allocations: 15.02 MB / 0.9129 GB, free: 48.46 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02509/1.571, allocations: 9.711 MB / 0.9223 GB, free: 39.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.571, allocations: 0 / 0.9223 GB, free: 39.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01099/1.582, allocations: 3.973 MB / 0.9262 GB, free: 36.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.584, allocations: 188.8 kB / 0.9264 GB, free: 35.97 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007751/1.592, allocations: 4.455 MB / 0.9308 GB, free: 32.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.593, allocations: 1.901 MB / 0.9326 GB, free: 30.55 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001725/1.594, allocations: 444.8 kB / 0.933 GB, free: 30.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/1.595, allocations: 1.15 MB / 0.9342 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of SimCode: time 7.32e-07/1.595, allocations: 8.781 kB / 0.9342 GB, free: 29.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4367/2.032, allocations: 93.26 MB / 1.025 GB, free: 127.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001381/2.032, allocations: 153.8 kB / 1.025 GB, free: 127.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.307/7.34, allocations: 0 / 1.025 GB, free: 127.4 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRI.pipe 2>&1)