Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_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.007952/0.007952, allocations: 170.5 kB / 15.11 MB, free: 5.969 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.426/1.426, allocations: 223.2 MB / 239 MB, free: 48 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009759/0.0009758, allocations: 100 kB / 290.2 MB, free: 4.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4536/0.4536, allocations: 78.59 MB / 419.9 MB, free: 36.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 12 kB / 499.9 MB, free: 7.152 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 69.36 MB / 0.5559 GB, free: 1.723 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.5085, allocations: 99.15 MB / 0.6527 GB, free: 3.055 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.5088, allocations: 86.7 kB / 0.6528 GB, free: 3.008 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1685/0.6773, allocations: 66.7 MB / 0.7179 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.274e-06/0.6773, allocations: 0 / 0.7179 GB, free: 0.5859 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000176/0.6775, allocations: 59.94 kB / 0.718 GB, free: 0.5273 MB / 0.4948 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.01399/0.6915, allocations: 4.591 MB / 0.7225 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.6916, allocations: 12.03 kB / 0.7225 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001077/0.6926, allocations: 299 kB / 0.7228 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.703, allocations: 1.611 MB / 0.7243 GB, free: 9.914 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004716/0.7077, allocations: 1.689 MB / 0.726 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006831/0.7085, allocations: 0.6944 MB / 0.7267 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005819/0.7091, allocations: 199.9 kB / 0.7269 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006414/0.7155, allocations: 3.22 MB / 0.73 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.7155, allocations: 0 / 0.73 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/0.7158, allocations: 84 kB / 0.7301 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.7158, allocations: 48 kB / 0.7301 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006005/0.7218, allocations: 3.018 MB / 0.7331 GB, free: 0.6992 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01806/0.7399, allocations: 9.988 MB / 0.7428 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.751, allocations: 4.739 MB / 0.7475 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000355/0.7513, allocations: 51.94 kB / 0.7475 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.7514, allocations: 60.55 kB / 0.7476 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=241): time 5.711e-06/0.7514, allocations: 0 / 0.7476 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of matching and sorting (n=241): time 0.1082/0.8596, allocations: 30.12 MB / 0.777 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.8598, allocations: 247.5 kB / 0.7772 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/0.863, allocations: 1.9 MB / 0.7791 GB, free: 0.8828 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000535/0.8635, allocations: 65.7 kB / 0.7791 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008483/0.8644, allocations: 1.215 MB / 0.7803 GB, free: 15.59 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009332/0.8653, allocations: 0.8238 MB / 0.7811 GB, free: 14.75 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.8655, allocations: 48 kB / 0.7812 GB, free: 14.7 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.8657, allocations: 390.6 kB / 0.7815 GB, free: 14.32 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003789/0.8695, allocations: 1.863 MB / 0.7834 GB, free: 12.45 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00395/0.8735, allocations: 2.178 MB / 0.7855 GB, free: 10.16 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003897/0.8774, allocations: 2.091 MB / 0.7875 GB, free: 8.016 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.8774, allocations: 0 / 0.7875 GB, free: 8.016 MB / 0.573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.298/1.175, allocations: 14.32 MB / 0.8015 GB, free: 121.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005794/1.176, allocations: 2.867 MB / 0.8043 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.176, allocations: 8.406 kB / 0.8043 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01963/1.196, allocations: 6.319 MB / 0.8105 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/1.198, allocations: 370 kB / 0.8108 GB, free: 118.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06038/1.258, allocations: 26.06 MB / 0.8363 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004027/1.262, allocations: 0.5137 MB / 0.8368 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004014/1.263, allocations: 81.23 kB / 0.8369 GB, free: 116.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/1.263, allocations: 3.875 kB / 0.8369 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04085/1.304, allocations: 14 MB / 0.8505 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.224e-05/1.304, allocations: 9.422 kB / 0.8506 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01899/1.323, allocations: 6.319 MB / 0.8567 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/1.325, allocations: 356.8 kB / 0.8571 GB, free: 115.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05486/1.38, allocations: 26.06 MB / 0.8825 GB, free: 107.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/1.384, allocations: 498.5 kB / 0.883 GB, free: 107.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002841/1.384, allocations: 87.12 kB / 0.8831 GB, free: 107.7 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked 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.00148/1.386, allocations: 0.5722 MB / 0.8836 GB, free: 107.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006142/1.386, allocations: 302.3 kB / 0.8839 GB, free: 107.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03793/1.424, allocations: 14.51 MB / 0.8981 GB, free: 100.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-05/1.424, allocations: 24 kB / 0.8981 GB, free: 100.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/1.424, allocations: 16 kB / 0.8981 GB, free: 100.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.005e-05/1.424, allocations: 16.45 kB / 0.8981 GB, free: 100.4 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04357/1.468, allocations: 18.22 MB / 0.9159 GB, free: 86.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/1.468, allocations: 4.062 kB / 0.9159 GB, free: 86.49 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/1.47, allocations: 277.4 kB / 0.9162 GB, free: 86.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01649/1.486, allocations: 6.066 MB / 0.9221 GB, free: 81.55 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000619/1.487, allocations: 53.23 kB / 0.9222 GB, free: 81.51 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04665/1.534, allocations: 22.66 MB / 0.9443 GB, free: 62.16 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.534, allocations: 7.562 kB / 0.9443 GB, free: 62.16 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0416/1.575, allocations: 17.07 MB / 0.961 GB, free: 47 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009971/1.576, allocations: 403.7 kB / 0.9614 GB, free: 46.62 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004779/1.577, allocations: 47.98 kB / 0.9614 GB, free: 46.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002711/1.579, allocations: 401.5 kB / 0.9618 GB, free: 46.19 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001818/1.581, allocations: 0.5488 MB / 0.9623 GB, free: 45.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/1.582, allocations: 63.98 kB / 0.9624 GB, free: 45.57 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001973/1.583, allocations: 1.483 MB / 0.9639 GB, free: 44.09 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.583, allocations: 0 / 0.9639 GB, free: 44.09 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004555/1.588, allocations: 1.76 MB / 0.9656 GB, free: 42.4 MB / 0.573 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 () * Number of clocked 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.04255/1.631, allocations: 17.85 MB / 0.983 GB, free: 24.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02808/1.659, allocations: 11.91 MB / 0.9946 GB, free: 12.47 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.659, allocations: 0 / 0.9946 GB, free: 12.47 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01161/1.67, allocations: 4.778 MB / 0.9993 GB, free: 7.664 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/1.672, allocations: 236.6 kB / 0.9995 GB, free: 7.434 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/1.685, allocations: 11.88 MB / 1.011 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/1.687, allocations: 1.889 MB / 1.013 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001426/1.688, allocations: 272.5 kB / 1.013 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/1.69, allocations: 1.183 MB / 1.014 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/1.69, allocations: 4 kB / 1.014 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3982/2.088, allocations: 94.55 MB / 1.107 GB, free: 124.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/2.088, allocations: 227.2 kB / 1.107 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.451/7.539, allocations: 0 / 1.107 GB, free: 123.9 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)