Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.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.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.008558/0.008558, allocations: 171.1 kB / 15.11 MB, free: 5.992 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.47/1.47, allocations: 223.2 MB / 239 MB, free: 80 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.0009345/0.0009344, allocations: 96.59 kB / 290.2 MB, free: 4.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5548/0.5548, allocations: 78.52 MB / 419.8 MB, free: 36.29 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003872, allocations: 8 kB / 499.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1702, allocations: 69.36 MB / 0.5558 GB, free: 1.672 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.6115, allocations: 98.46 MB / 0.652 GB, free: 3.719 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.6117, allocations: 79.36 kB / 0.652 GB, free: 3.676 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09109/0.7028, allocations: 35.22 MB / 0.6864 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7029, allocations: 0 / 0.6864 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.032e-05/0.703, allocations: 31.94 kB / 0.6865 GB, free: 0.8672 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.005027/0.708, allocations: 1.969 MB / 0.6884 GB, free: 14.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.708, allocations: 12.03 kB / 0.6884 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002085/0.7083, allocations: 122.6 kB / 0.6885 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.7116, allocations: 0.5603 MB / 0.6891 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.7133, allocations: 0.8188 MB / 0.6899 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/0.7136, allocations: 238.5 kB / 0.6901 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.7138, allocations: 76 kB / 0.6902 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.716, allocations: 1.15 MB / 0.6913 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.716, allocations: 0 / 0.6913 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.624e-05/0.7161, allocations: 32 kB / 0.6913 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.7161, allocations: 16 kB / 0.6913 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.7183, allocations: 1.066 MB / 0.6924 GB, free: 10.64 MB / 490.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.006857/0.7252, allocations: 3.851 MB / 0.6961 GB, free: 6.598 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007869/0.733, allocations: 2.867 MB / 0.6989 GB, free: 3.633 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.7333, allocations: 16.98 kB / 0.6989 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.7333, allocations: 47.5 kB / 0.699 GB, free: 3.562 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 3.447e-06/0.7333, allocations: 0 / 0.699 GB, free: 3.562 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.02831/0.7616, allocations: 8.011 MB / 0.7068 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.7618, allocations: 141.5 kB / 0.7069 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.7635, allocations: 0.9051 MB / 0.7078 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002515/0.7637, allocations: 45.7 kB / 0.7079 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.7641, allocations: 0.5028 MB / 0.7084 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004067/0.7646, allocations: 331.1 kB / 0.7087 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.7646, allocations: 16 kB / 0.7087 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7648, allocations: 341.9 kB / 0.709 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.7662, allocations: 0.6422 MB / 0.7097 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.7676, allocations: 0.7721 MB / 0.7104 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.769, allocations: 0.7511 MB / 0.7111 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.7691, allocations: 3.953 kB / 0.7111 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01442/0.7835, allocations: 4.664 MB / 0.7157 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008762/0.7844, allocations: 1.206 MB / 0.7169 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.7845, allocations: 4 kB / 0.7169 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00654/0.791, allocations: 1.855 MB / 0.7187 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.7921, allocations: 167.8 kB / 0.7189 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02041/0.8125, allocations: 9.19 MB / 0.7278 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.8143, allocations: 195 kB / 0.728 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-05/0.8144, allocations: 35.98 kB / 0.728 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.8144, allocations: 5.109 kB / 0.7281 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01302/0.8274, allocations: 4.508 MB / 0.7325 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.8275, allocations: 0 / 0.7325 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005914/0.8334, allocations: 1.864 MB / 0.7343 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/0.8344, allocations: 163.8 kB / 0.7344 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/0.8545, allocations: 9.176 MB / 0.7434 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.8562, allocations: 191.1 kB / 0.7436 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-05/0.8563, allocations: 35.98 kB / 0.7436 GB, free: 5.297 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (87): * Single equations (assignments): 84 * 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: 0 * Non-linear torn systems: 1 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007347/0.8571, allocations: 354.7 kB / 0.7439 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.8574, allocations: 126.6 kB / 0.7441 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.8704, allocations: 4.618 MB / 0.7486 GB, free: 176 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.8704, allocations: 8 kB / 0.7486 GB, free: 168 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/0.8705, allocations: 8 kB / 0.7486 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/0.8705, allocations: 3.984 kB / 0.7486 GB, free: 156 kB / 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 postOpt removeSimpleEquations (simulation): time 0.01706/0.8876, allocations: 6.225 MB / 0.7547 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.8877, allocations: 0 / 0.7547 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008347/0.8885, allocations: 115.8 kB / 0.7548 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005641/0.8942, allocations: 1.794 MB / 0.7565 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/0.8944, allocations: 20 kB / 0.7566 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/0.913, allocations: 8.012 MB / 0.7644 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.9131, allocations: 0 / 0.7644 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/0.9291, allocations: 5.536 MB / 0.7698 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006809/0.9299, allocations: 227.3 kB / 0.77 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005395/0.9304, allocations: 25.69 kB / 0.77 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.932, allocations: 131.9 kB / 0.7702 GB, free: 9.762 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007117/0.9328, allocations: 180.7 kB / 0.7703 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.933, allocations: 32 kB / 0.7704 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001498/0.9345, allocations: 0.7116 MB / 0.771 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.8e-07/0.9345, allocations: 0 / 0.771 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003053/0.9375, allocations: 0.6592 MB / 0.7717 GB, free: 8.172 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0157/0.9533, allocations: 6.213 MB / 0.7778 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01108/0.9644, allocations: 4.226 MB / 0.7819 GB, free: 13.62 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.9645, allocations: 4.75 kB / 0.7819 GB, free: 13.61 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004461/0.9689, allocations: 1.665 MB / 0.7835 GB, free: 11.93 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.9702, allocations: 106.8 kB / 0.7836 GB, free: 11.82 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007612/0.9778, allocations: 5.151 MB / 0.7886 GB, free: 6.57 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009315/0.9788, allocations: 1.155 MB / 0.7898 GB, free: 5.383 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006829/0.9795, allocations: 118.6 kB / 0.7899 GB, free: 5.262 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007204/0.9802, allocations: 463.3 kB / 0.7903 GB, free: 4.809 MB / 0.573 GB Notification: Performance of SimCode: time 1.102e-06/0.9803, allocations: 0 / 0.7903 GB, free: 4.809 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3575/1.338, allocations: 35.62 MB / 0.8251 GB, free: 153.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/1.338, allocations: 215 kB / 0.8253 GB, free: 153 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.412/4.751, allocations: 0 / 0.8253 GB, free: 153 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)