Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_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 4.0.0+maint.om/package.mo): time 0.009982/0.009981, allocations: 171.1 kB / 15.11 MB, free: 5.969 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.551/1.551, allocations: 223.2 MB / 239 MB, free: 1.789 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.001024/0.001024, allocations: 107.2 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4788/0.4788, allocations: 78.58 MB / 419.9 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 12 kB / 499.9 MB, free: 2.836 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4838/0.4842, allocations: 69.35 MB / 0.5559 GB, free: 38.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.6144, allocations: 100.3 MB / 0.6538 GB, free: 6.191 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.6147, allocations: 79.95 kB / 0.6539 GB, free: 6.113 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2068/0.8215, allocations: 67.66 MB / 0.72 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.206e-06/0.8216, allocations: 0 / 0.72 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002646/0.8219, allocations: 55.94 kB / 0.72 GB, free: 2.023 MB / 0.5105 GB 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.02612/0.848, allocations: 4.652 MB / 0.7246 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.481e-05/0.8481, allocations: 8.031 kB / 0.7246 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001233/0.8493, allocations: 303.1 kB / 0.7249 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.8659, allocations: 1.615 MB / 0.7264 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005518/0.8715, allocations: 1.72 MB / 0.7281 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006819/0.8722, allocations: 0.6867 MB / 0.7288 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000569/0.8728, allocations: 207.9 kB / 0.729 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006914/0.8797, allocations: 3.232 MB / 0.7321 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.8797, allocations: 0 / 0.7321 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002595/0.88, allocations: 87.94 kB / 0.7322 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.601e-05/0.8801, allocations: 56 kB / 0.7323 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006324/0.8864, allocations: 3.018 MB / 0.7352 GB, free: 2.074 MB / 0.5261 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.0191/0.9055, allocations: 10.06 MB / 0.745 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.9173, allocations: 4.766 MB / 0.7497 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/0.9177, allocations: 45.97 kB / 0.7497 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.9177, allocations: 64.56 kB / 0.7498 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=243): time 4.469e-06/0.9178, allocations: 0 / 0.7498 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of matching and sorting (n=243): time 0.3933/1.311, allocations: 30.53 MB / 0.7796 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.311, allocations: 232.2 kB / 0.7798 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/1.315, allocations: 1.945 MB / 0.7817 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000705/1.316, allocations: 67.83 kB / 0.7818 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/1.317, allocations: 1.214 MB / 0.783 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001281/1.318, allocations: 0.8351 MB / 0.7838 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005465/1.319, allocations: 48 kB / 0.7839 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001893/1.319, allocations: 393.7 kB / 0.7842 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004122/1.323, allocations: 1.881 MB / 0.7861 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004167/1.327, allocations: 2.194 MB / 0.7882 GB, free: 118 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004148/1.332, allocations: 2.101 MB / 0.7903 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/1.332, allocations: 2.344 kB / 0.7903 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03887/1.37, allocations: 13.53 MB / 0.8035 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006067/1.371, allocations: 2.875 MB / 0.8063 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/1.371, allocations: 6.625 kB / 0.8063 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01964/1.391, allocations: 5.951 MB / 0.8121 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/1.394, allocations: 0.6876 MB / 0.8128 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05266/1.447, allocations: 24.57 MB / 0.8368 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004057/1.451, allocations: 0.5279 MB / 0.8373 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003646/1.452, allocations: 80.48 kB / 0.8374 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.452, allocations: 5.156 kB / 0.8374 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03664/1.488, allocations: 13.2 MB / 0.8503 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.633e-05/1.488, allocations: 9.938 kB / 0.8503 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01641/1.505, allocations: 5.957 MB / 0.8561 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00352/1.508, allocations: 0.6695 MB / 0.8567 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05097/1.559, allocations: 24.58 MB / 0.8807 GB, free: 80.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/1.563, allocations: 0.4976 MB / 0.8812 GB, free: 80.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002784/1.564, allocations: 85.7 kB / 0.8813 GB, free: 80.05 MB / 0.5573 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.001385/1.565, allocations: 0.5821 MB / 0.8819 GB, free: 79.49 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005879/1.566, allocations: 300.3 kB / 0.8822 GB, free: 79.19 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03714/1.603, allocations: 14.54 MB / 0.8964 GB, free: 67.95 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/1.603, allocations: 28 kB / 0.8964 GB, free: 67.93 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/1.603, allocations: 20 kB / 0.8964 GB, free: 67.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.755e-05/1.603, allocations: 11.11 kB / 0.8964 GB, free: 67.91 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 postOpt removeSimpleEquations (simulation): time 0.04324/1.646, allocations: 18.29 MB / 0.9143 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/1.646, allocations: 0 / 0.9143 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/1.648, allocations: 275.6 kB / 0.9145 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01671/1.665, allocations: 6.006 MB / 0.9204 GB, free: 46.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006358/1.666, allocations: 55.98 kB / 0.9204 GB, free: 46.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04768/1.713, allocations: 22.7 MB / 0.9426 GB, free: 23.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/1.713, allocations: 6.688 kB / 0.9426 GB, free: 23.41 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04371/1.757, allocations: 17.13 MB / 0.9593 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009473/1.758, allocations: 420.8 kB / 0.9597 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005055/1.759, allocations: 47.98 kB / 0.9598 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002951/1.762, allocations: 395.7 kB / 0.9602 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001803/1.763, allocations: 0.5488 MB / 0.9607 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/1.764, allocations: 63.95 kB / 0.9608 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002035/1.766, allocations: 1.511 MB / 0.9622 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.81e-07/1.766, allocations: 0 / 0.9622 GB, free: 3.223 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004367/1.77, allocations: 1.742 MB / 0.9639 GB, free: 1.484 MB / 0.5573 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.04825/1.818, allocations: 17.89 MB / 0.9814 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03304/1.851, allocations: 11.95 MB / 0.9931 GB, free: 3.43 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.851, allocations: 0 / 0.9931 GB, free: 3.43 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.3545/2.206, allocations: 4.744 MB / 0.9977 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004103/2.21, allocations: 237.6 kB / 0.9979 GB, free: 142.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/2.237, allocations: 12.06 MB / 1.01 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/2.239, allocations: 1.893 MB / 1.012 GB, free: 134 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002345/2.242, allocations: 278.2 kB / 1.012 GB, free: 134 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002164/2.244, allocations: 1.199 MB / 1.013 GB, free: 134 MB / 0.5886 GB Notification: Performance of SimCode: time 1.362e-06/2.244, allocations: 0 / 1.013 GB, free: 134 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2353/2.479, allocations: 92.75 MB / 1.104 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/2.479, allocations: 223.2 kB / 1.104 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.898/7.377, allocations: 0 / 1.104 GB, free: 112.3 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)