Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.006719/0.006719, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 98.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06172/0.06172, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4252/0.4252, allocations: 78.52 MB / 459.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005064, allocations: 21.89 kB / 0.528 GB, free: 35.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1209, allocations: 69.24 MB / 0.5956 GB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3659/0.4868, allocations: 101.9 MB / 0.6951 GB, free: 98.98 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.4871, allocations: 80.56 kB / 0.6952 GB, free: 98.98 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1534/0.6406, allocations: 65.84 MB / 0.7595 GB, free: 50.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.6406, allocations: 0 / 0.7595 GB, free: 50.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002552/0.6409, allocations: 63.88 kB / 0.7596 GB, free: 50.52 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01411/0.655, allocations: 4.649 MB / 0.7641 GB, free: 45.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.6551, allocations: 19.98 kB / 0.7641 GB, free: 45.76 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001194/0.6563, allocations: 299.1 kB / 0.7644 GB, free: 45.46 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00985/0.6661, allocations: 1.607 MB / 0.766 GB, free: 43.85 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004284/0.6704, allocations: 1.728 MB / 0.7677 GB, free: 42.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006304/0.6711, allocations: 0.6906 MB / 0.7683 GB, free: 41.26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000905/0.672, allocations: 211.9 kB / 0.7685 GB, free: 41.05 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006826/0.6789, allocations: 3.228 MB / 0.7717 GB, free: 37.74 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-05/0.6789, allocations: 7.984 kB / 0.7717 GB, free: 37.73 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.6792, allocations: 80 kB / 0.7718 GB, free: 37.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.6792, allocations: 52 kB / 0.7718 GB, free: 37.61 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005248/0.6845, allocations: 3.03 MB / 0.7748 GB, free: 34.56 MB / 474.7 MB 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.01719/0.7017, allocations: 10.06 MB / 0.7846 GB, free: 24.06 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009789/0.7115, allocations: 4.758 MB / 0.7892 GB, free: 19.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/0.7119, allocations: 46.03 kB / 0.7893 GB, free: 19.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.7119, allocations: 60.56 kB / 0.7893 GB, free: 19.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=243): time 6.432e-06/0.7119, allocations: 0 / 0.7893 GB, free: 19.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=243): time 0.1031/0.815, allocations: 30.53 MB / 0.8192 GB, free: 4.445 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.8152, allocations: 235.6 kB / 0.8194 GB, free: 4.164 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004092/0.8193, allocations: 1.945 MB / 0.8213 GB, free: 2.207 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007173/0.82, allocations: 65.7 kB / 0.8214 GB, free: 2.137 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.8211, allocations: 1.227 MB / 0.8225 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001273/0.8224, allocations: 0.8392 MB / 0.8234 GB, free: 48 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.8227, allocations: 48 kB / 0.8234 GB, free: 0 / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.823, allocations: 394.6 kB / 0.8238 GB, free: 15.61 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003956/0.8269, allocations: 1.879 MB / 0.8256 GB, free: 13.73 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004129/0.8311, allocations: 2.194 MB / 0.8278 GB, free: 11.43 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004074/0.8352, allocations: 2.106 MB / 0.8298 GB, free: 9.262 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.8352, allocations: 0 / 0.8298 GB, free: 9.262 MB / 0.4949 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03777/0.873, allocations: 13.54 MB / 0.843 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001065/0.8741, allocations: 2.87 MB / 0.8458 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-05/0.8741, allocations: 12 kB / 0.8459 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01761/0.8917, allocations: 5.954 MB / 0.8517 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003696/0.8955, allocations: 0.6905 MB / 0.8523 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05684/0.9524, allocations: 24.55 MB / 0.8763 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004258/0.9567, allocations: 0.5251 MB / 0.8768 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006123/0.9573, allocations: 91.92 kB / 0.8769 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.9573, allocations: 4 kB / 0.8769 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03723/0.9946, allocations: 13.21 MB / 0.8898 GB, free: 11.26 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.513e-05/0.9946, allocations: 8 kB / 0.8898 GB, free: 11.25 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01763/1.012, allocations: 5.958 MB / 0.8957 GB, free: 5.281 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003757/1.016, allocations: 0.6749 MB / 0.8963 GB, free: 4.605 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3131/1.329, allocations: 24.54 MB / 0.9203 GB, free: 146.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003972/1.333, allocations: 0.5095 MB / 0.9208 GB, free: 146.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/1.333, allocations: 83.52 kB / 0.9209 GB, free: 146.3 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.00134/1.335, allocations: 0.5933 MB / 0.9214 GB, free: 146 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005458/1.335, allocations: 292.9 kB / 0.9217 GB, free: 146 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03948/1.375, allocations: 14.54 MB / 0.9359 GB, free: 145.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/1.375, allocations: 25.25 kB / 0.9359 GB, free: 145.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.557e-05/1.375, allocations: 20.42 kB / 0.936 GB, free: 145.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.563e-05/1.375, allocations: 12.89 kB / 0.936 GB, free: 145.8 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.04438/1.42, allocations: 18.29 MB / 0.9538 GB, free: 144.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.74e-05/1.42, allocations: 0 / 0.9538 GB, free: 144.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/1.421, allocations: 278.3 kB / 0.9541 GB, free: 144.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01582/1.437, allocations: 6.006 MB / 0.96 GB, free: 144.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006453/1.438, allocations: 53.77 kB / 0.96 GB, free: 144.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04831/1.486, allocations: 22.69 MB / 0.9822 GB, free: 134.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.486, allocations: 7.047 kB / 0.9822 GB, free: 134.8 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04418/1.531, allocations: 17.13 MB / 0.9989 GB, free: 121 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.532, allocations: 415.1 kB / 0.9993 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/1.533, allocations: 51.95 kB / 0.9994 GB, free: 120.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003624/1.537, allocations: 392.5 kB / 0.9997 GB, free: 120.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002199/1.539, allocations: 0.5506 MB / 1 GB, free: 120 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005235/1.539, allocations: 70.48 kB / 1 GB, free: 120 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003012/1.542, allocations: 1.512 MB / 1.002 GB, free: 118.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 2e-07/1.543, allocations: 0 / 1.002 GB, free: 118.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007788/1.55, allocations: 1.746 MB / 1.004 GB, free: 117 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,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 (164): * Single equations (assignments): 161 * 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 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0438/1.594, allocations: 17.89 MB / 1.021 GB, free: 102.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0305/1.625, allocations: 11.94 MB / 1.033 GB, free: 92.14 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.625, allocations: 0 / 1.033 GB, free: 92.14 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01284/1.638, allocations: 4.755 MB / 1.037 GB, free: 87.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/1.641, allocations: 239.3 kB / 1.038 GB, free: 87.48 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/1.658, allocations: 12.07 MB / 1.049 GB, free: 75.15 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/1.659, allocations: 1.897 MB / 1.051 GB, free: 73.22 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001741/1.661, allocations: 279.5 kB / 1.051 GB, free: 72.96 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/1.663, allocations: 1.198 MB / 1.053 GB, free: 71.76 MB / 0.573 GB Notification: Performance of SimCode: time 1.052e-06/1.663, allocations: 0 / 1.053 GB, free: 71.76 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3936/2.056, allocations: 92.78 MB / 1.143 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/2.056, allocations: 224.3 kB / 1.143 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.155/7.212, allocations: 3.719 kB / 1.143 GB, free: 162.1 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)