Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,fileNamePrefix="OpenIPSL_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.005944/0.005944, allocations: 169.3 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.348/1.348, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 102.3 kB / 290.2 MB, free: 4.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.472/0.472, allocations: 78.51 MB / 419.8 MB, free: 36.25 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004112, allocations: 12 kB / 499.8 MB, free: 7.008 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 69.35 MB / 0.5558 GB, free: 1.672 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5975, allocations: 98.67 MB / 0.6522 GB, free: 3.504 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.5978, allocations: 83.11 kB / 0.6522 GB, free: 3.461 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1545/0.7523, allocations: 61.04 MB / 0.7119 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.526e-06/0.7524, allocations: 7.984 kB / 0.7119 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001467/0.7525, allocations: 44 kB / 0.7119 GB, free: 6.676 MB / 0.4948 GB 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.01345/0.766, allocations: 4.225 MB / 0.716 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.766, allocations: 8.031 kB / 0.716 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009913/0.767, allocations: 288.1 kB / 0.7163 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.7774, allocations: 1.588 MB / 0.7179 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004003/0.7814, allocations: 1.475 MB / 0.7193 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000687/0.7822, allocations: 0.6825 MB / 0.72 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006644/0.7828, allocations: 199.9 kB / 0.7202 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00648/0.7893, allocations: 3.062 MB / 0.7231 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.7894, allocations: 7.938 kB / 0.7232 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00026/0.7897, allocations: 76 kB / 0.7232 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/0.7897, allocations: 47.95 kB / 0.7233 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00601/0.7957, allocations: 2.869 MB / 0.7261 GB, free: 7.895 MB / 0.5105 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.01931/0.8151, allocations: 9.595 MB / 0.7354 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/0.827, allocations: 4.782 MB / 0.7401 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004975/0.8275, allocations: 41.95 kB / 0.7402 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.8276, allocations: 56.56 kB / 0.7402 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 4.359e-06/0.8276, allocations: 0 / 0.7402 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of matching and sorting (n=228): time 0.105/0.9326, allocations: 28.57 MB / 0.7681 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/0.9328, allocations: 124.8 kB / 0.7682 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.9354, allocations: 1.645 MB / 0.7698 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006128/0.936, allocations: 61.7 kB / 0.7699 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008727/0.9369, allocations: 1.13 MB / 0.771 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.938, allocations: 0.7776 MB / 0.7718 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.9382, allocations: 44 kB / 0.7718 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.9384, allocations: 394.2 kB / 0.7722 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/0.9422, allocations: 1.792 MB / 0.7739 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004075/0.9463, allocations: 2.107 MB / 0.776 GB, free: 3.996 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004029/0.9504, allocations: 1.913 MB / 0.7778 GB, free: 2.082 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.9504, allocations: 8 kB / 0.7779 GB, free: 2.074 MB / 0.5573 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.04228/0.9927, allocations: 14.1 MB / 0.7916 GB, free: 3.945 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001236/0.994, allocations: 2.732 MB / 0.7943 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.994, allocations: 15.97 kB / 0.7943 GB, free: 0.9766 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.313/1.307, allocations: 6.431 MB / 0.8006 GB, free: 122.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/1.309, allocations: 321.4 kB / 0.8009 GB, free: 122.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06117/1.37, allocations: 26.46 MB / 0.8267 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003793/1.374, allocations: 489.2 kB / 0.8272 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003277/1.374, allocations: 78.17 kB / 0.8273 GB, free: 121.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/1.374, allocations: 4.281 kB / 0.8273 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03996/1.414, allocations: 13.79 MB / 0.8407 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-05/1.414, allocations: 6.594 kB / 0.8408 GB, free: 120.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02021/1.435, allocations: 6.439 MB / 0.847 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/1.436, allocations: 307.1 kB / 0.8473 GB, free: 120.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0593/1.496, allocations: 26.44 MB / 0.8732 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003787/1.5, allocations: 470.5 kB / 0.8736 GB, free: 112 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000566/1.5, allocations: 76.36 kB / 0.8737 GB, free: 112 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" 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 (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.001645/1.502, allocations: 496.4 kB / 0.8742 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008294/1.503, allocations: 275.3 kB / 0.8744 GB, free: 111.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03751/1.54, allocations: 14.28 MB / 0.8884 GB, free: 108.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/1.54, allocations: 23.78 kB / 0.8884 GB, free: 108.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/1.54, allocations: 21.28 kB / 0.8884 GB, free: 108.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.811e-05/1.54, allocations: 11.39 kB / 0.8884 GB, free: 108.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.04233/1.583, allocations: 17.76 MB / 0.9058 GB, free: 95.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.583, allocations: 5.125 kB / 0.9058 GB, free: 95.41 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.584, allocations: 247.4 kB / 0.906 GB, free: 95.21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01678/1.601, allocations: 6.048 MB / 0.9119 GB, free: 90.51 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006095/1.602, allocations: 47.47 kB / 0.9119 GB, free: 90.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04821/1.65, allocations: 22.67 MB / 0.9341 GB, free: 71.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.65, allocations: 0 / 0.9341 GB, free: 71.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04289/1.693, allocations: 16.8 MB / 0.9505 GB, free: 57.56 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.694, allocations: 378.3 kB / 0.9508 GB, free: 57.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007517/1.695, allocations: 44 kB / 0.9509 GB, free: 57.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002835/1.698, allocations: 360.5 kB / 0.9512 GB, free: 56.91 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001936/1.7, allocations: 0.5434 MB / 0.9518 GB, free: 56.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002147/1.7, allocations: 55.8 kB / 0.9518 GB, free: 56.56 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001619/1.702, allocations: 1.277 MB / 0.9531 GB, free: 55.47 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.702, allocations: 0 / 0.9531 GB, free: 55.47 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005636/1.707, allocations: 1.695 MB / 0.9547 GB, free: 53.84 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 () * Number of clocked 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.04254/1.75, allocations: 17.68 MB / 0.972 GB, free: 36.95 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02887/1.779, allocations: 11.31 MB / 0.983 GB, free: 25.64 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.779, allocations: 0 / 0.983 GB, free: 25.64 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01198/1.791, allocations: 4.599 MB / 0.9875 GB, free: 21.04 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/1.793, allocations: 188.4 kB / 0.9877 GB, free: 20.85 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/1.804, allocations: 11.48 MB / 0.9989 GB, free: 9.082 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.805, allocations: 1.782 MB / 1.001 GB, free: 7.266 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001112/1.807, allocations: 204.9 kB / 1.001 GB, free: 7.066 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.808, allocations: 1.066 MB / 1.002 GB, free: 6.008 MB / 0.573 GB Notification: Performance of SimCode: time 6.602e-06/1.808, allocations: 0 / 1.002 GB, free: 6.008 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4189/2.227, allocations: 91.24 MB / 1.091 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/2.227, allocations: 222 kB / 1.091 GB, free: 132.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.168/7.395, allocations: 0 / 1.091 GB, free: 132.6 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)