Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.001796/0.001796, allocations: 172.5 kB / 7.646 MB, free: 1.422 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.304/1.304, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008305/0.0008305, allocations: 93.59 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4572/0.4572, allocations: 78.94 MB / 410.2 MB, free: 6.031 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.12e-05, allocations: 4 kB / 486 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 69.52 MB / 0.5425 GB, free: 5.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/0.5024, allocations: 99 MB / 0.6392 GB, free: 14.96 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.5027, allocations: 76.48 kB / 0.6393 GB, free: 14.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1727/0.6754, allocations: 66.51 MB / 0.7042 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6754, allocations: 0 / 0.7042 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002663/0.6757, allocations: 59.94 kB / 0.7043 GB, free: 12.2 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01299/0.6887, allocations: 3.991 MB / 0.7082 GB, free: 8.121 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.6888, allocations: 16.97 kB / 0.7082 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.6992, allocations: 1.592 MB / 0.7098 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004513/0.7037, allocations: 1.631 MB / 0.7114 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007818/0.7046, allocations: 0.6163 MB / 0.712 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008321/0.7054, allocations: 124 kB / 0.7121 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005067/0.7105, allocations: 2.214 MB / 0.7142 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005212/0.7157, allocations: 2.271 MB / 0.7165 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-05/0.7158, allocations: 4 kB / 0.7165 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/0.7161, allocations: 0 / 0.7165 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-05/0.7162, allocations: 48 kB / 0.7165 GB, free: 15.35 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 preOpt removeSimpleEquations (simulation): time 0.01902/0.7352, allocations: 9.657 MB / 0.7259 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00923/0.7445, allocations: 3.939 MB / 0.7298 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/0.7471, allocations: 1.46 MB / 0.7312 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/0.7476, allocations: 41.95 kB / 0.7313 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.7476, allocations: 68.5 kB / 0.7313 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=241): time 5.24e-06/0.7476, allocations: 0 / 0.7313 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=241): time 0.0393/0.787, allocations: 12.06 MB / 0.7431 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.7871, allocations: 235.6 kB / 0.7433 GB, free: 3.246 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003936/0.7911, allocations: 1.689 MB / 0.745 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000645/0.7917, allocations: 29.64 kB / 0.745 GB, free: 1.516 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.793, allocations: 1.196 MB / 0.7462 GB, free: 316 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/0.7944, allocations: 0.8083 MB / 0.747 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/0.7948, allocations: 0 / 0.747 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002441/0.795, allocations: 390.6 kB / 0.7473 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002375/0.7974, allocations: 1.176 MB / 0.7485 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.8, allocations: 1.476 MB / 0.7499 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.8024, allocations: 1.296 MB / 0.7512 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.8024, allocations: 4.562 kB / 0.7512 GB, free: 11.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.3388/1.141, allocations: 12.1 MB / 0.763 GB, free: 110.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004875/1.142, allocations: 2.87 MB / 0.7658 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.142, allocations: 5.25 kB / 0.7658 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01523/1.157, allocations: 4.856 MB / 0.7706 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/1.159, allocations: 375.4 kB / 0.7709 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03663/1.196, allocations: 17.19 MB / 0.7877 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004009/1.2, allocations: 472 kB / 0.7882 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004799/1.2, allocations: 90.48 kB / 0.7882 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.2, allocations: 4.156 kB / 0.7882 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03623/1.237, allocations: 11.78 MB / 0.7997 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.274e-05/1.237, allocations: 5.5 kB / 0.7998 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01595/1.253, allocations: 4.854 MB / 0.8045 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/1.255, allocations: 365.8 kB / 0.8048 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03659/1.292, allocations: 17.2 MB / 0.8216 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/1.295, allocations: 454.9 kB / 0.8221 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002968/1.296, allocations: 79.62 kB / 0.8221 GB, free: 101 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_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 (206): * Single equations (assignments): 201 * 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.0007393/1.296, allocations: 206.2 kB / 0.8223 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03412/1.331, allocations: 12.08 MB / 0.8341 GB, free: 98.57 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.332, allocations: 290.8 kB / 0.8344 GB, free: 98.42 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0338/1.366, allocations: 12.34 MB / 0.8465 GB, free: 96.01 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.221e-05/1.366, allocations: 24.97 kB / 0.8465 GB, free: 96.01 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.379e-05/1.366, allocations: 19.66 kB / 0.8465 GB, free: 96.01 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.401e-05/1.366, allocations: 21.02 kB / 0.8465 GB, free: 96 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.03951/1.405, allocations: 15.84 MB / 0.862 GB, free: 90.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.406, allocations: 2.531 kB / 0.862 GB, free: 90.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/1.407, allocations: 275.9 kB / 0.8623 GB, free: 90.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01378/1.421, allocations: 4.815 MB / 0.867 GB, free: 86.97 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006358/1.422, allocations: 22.52 kB / 0.867 GB, free: 86.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03006/1.452, allocations: 15.17 MB / 0.8818 GB, free: 73.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.452, allocations: 0 / 0.8818 GB, free: 73.49 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03742/1.489, allocations: 14.28 MB / 0.8957 GB, free: 61.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.49, allocations: 411.6 kB / 0.8961 GB, free: 61.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008071/1.491, allocations: 8 kB / 0.8961 GB, free: 61.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00324/1.495, allocations: 357.3 kB / 0.8965 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001753/1.496, allocations: 0.5404 MB / 0.897 GB, free: 60.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000189/1.496, allocations: 63.98 kB / 0.8971 GB, free: 60.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001611/1.498, allocations: 1.269 MB / 0.8983 GB, free: 59.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.498, allocations: 7.5 kB / 0.8983 GB, free: 59.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004701/1.503, allocations: 1.598 MB / 0.8999 GB, free: 58.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (162): * Single equations (assignments): 159 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03854/1.541, allocations: 15 MB / 0.9145 GB, free: 45.77 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02517/1.567, allocations: 9.711 MB / 0.924 GB, free: 36.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.567, allocations: 0 / 0.924 GB, free: 36.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0118/1.578, allocations: 3.972 MB / 0.9279 GB, free: 33.44 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/1.581, allocations: 191.2 kB / 0.9281 GB, free: 33.27 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009084/1.59, allocations: 4.387 MB / 0.9324 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/1.591, allocations: 1.895 MB / 0.9342 GB, free: 27.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001899/1.593, allocations: 445.5 kB / 0.9346 GB, free: 27.62 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.594, allocations: 1.165 MB / 0.9358 GB, free: 26.56 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/1.594, allocations: 0 / 0.9358 GB, free: 26.56 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4579/2.052, allocations: 93.27 MB / 1.027 GB, free: 127.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/2.052, allocations: 145.1 kB / 1.027 GB, free: 127.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.258/7.31, allocations: 0 / 1.027 GB, free: 127.1 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)