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.005239/0.005239, allocations: 169 kB / 15.11 MB, free: 5.973 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.302/1.302, allocations: 223.2 MB / 239 MB, free: 1.797 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.0009388/0.0009388, allocations: 99.48 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5261/0.5261, allocations: 78.59 MB / 419.9 MB, free: 44.24 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003768, allocations: 8 kB / 499.9 MB, free: 2.844 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3453, allocations: 69.35 MB / 0.5559 GB, free: 39.07 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1142/0.4596, allocations: 98.66 MB / 0.6522 GB, free: 7.824 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.4599, allocations: 84.8 kB / 0.6523 GB, free: 7.742 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2202/0.6802, allocations: 61.04 MB / 0.7119 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.168e-06/0.6802, allocations: 0 / 0.7119 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002766/0.6805, allocations: 51.94 kB / 0.712 GB, free: 10.3 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01447/0.695, allocations: 4.228 MB / 0.7161 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.6951, allocations: 8.031 kB / 0.7161 GB, free: 6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001099/0.6962, allocations: 286.3 kB / 0.7164 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.707, allocations: 1.584 MB / 0.7179 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004747/0.7118, allocations: 1.479 MB / 0.7194 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008561/0.7127, allocations: 0.6825 MB / 0.72 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009853/0.7137, allocations: 199.9 kB / 0.7202 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009022/0.7227, allocations: 3.066 MB / 0.7232 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.926e-05/0.7228, allocations: 0 / 0.7232 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005154/0.7234, allocations: 80 kB / 0.7233 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.7234, allocations: 47.95 kB / 0.7233 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009741/0.7332, allocations: 2.873 MB / 0.7261 GB, free: 11.51 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.03747/0.7707, allocations: 9.592 MB / 0.7355 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02402/0.7948, allocations: 4.778 MB / 0.7402 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005967/0.7954, allocations: 45.89 kB / 0.7402 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.814e-05/0.7956, allocations: 56.55 kB / 0.7403 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=228): time 1.103e-05/0.7956, allocations: 7.984 kB / 0.7403 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=228): time 0.359/1.155, allocations: 28.56 MB / 0.7682 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/1.155, allocations: 127.2 kB / 0.7683 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/1.158, allocations: 1.645 MB / 0.7699 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007999/1.159, allocations: 65.7 kB / 0.7699 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009591/1.16, allocations: 1.128 MB / 0.771 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/1.161, allocations: 0.7855 MB / 0.7718 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.161, allocations: 40.28 kB / 0.7719 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001642/1.161, allocations: 385.4 kB / 0.7722 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004187/1.166, allocations: 1.8 MB / 0.774 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004573/1.17, allocations: 2.102 MB / 0.776 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004004/1.174, allocations: 1.916 MB / 0.7779 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/1.174, allocations: 2.812 kB / 0.7779 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03998/1.214, allocations: 14.1 MB / 0.7917 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005585/1.215, allocations: 2.734 MB / 0.7943 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/1.215, allocations: 7.25 kB / 0.7944 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0199/1.235, allocations: 6.437 MB / 0.8006 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/1.237, allocations: 320.7 kB / 0.8009 GB, free: 114 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06809/1.305, allocations: 26.46 MB / 0.8268 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/1.309, allocations: 489.1 kB / 0.8273 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000743/1.31, allocations: 81.27 kB / 0.8273 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.31, allocations: 7.312 kB / 0.8273 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03968/1.35, allocations: 13.79 MB / 0.8408 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.744e-05/1.35, allocations: 10.66 kB / 0.8408 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01892/1.369, allocations: 6.438 MB / 0.8471 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/1.37, allocations: 308.8 kB / 0.8474 GB, free: 105.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0609/1.431, allocations: 26.45 MB / 0.8732 GB, free: 86.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004291/1.436, allocations: 467.1 kB / 0.8737 GB, free: 86.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000671/1.436, allocations: 83.41 kB / 0.8737 GB, free: 86.29 MB / 0.5573 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.002115/1.438, allocations: 493.2 kB / 0.8742 GB, free: 85.82 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.44, allocations: 272.1 kB / 0.8745 GB, free: 85.56 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03869/1.478, allocations: 14.27 MB / 0.8884 GB, free: 74.59 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/1.478, allocations: 20 kB / 0.8884 GB, free: 74.57 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.702e-05/1.478, allocations: 20 kB / 0.8885 GB, free: 74.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.497e-05/1.478, allocations: 19.25 kB / 0.8885 GB, free: 74.54 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.04372/1.522, allocations: 17.76 MB / 0.9058 GB, free: 60.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/1.522, allocations: 7.953 kB / 0.9058 GB, free: 60.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/1.524, allocations: 238.8 kB / 0.9061 GB, free: 60.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01625/1.54, allocations: 6.047 MB / 0.912 GB, free: 55.97 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007556/1.541, allocations: 47.75 kB / 0.912 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0497/1.591, allocations: 22.66 MB / 0.9341 GB, free: 33.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.591, allocations: 3.938 kB / 0.9341 GB, free: 33.37 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04361/1.634, allocations: 16.81 MB / 0.9505 GB, free: 16.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.635, allocations: 377.3 kB / 0.9509 GB, free: 16.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/1.637, allocations: 40 kB / 0.9509 GB, free: 16.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003704/1.64, allocations: 359.7 kB / 0.9513 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002294/1.643, allocations: 0.5488 MB / 0.9518 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002719/1.643, allocations: 63.92 kB / 0.9519 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001796/1.645, allocations: 1.267 MB / 0.9531 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.645, allocations: 3.828 kB / 0.9531 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005726/1.65, allocations: 1.69 MB / 0.9548 GB, free: 12.14 MB / 0.5573 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.04395/1.694, allocations: 17.69 MB / 0.9721 GB, free: 10.39 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2808/1.975, allocations: 11.3 MB / 0.9831 GB, free: 132.4 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/1.975, allocations: 3.875 kB / 0.9831 GB, free: 132.4 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01481/1.99, allocations: 4.593 MB / 0.9876 GB, free: 132 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/1.992, allocations: 190.5 kB / 0.9878 GB, free: 132 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/2.005, allocations: 11.49 MB / 0.999 GB, free: 124.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/2.006, allocations: 1.787 MB / 1.001 GB, free: 123.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00118/2.007, allocations: 205.2 kB / 1.001 GB, free: 123.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/2.009, allocations: 1.071 MB / 1.002 GB, free: 123.5 MB / 0.573 GB Notification: Performance of SimCode: time 1.543e-06/2.009, allocations: 0 / 1.002 GB, free: 123.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/2.144, allocations: 91.25 MB / 1.091 GB, free: 97.17 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/2.144, allocations: 220.2 kB / 1.091 GB, free: 96.93 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.222/7.366, allocations: 0 / 1.091 GB, free: 96.93 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)