Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_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.007844/0.007844, allocations: 170.5 kB / 15.11 MB, free: 5.973 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.428/1.428, allocations: 223.2 MB / 239 MB, free: 80 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.0009475/0.0009475, allocations: 104.1 kB / 290.2 MB, free: 4.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4653/0.4653, allocations: 78.58 MB / 419.9 MB, free: 36.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004819, allocations: 8 kB / 499.9 MB, free: 7.199 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 69.36 MB / 0.5559 GB, free: 1.777 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.5219, allocations: 102.4 MB / 0.6559 GB, free: 15.79 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.5222, allocations: 82.52 kB / 0.656 GB, free: 15.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.253/0.7752, allocations: 100.4 MB / 0.754 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.736e-06/0.7752, allocations: 0 / 0.754 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002519/0.7755, allocations: 91.94 kB / 0.7541 GB, free: 11.36 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.02022/0.7957, allocations: 6.629 MB / 0.7606 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.7958, allocations: 12.03 kB / 0.7606 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001544/0.7973, allocations: 484.8 kB / 0.761 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01808/0.8154, allocations: 2.807 MB / 0.7638 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00568/0.8211, allocations: 2.341 MB / 0.7661 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008734/0.822, allocations: 0.9595 MB / 0.767 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007988/0.8228, allocations: 347.9 kB / 0.7673 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009772/0.8326, allocations: 4.962 MB / 0.7722 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.026e-05/0.8327, allocations: 0 / 0.7722 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004127/0.8331, allocations: 140 kB / 0.7723 GB, free: 8.344 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.8332, allocations: 88 kB / 0.7724 GB, free: 8.258 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009276/0.8425, allocations: 4.521 MB / 0.7768 GB, free: 3.73 MB / 0.5573 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.3263/1.169, allocations: 18.73 MB / 0.7951 GB, free: 94.04 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/1.183, allocations: 5.689 MB / 0.8006 GB, free: 93.59 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008036/1.184, allocations: 67.12 kB / 0.8007 GB, free: 93.59 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/1.184, allocations: 73.06 kB / 0.8008 GB, free: 93.55 MB / 0.573 GB Notification: Performance of pre-optimization done (n=382): time 5.63e-06/1.184, allocations: 0 / 0.8008 GB, free: 93.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=382): time 0.3034/1.487, allocations: 78.99 MB / 0.8779 GB, free: 89.98 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/1.487, allocations: 175.7 kB / 0.8781 GB, free: 89.81 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004817/1.492, allocations: 2.748 MB / 0.8808 GB, free: 89.55 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/1.493, allocations: 86.3 kB / 0.8808 GB, free: 89.52 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/1.495, allocations: 2.006 MB / 0.8828 GB, free: 89.13 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001924/1.497, allocations: 1.291 MB / 0.8841 GB, free: 88.46 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/1.497, allocations: 72.41 kB / 0.8841 GB, free: 88.46 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.497, allocations: 448.5 kB / 0.8846 GB, free: 88.15 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005528/1.503, allocations: 2.671 MB / 0.8872 GB, free: 88.1 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005581/1.508, allocations: 3.253 MB / 0.8904 GB, free: 87.48 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006002/1.514, allocations: 2.925 MB / 0.8932 GB, free: 87.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-05/1.514, allocations: 9.953 kB / 0.8932 GB, free: 87.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05524/1.57, allocations: 20.2 MB / 0.9129 GB, free: 81.56 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001216/1.571, allocations: 6.691 MB / 0.9195 GB, free: 74.48 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/1.571, allocations: 16 kB / 0.9195 GB, free: 74.47 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0283/1.599, allocations: 8.575 MB / 0.9279 GB, free: 68.86 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/1.602, allocations: 0.5414 MB / 0.9284 GB, free: 68.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08322/1.685, allocations: 38.25 MB / 0.9658 GB, free: 33.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005517/1.691, allocations: 0.6942 MB / 0.9664 GB, free: 32.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004476/1.691, allocations: 132 kB / 0.9666 GB, free: 32.78 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.691, allocations: 4.938 kB / 0.9666 GB, free: 32.78 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05252/1.744, allocations: 19.77 MB / 0.9859 GB, free: 13.16 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.727e-05/1.744, allocations: 13.25 kB / 0.9859 GB, free: 13.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02567/1.77, allocations: 8.586 MB / 0.9943 GB, free: 4.559 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/1.772, allocations: 0.5227 MB / 0.9948 GB, free: 4.035 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3666/2.139, allocations: 38.22 MB / 1.032 GB, free: 93.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006531/2.146, allocations: 0.6728 MB / 1.033 GB, free: 93.22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/2.147, allocations: 132.6 kB / 1.033 GB, free: 93.22 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked 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.002974/2.15, allocations: 0.7243 MB / 1.034 GB, free: 93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001688/2.151, allocations: 462.2 kB / 1.034 GB, free: 92.82 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05808/2.21, allocations: 20.47 MB / 1.054 GB, free: 92.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.744e-05/2.21, allocations: 38.5 kB / 1.054 GB, free: 92.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-05/2.21, allocations: 27.25 kB / 1.054 GB, free: 92.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/2.21, allocations: 24.08 kB / 1.054 GB, free: 92.5 MB / 0.5886 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.06935/2.279, allocations: 25.77 MB / 1.079 GB, free: 91.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/2.279, allocations: 0 / 1.079 GB, free: 91.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/2.282, allocations: 405.7 kB / 1.08 GB, free: 91.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02466/2.306, allocations: 8.517 MB / 1.088 GB, free: 91.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009571/2.307, allocations: 79.61 kB / 1.088 GB, free: 91.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0714/2.379, allocations: 32.26 MB / 1.12 GB, free: 83.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.379, allocations: 0 / 1.12 GB, free: 83.56 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06185/2.441, allocations: 24.14 MB / 1.143 GB, free: 73.52 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001488/2.442, allocations: 0.5759 MB / 1.144 GB, free: 73.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/2.443, allocations: 61.31 kB / 1.144 GB, free: 72.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004134/2.447, allocations: 495 kB / 1.144 GB, free: 72.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002734/2.45, allocations: 0.765 MB / 1.145 GB, free: 72.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003233/2.451, allocations: 91.75 kB / 1.145 GB, free: 72.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002715/2.453, allocations: 2.104 MB / 1.147 GB, free: 70.31 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.1e-07/2.453, allocations: 4 kB / 1.147 GB, free: 70.31 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007023/2.46, allocations: 2.892 MB / 1.15 GB, free: 67.54 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 () * Number of clocked 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.06025/2.521, allocations: 24.89 MB / 1.174 GB, free: 47.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04234/2.563, allocations: 17.24 MB / 1.191 GB, free: 32.51 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/2.563, allocations: 0 / 1.191 GB, free: 32.51 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01804/2.581, allocations: 6.916 MB / 1.198 GB, free: 26.61 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/2.584, allocations: 312 kB / 1.198 GB, free: 26.32 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/2.604, allocations: 21.4 MB / 1.219 GB, free: 5.426 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/2.605, allocations: 2.598 MB / 1.222 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002026/2.607, allocations: 362.9 kB / 1.222 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/2.609, allocations: 1.941 MB / 1.224 GB, free: 1.465 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/2.609, allocations: 3.938 kB / 1.224 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.474/3.083, allocations: 140.8 MB / 1.361 GB, free: 94.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001281/3.084, allocations: 222.3 kB / 1.362 GB, free: 94.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/10.45, allocations: 0 / 1.362 GB, free: 94.29 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)