Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_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.00103/0.00103, allocations: 174.5 kB / 7.647 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.291/1.291, allocations: 221.5 MB / 229.6 MB, free: 7.539 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.0008294/0.0008293, allocations: 96.61 kB / 280.5 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4887/0.4887, allocations: 78.08 MB / 409.3 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.495e-05, allocations: 7.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1625, allocations: 69.36 MB / 0.5414 GB, free: 6.781 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.6502, allocations: 101.7 MB / 0.6407 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.6505, allocations: 75.95 kB / 0.6408 GB, free: 13.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2511/0.9016, allocations: 98.77 MB / 0.7372 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9016, allocations: 0 / 0.7372 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002108/0.9019, allocations: 87.94 kB / 0.7373 GB, free: 10.45 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01731/0.9192, allocations: 5.787 MB / 0.743 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.9192, allocations: 12.02 kB / 0.743 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01841/0.9376, allocations: 2.772 MB / 0.7457 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006657/0.9443, allocations: 2.298 MB / 0.7479 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/0.9454, allocations: 0.8346 MB / 0.7487 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009551/0.9464, allocations: 200 kB / 0.7489 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006873/0.9532, allocations: 3.451 MB / 0.7523 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00669/0.96, allocations: 3.606 MB / 0.7558 GB, free: 7.168 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-05/0.9601, allocations: 5.125 kB / 0.7558 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003305/0.9604, allocations: 0 / 0.7558 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.311e-05/0.9605, allocations: 84 kB / 0.7559 GB, free: 7.082 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 preOpt removeSimpleEquations (simulation): time 0.3678/1.328, allocations: 18.2 MB / 0.7737 GB, free: 86 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/1.339, allocations: 4.682 MB / 0.7782 GB, free: 85.56 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003713/1.343, allocations: 2.128 MB / 0.7803 GB, free: 85.53 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/1.343, allocations: 71.12 kB / 0.7804 GB, free: 85.53 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/1.343, allocations: 75.73 kB / 0.7805 GB, free: 85.48 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 7.174e-06/1.343, allocations: 0 / 0.7805 GB, free: 85.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.05218/1.396, allocations: 17.19 MB / 0.7972 GB, free: 84.92 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/1.396, allocations: 169.8 kB / 0.7974 GB, free: 84.76 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/1.4, allocations: 2.479 MB / 0.7998 GB, free: 84.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.401, allocations: 26.27 kB / 0.7999 GB, free: 84.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/1.403, allocations: 2.009 MB / 0.8018 GB, free: 84.03 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002303/1.405, allocations: 1.257 MB / 0.803 GB, free: 83.36 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/1.405, allocations: 3.188 kB / 0.803 GB, free: 83.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002406/1.406, allocations: 444.5 kB / 0.8035 GB, free: 83.05 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003117/1.409, allocations: 1.768 MB / 0.8052 GB, free: 83.04 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003281/1.412, allocations: 2.322 MB / 0.8075 GB, free: 82.48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/1.416, allocations: 1.969 MB / 0.8094 GB, free: 82.41 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/1.416, allocations: 3.219 kB / 0.8094 GB, free: 82.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05114/1.467, allocations: 17.35 MB / 0.8263 GB, free: 81.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001149/1.468, allocations: 6.684 MB / 0.8329 GB, free: 74.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-05/1.468, allocations: 14.19 kB / 0.8329 GB, free: 74.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02232/1.49, allocations: 6.927 MB / 0.8396 GB, free: 73.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/1.493, allocations: 0.5338 MB / 0.8402 GB, free: 73.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05443/1.548, allocations: 26.37 MB / 0.8659 GB, free: 63.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006284/1.554, allocations: 0.6223 MB / 0.8665 GB, free: 63.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/1.555, allocations: 129.1 kB / 0.8666 GB, free: 63.48 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/1.555, allocations: 3.312 kB / 0.8666 GB, free: 63.48 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04842/1.604, allocations: 16.87 MB / 0.8831 GB, free: 59.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.929e-05/1.604, allocations: 12.69 kB / 0.8831 GB, free: 59.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02158/1.625, allocations: 6.922 MB / 0.8899 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/1.628, allocations: 0.5294 MB / 0.8904 GB, free: 53.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05385/1.682, allocations: 26.36 MB / 0.9161 GB, free: 29.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006157/1.688, allocations: 0.5935 MB / 0.9167 GB, free: 29.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009724/1.689, allocations: 131.1 kB / 0.9169 GB, free: 29.21 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 321 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001857/1.691, allocations: 202 kB / 0.917 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04973/1.741, allocations: 17.19 MB / 0.9338 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002268/1.743, allocations: 462.2 kB / 0.9343 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04918/1.793, allocations: 17.64 MB / 0.9515 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.981e-05/1.793, allocations: 40 kB / 0.9515 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-05/1.793, allocations: 28 kB / 0.9516 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001143/1.793, allocations: 22.92 kB / 0.9516 GB, free: 1.395 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.06377/1.857, allocations: 22.65 MB / 0.9737 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/1.857, allocations: 4.031 kB / 0.9737 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002699/1.859, allocations: 407.4 kB / 0.9741 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02297/1.882, allocations: 6.878 MB / 0.9808 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001/1.883, allocations: 19.98 kB / 0.9808 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4012/2.285, allocations: 22.31 MB / 1.003 GB, free: 114 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/2.285, allocations: 0 / 1.003 GB, free: 114 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06179/2.347, allocations: 20.51 MB / 1.023 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/2.348, allocations: 0.5584 MB / 1.023 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001763/2.35, allocations: 4.109 kB / 1.023 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006001/2.356, allocations: 435.2 kB / 1.024 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003776/2.36, allocations: 0.7661 MB / 1.024 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008571/2.361, allocations: 94.52 kB / 1.024 GB, free: 113 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004349/2.365, allocations: 1.837 MB / 1.026 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.61e-07/2.365, allocations: 0 / 1.026 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01415/2.379, allocations: 2.639 MB / 1.029 GB, free: 112.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 1 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06105/2.44, allocations: 21.2 MB / 1.05 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03897/2.479, allocations: 14.29 MB / 1.063 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/2.479, allocations: 384 / 1.063 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01802/2.497, allocations: 5.85 MB / 1.069 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/2.502, allocations: 250.1 kB / 1.069 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/2.519, allocations: 6.608 MB / 1.076 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/2.521, allocations: 2.603 MB / 1.078 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002901/2.524, allocations: 0.6117 MB / 1.079 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/2.526, allocations: 1.918 MB / 1.081 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/2.526, allocations: 0.5625 kB / 1.081 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5124/3.038, allocations: 140 MB / 1.218 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/3.038, allocations: 137.7 kB / 1.218 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.345/11.38, allocations: 0 / 1.218 GB, free: 106.7 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)