Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.849/1.849, allocations: 205.3 MB / 213.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008222/0.0008222, allocations: 82.7 kB / 261.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07827/0.07827, allocations: 12.2 MB / 321.5 MB, free: 15.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5741/0.5741, allocations: 78.05 MB / 450.3 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.108e-05, allocations: 2.812 kB / 0.5142 GB, free: 42.35 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1757, allocations: 69.25 MB / 0.5819 GB, free: 1.309 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.3143, allocations: 103.2 MB / 0.6827 GB, free: 9.934 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.3146, allocations: 83.95 kB / 0.6828 GB, free: 9.852 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5505/0.8651, allocations: 95.68 MB / 0.7762 GB, free: 35.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.8652, allocations: 4 kB / 0.7762 GB, free: 35.19 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003026/0.8655, allocations: 88 kB / 0.7763 GB, free: 35.11 MB / 474.7 MB 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.01712/0.8826, allocations: 5.79 MB / 0.7819 GB, free: 29.24 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.8827, allocations: 12.03 kB / 0.7819 GB, free: 29.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/0.8994, allocations: 2.772 MB / 0.7846 GB, free: 26.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006361/0.9058, allocations: 2.294 MB / 0.7869 GB, free: 24.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009368/0.9068, allocations: 0.8423 MB / 0.7877 GB, free: 23.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00163/0.9084, allocations: 203.9 kB / 0.7879 GB, free: 22.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00843/0.9169, allocations: 3.451 MB / 0.7913 GB, free: 19.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009062/0.926, allocations: 3.606 MB / 0.7948 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.456e-05/0.9261, allocations: 3.984 kB / 0.7948 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005231/0.9266, allocations: 0 / 0.7948 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.396e-05/0.9267, allocations: 84 kB / 0.7949 GB, free: 15.73 MB / 474.7 MB 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.04045/0.9671, allocations: 18.2 MB / 0.8127 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/0.9805, allocations: 4.667 MB / 0.8172 GB, free: 7.598 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004924/0.9855, allocations: 2.136 MB / 0.8193 GB, free: 5.453 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006552/0.9862, allocations: 74.86 kB / 0.8194 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.551e-05/0.9863, allocations: 69.56 kB / 0.8194 GB, free: 5.301 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 7.013e-06/0.9863, allocations: 0 / 0.8194 GB, free: 5.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.05567/1.042, allocations: 17.19 MB / 0.8362 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.042, allocations: 175.5 kB / 0.8364 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00528/1.047, allocations: 2.476 MB / 0.8388 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00137/1.049, allocations: 25.7 kB / 0.8388 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001788/1.051, allocations: 2.014 MB / 0.8408 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002762/1.053, allocations: 1.251 MB / 0.842 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003188/1.054, allocations: 0 / 0.842 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003163/1.054, allocations: 445.6 kB / 0.8424 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/1.057, allocations: 1.765 MB / 0.8442 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/1.061, allocations: 2.33 MB / 0.8464 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004407/1.066, allocations: 1.964 MB / 0.8484 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.366e-05/1.066, allocations: 4 kB / 0.8484 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05582/1.121, allocations: 17.35 MB / 0.8653 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002986/1.124, allocations: 6.678 MB / 0.8718 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.751e-05/1.125, allocations: 19.94 kB / 0.8719 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02466/1.149, allocations: 6.919 MB / 0.8786 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/1.153, allocations: 0.5344 MB / 0.8791 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5951/1.748, allocations: 26.38 MB / 0.9049 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00831/1.756, allocations: 0.6187 MB / 0.9055 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/1.758, allocations: 130.9 kB / 0.9056 GB, free: 111 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/1.758, allocations: 6.875 kB / 0.9056 GB, free: 111 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05783/1.816, allocations: 16.86 MB / 0.9221 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/1.816, allocations: 15.14 kB / 0.9221 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0239/1.84, allocations: 6.924 MB / 0.9289 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/1.844, allocations: 0.5264 MB / 0.9294 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06699/1.911, allocations: 26.36 MB / 0.9551 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008661/1.92, allocations: 0.5957 MB / 0.9557 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001749/1.922, allocations: 138 kB / 0.9558 GB, free: 106.9 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.001816/1.924, allocations: 195.8 kB / 0.956 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05176/1.975, allocations: 17.19 MB / 0.9728 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003532/1.979, allocations: 457.6 kB / 0.9732 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05324/2.032, allocations: 17.65 MB / 0.9905 GB, free: 89.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-05/2.032, allocations: 36 kB / 0.9905 GB, free: 89.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.726e-05/2.033, allocations: 31.84 kB / 0.9905 GB, free: 89.54 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002402/2.033, allocations: 19.81 kB / 0.9906 GB, free: 89.53 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.06415/2.097, allocations: 22.59 MB / 1.013 GB, free: 72.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.823e-05/2.097, allocations: 3.828 kB / 1.013 GB, free: 72.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/2.1, allocations: 409.1 kB / 1.013 GB, free: 72.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02274/2.123, allocations: 6.877 MB / 1.02 GB, free: 66.83 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001714/2.125, allocations: 23.78 kB / 1.02 GB, free: 66.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05254/2.177, allocations: 22.31 MB / 1.042 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/2.177, allocations: 0 / 1.042 GB, free: 47.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05647/2.234, allocations: 20.52 MB / 1.062 GB, free: 30.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002648/2.237, allocations: 0.5581 MB / 1.062 GB, free: 29.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003297/2.24, allocations: 7.281 kB / 1.062 GB, free: 29.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008018/2.248, allocations: 427.1 kB / 1.063 GB, free: 29.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005089/2.253, allocations: 0.7683 MB / 1.063 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001633/2.255, allocations: 94.86 kB / 1.063 GB, free: 28.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005192/2.26, allocations: 1.837 MB / 1.065 GB, free: 27.27 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.152e-06/2.26, allocations: 0 / 1.065 GB, free: 27.27 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01852/2.279, allocations: 2.634 MB / 1.068 GB, free: 24.77 MB / 0.5573 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.05863/2.337, allocations: 21.2 MB / 1.088 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04876/2.386, allocations: 14.29 MB / 1.102 GB, free: 5.48 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/2.386, allocations: 0 / 1.102 GB, free: 5.48 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02121/2.408, allocations: 5.843 MB / 1.108 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005175/2.413, allocations: 251.8 kB / 1.108 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0268/2.44, allocations: 6.615 MB / 1.115 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003121/2.443, allocations: 2.61 MB / 1.117 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.004343/2.447, allocations: 0.6119 MB / 1.118 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002914/2.45, allocations: 1.917 MB / 1.12 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of SimCode: time 1.343e-06/2.45, allocations: 0 / 1.12 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6828/3.133, allocations: 140 MB / 1.257 GB, free: 69.24 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/3.133, allocations: 137.4 kB / 1.257 GB, free: 69.05 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.974/12.11, allocations: 0 / 1.257 GB, free: 69.05 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)