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.00118/0.001181, allocations: 173.9 kB / 7.648 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.465/1.465, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.000846/0.0008459, allocations: 102.2 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.4567/0.4567, allocations: 78.13 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.114e-05, allocations: 11.94 kB / 485.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1512, allocations: 69.36 MB / 0.5414 GB, free: 6.863 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/0.5995, allocations: 101.7 MB / 0.6407 GB, free: 13.91 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.5998, allocations: 75.97 kB / 0.6408 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2523/0.8521, allocations: 98.76 MB / 0.7372 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8521, allocations: 0 / 0.7372 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002978/0.8525, allocations: 95.94 kB / 0.7373 GB, free: 10.6 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.01909/0.8716, allocations: 5.779 MB / 0.743 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.8716, allocations: 12.02 kB / 0.743 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01862/0.8902, allocations: 2.772 MB / 0.7457 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007717/0.898, allocations: 2.298 MB / 0.7479 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/0.8991, allocations: 0.8346 MB / 0.7488 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001556/0.9007, allocations: 204 kB / 0.749 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01012/0.9108, allocations: 3.447 MB / 0.7523 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.9213, allocations: 3.614 MB / 0.7559 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.152e-05/0.9214, allocations: 0 / 0.7559 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003518/0.9217, allocations: 0 / 0.7559 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-05/0.9218, allocations: 84 kB / 0.7559 GB, free: 7.238 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.4145/1.336, allocations: 18.2 MB / 0.7737 GB, free: 85.94 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/1.348, allocations: 4.681 MB / 0.7783 GB, free: 85.5 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006115/1.354, allocations: 2.127 MB / 0.7804 GB, free: 85.48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006528/1.355, allocations: 66.28 kB / 0.7804 GB, free: 85.47 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/1.355, allocations: 79.94 kB / 0.7805 GB, free: 85.43 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 6.473e-06/1.355, allocations: 0 / 0.7805 GB, free: 85.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.05577/1.41, allocations: 17.19 MB / 0.7973 GB, free: 84.87 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.411, allocations: 173.5 kB / 0.7974 GB, free: 84.71 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00598/1.417, allocations: 2.474 MB / 0.7999 GB, free: 84.43 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001437/1.418, allocations: 27.08 kB / 0.7999 GB, free: 84.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00204/1.42, allocations: 2.012 MB / 0.8018 GB, free: 83.97 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002303/1.422, allocations: 1.26 MB / 0.8031 GB, free: 83.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/1.423, allocations: 0 / 0.8031 GB, free: 83.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000261/1.423, allocations: 438.3 kB / 0.8035 GB, free: 83 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003197/1.426, allocations: 1.769 MB / 0.8052 GB, free: 82.99 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003691/1.43, allocations: 2.326 MB / 0.8075 GB, free: 82.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/1.434, allocations: 1.966 MB / 0.8094 GB, free: 82.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.167e-05/1.434, allocations: 4.719 kB / 0.8094 GB, free: 82.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.0525/1.486, allocations: 17.35 MB / 0.8264 GB, free: 81.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002272/1.488, allocations: 6.689 MB / 0.8329 GB, free: 74.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.295e-05/1.489, allocations: 14.28 kB / 0.8329 GB, free: 74.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02295/1.511, allocations: 6.918 MB / 0.8397 GB, free: 73.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/1.515, allocations: 0.5429 MB / 0.8402 GB, free: 73.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05779/1.572, allocations: 26.37 MB / 0.8659 GB, free: 63.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006576/1.579, allocations: 0.6165 MB / 0.8666 GB, free: 63.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/1.58, allocations: 128.3 kB / 0.8667 GB, free: 63.53 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/1.58, allocations: 5.438 kB / 0.8667 GB, free: 63.53 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04807/1.628, allocations: 16.87 MB / 0.8832 GB, free: 59.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/1.629, allocations: 12 kB / 0.8832 GB, free: 59.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02324/1.652, allocations: 6.927 MB / 0.8899 GB, free: 53.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/1.655, allocations: 0.5276 MB / 0.8904 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05828/1.713, allocations: 26.36 MB / 0.9162 GB, free: 30.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007035/1.72, allocations: 0.5912 MB / 0.9168 GB, free: 29.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.721, allocations: 128.5 kB / 0.9169 GB, free: 29.43 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.001082/1.723, allocations: 205 kB / 0.9171 GB, free: 29.25 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04854/1.771, allocations: 17.19 MB / 0.9339 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003145/1.774, allocations: 462.2 kB / 0.9343 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0595/1.834, allocations: 17.64 MB / 0.9515 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/1.834, allocations: 36 kB / 0.9516 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.509e-05/1.834, allocations: 33.62 kB / 0.9516 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001148/1.834, allocations: 19.17 kB / 0.9516 GB, free: 1.605 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.06352/1.898, allocations: 22.6 MB / 0.9737 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/1.898, allocations: 1.688 kB / 0.9737 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/1.901, allocations: 407.5 kB / 0.9741 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02385/1.924, allocations: 6.877 MB / 0.9808 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/1.925, allocations: 19.98 kB / 0.9808 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4251/2.351, allocations: 22.3 MB / 1.003 GB, free: 114 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/2.351, allocations: 6.672 kB / 1.003 GB, free: 114 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06133/2.412, allocations: 20.52 MB / 1.023 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002048/2.414, allocations: 0.5584 MB / 1.023 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001889/2.416, allocations: 8.219 kB / 1.023 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005656/2.422, allocations: 430.5 kB / 1.024 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003709/2.425, allocations: 0.7643 MB / 1.024 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006927/2.426, allocations: 92.92 kB / 1.024 GB, free: 113 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003873/2.43, allocations: 1.837 MB / 1.026 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.31e-07/2.43, allocations: 0 / 1.026 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01374/2.444, allocations: 2.635 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.0595/2.503, allocations: 21.2 MB / 1.05 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03992/2.543, 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.815e-06/2.543, allocations: 0.75 kB / 1.063 GB, free: 109.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01759/2.561, allocations: 5.845 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.003972/2.565, allocations: 254.8 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.01672/2.582, allocations: 6.607 MB / 1.076 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002013/2.584, allocations: 2.605 MB / 1.078 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003018/2.587, allocations: 0.6098 MB / 1.079 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001958/2.589, allocations: 1.922 MB / 1.081 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of SimCode: time 1.232e-06/2.589, allocations: 0 / 1.081 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5471/3.136, allocations: 140 MB / 1.218 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/3.136, allocations: 145.7 kB / 1.218 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/11.17, allocations: 0.6562 kB / 1.218 GB, free: 106.6 MB / 0.5886 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)