Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",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.001537/0.001537, allocations: 173.6 kB / 12.73 MB, free: 2.586 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.333/1.333, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009156/0.0009156, allocations: 92.05 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5033/0.5033, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.087e-05, allocations: 7.984 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3487, allocations: 69.34 MB / 0.5481 GB, free: 20.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.4709, allocations: 98.59 MB / 0.6444 GB, free: 1.926 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4712, allocations: 79.94 kB / 0.6444 GB, free: 1.848 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4229/0.8941, allocations: 60.83 MB / 0.7039 GB, free: 100.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.8941, allocations: 0 / 0.7039 GB, free: 100.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001645/0.8943, allocations: 52.34 kB / 0.7039 GB, free: 100.1 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01139/0.9057, allocations: 3.738 MB / 0.7076 GB, free: 98.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.9058, allocations: 14.44 kB / 0.7076 GB, free: 98.64 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008958/0.9067, allocations: 281.4 kB / 0.7078 GB, free: 98.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009774/0.9165, allocations: 1.573 MB / 0.7094 GB, free: 97.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003796/0.9203, allocations: 1.475 MB / 0.7108 GB, free: 96.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005664/0.9209, allocations: 0.6783 MB / 0.7115 GB, free: 96.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005918/0.9215, allocations: 195.3 kB / 0.7117 GB, free: 96.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/0.9253, allocations: 2.412 MB / 0.714 GB, free: 94.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.9253, allocations: 0 / 0.714 GB, free: 94.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/0.9255, allocations: 79.94 kB / 0.7141 GB, free: 94.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.9256, allocations: 52 kB / 0.7141 GB, free: 94.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.9288, allocations: 2.171 MB / 0.7163 GB, free: 91.94 MB / 490.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.0145/0.9434, allocations: 9.604 MB / 0.7256 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008362/0.9517, allocations: 4.052 MB / 0.7296 GB, free: 77.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.9537, allocations: 1.432 MB / 0.731 GB, free: 76.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/0.954, allocations: 43.61 kB / 0.731 GB, free: 76.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.954, allocations: 56.56 kB / 0.7311 GB, free: 76.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 3.617e-06/0.954, allocations: 0 / 0.7311 GB, free: 76.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.03383/0.9879, allocations: 12.06 MB / 0.7429 GB, free: 64.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.988, allocations: 128.8 kB / 0.743 GB, free: 64.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.99, allocations: 1.62 MB / 0.7446 GB, free: 62.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004829/0.9905, allocations: 65.7 kB / 0.7446 GB, free: 62.37 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005512/0.9911, allocations: 1.132 MB / 0.7457 GB, free: 61.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006145/0.9917, allocations: 0.7864 MB / 0.7465 GB, free: 60.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.9919, allocations: 43.94 kB / 0.7466 GB, free: 60.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.288e-05/0.992, allocations: 382.2 kB / 0.7469 GB, free: 60.03 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.9937, allocations: 1.157 MB / 0.748 GB, free: 58.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.9955, allocations: 1.455 MB / 0.7495 GB, free: 57.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.9974, allocations: 1.269 MB / 0.7507 GB, free: 56.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.9974, allocations: 4 kB / 0.7507 GB, free: 56.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=276) (initialization): time 0.0333/1.031, allocations: 12.21 MB / 0.7626 GB, free: 43.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004135/1.031, allocations: 2.728 MB / 0.7653 GB, free: 40.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.031, allocations: 8 kB / 0.7653 GB, free: 40.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01546/1.047, allocations: 5.231 MB / 0.7704 GB, free: 35.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/1.048, allocations: 327.5 kB / 0.7707 GB, free: 35.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03521/1.083, allocations: 17.89 MB / 0.7882 GB, free: 17.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.087, allocations: 493.8 kB / 0.7887 GB, free: 16.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000498/1.088, allocations: 75.98 kB / 0.7887 GB, free: 16.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.088, allocations: 4 kB / 0.7887 GB, free: 16.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03419/1.122, allocations: 11.96 MB / 0.8004 GB, free: 4.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.06e-05/1.122, allocations: 4 kB / 0.8004 GB, free: 4.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01572/1.138, allocations: 5.228 MB / 0.8055 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/1.139, allocations: 311.5 kB / 0.8058 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04008/1.179, allocations: 17.87 MB / 0.8233 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/1.183, allocations: 473.9 kB / 0.8237 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003488/1.184, allocations: 79.97 kB / 0.8238 GB, free: 12.64 MB / 0.5105 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006066/1.184, allocations: 226.1 kB / 0.824 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006333/1.185, allocations: 276.6 kB / 0.8243 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03743/1.222, allocations: 12.38 MB / 0.8364 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/1.222, allocations: 20 kB / 0.8364 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.517e-05/1.222, allocations: 23.56 kB / 0.8364 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.028e-05/1.222, allocations: 11.95 kB / 0.8364 GB, free: 15.67 MB / 0.5261 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.04342/1.266, allocations: 15.88 MB / 0.8519 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.266, allocations: 4.125 kB / 0.8519 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.267, allocations: 247.7 kB / 0.8522 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01547/1.283, allocations: 4.834 MB / 0.8569 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007927/1.284, allocations: 43.98 kB / 0.8569 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03558/1.319, allocations: 15.35 MB / 0.8719 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.319, allocations: 4 kB / 0.8719 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04095/1.36, allocations: 14.29 MB / 0.8859 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009864/1.361, allocations: 377.3 kB / 0.8863 GB, free: 12.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004699/1.362, allocations: 43.95 kB / 0.8863 GB, free: 12.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002694/1.365, allocations: 367.7 kB / 0.8866 GB, free: 11.91 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001864/1.366, allocations: 0.5408 MB / 0.8872 GB, free: 11.37 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/1.367, allocations: 55.98 kB / 0.8872 GB, free: 11.31 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001763/1.368, allocations: 1.242 MB / 0.8884 GB, free: 10.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.368, allocations: 0 / 0.8884 GB, free: 10.05 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004188/1.373, allocations: 1.685 MB / 0.8901 GB, free: 8.367 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3214/1.694, allocations: 15.16 MB / 0.9049 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02553/1.72, allocations: 9.373 MB / 0.914 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.72, allocations: 0 / 0.914 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01075/1.73, allocations: 3.894 MB / 0.9178 GB, free: 175.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/1.732, allocations: 191.5 kB / 0.918 GB, free: 175.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007974/1.74, allocations: 4.393 MB / 0.9223 GB, free: 174.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009984/1.741, allocations: 1.789 MB / 0.9241 GB, free: 173.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001476/1.743, allocations: 354.8 kB / 0.9244 GB, free: 173.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.744, allocations: 1.052 MB / 0.9254 GB, free: 173.5 MB / 0.573 GB Notification: Performance of SimCode: time 7.22e-07/1.744, allocations: 0 / 0.9254 GB, free: 173.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1169/1.861, allocations: 96 MB / 1.019 GB, free: 93.54 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/1.861, allocations: 190.7 kB / 1.019 GB, free: 93.32 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.471/7.332, allocations: 2.672 kB / 1.019 GB, free: 93.32 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)