Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_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.0009933/0.0009934, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.234/1.234, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0008114/0.0008114, allocations: 95.83 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4362/0.4362, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.928e-05, allocations: 0 / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3061, allocations: 69.51 MB / 0.5492 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.4243, allocations: 99.59 MB / 0.6465 GB, free: 4 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.4246, allocations: 76.03 kB / 0.6465 GB, free: 15.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08257/0.5071, allocations: 31.49 MB / 0.6773 GB, free: 232 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5072, allocations: 4 kB / 0.6773 GB, free: 228 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.5073, allocations: 23.94 kB / 0.6773 GB, free: 204 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.2898/0.7971, allocations: 1.737 MB / 0.679 GB, free: 103.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.7971, allocations: 14.92 kB / 0.679 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004407/0.7976, allocations: 124.5 kB / 0.6791 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/0.8012, allocations: 0.5646 MB / 0.6797 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.8031, allocations: 0.8122 MB / 0.6805 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/0.8033, allocations: 234.4 kB / 0.6807 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.8035, allocations: 76.64 kB / 0.6808 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.8054, allocations: 0.955 MB / 0.6817 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.8054, allocations: 7.859 kB / 0.6817 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/0.8055, allocations: 34.09 kB / 0.6818 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.8056, allocations: 17.97 kB / 0.6818 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.8072, allocations: 0.8518 MB / 0.6826 GB, free: 102.6 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.0068/0.814, allocations: 3.955 MB / 0.6865 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006874/0.8208, allocations: 2.639 MB / 0.6891 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00071/0.8216, allocations: 0.5568 MB / 0.6896 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.8217, allocations: 15.17 kB / 0.6896 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.8217, allocations: 46.5 kB / 0.6897 GB, free: 100.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 2.665e-06/0.8217, allocations: 3.5 kB / 0.6897 GB, free: 100.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.0106/0.8323, allocations: 3.924 MB / 0.6935 GB, free: 100.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.8324, allocations: 141.4 kB / 0.6936 GB, free: 100.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.8334, allocations: 0.9269 MB / 0.6945 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/0.8335, allocations: 40.92 kB / 0.6946 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.8338, allocations: 0.5184 MB / 0.6951 GB, free: 99.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.834, allocations: 338.6 kB / 0.6954 GB, free: 99.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.8341, allocations: 23.72 kB / 0.6954 GB, free: 99.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.058e-05/0.8342, allocations: 344.3 kB / 0.6957 GB, free: 99.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006624/0.8348, allocations: 457.3 kB / 0.6962 GB, free: 98.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007184/0.8356, allocations: 0.5921 MB / 0.6968 GB, free: 98.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/0.8363, allocations: 0.552 MB / 0.6973 GB, free: 98.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.8363, allocations: 7.031 kB / 0.6973 GB, free: 98.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01084/0.8472, allocations: 4.171 MB / 0.7014 GB, free: 97.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002171/0.8474, allocations: 1.204 MB / 0.7026 GB, free: 96.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.8474, allocations: 3.969 kB / 0.7026 GB, free: 96.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004945/0.8524, allocations: 1.551 MB / 0.7041 GB, free: 95.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007024/0.8531, allocations: 165.3 kB / 0.7042 GB, free: 95.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.8654, allocations: 7.92 MB / 0.712 GB, free: 89.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.8669, allocations: 196.6 kB / 0.7122 GB, free: 89.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/0.867, allocations: 39.39 kB / 0.7122 GB, free: 89.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.545e-06/0.867, allocations: 4 kB / 0.7122 GB, free: 89.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01053/0.8775, allocations: 4.038 MB / 0.7161 GB, free: 86.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.8775, allocations: 0 / 0.7161 GB, free: 86.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004788/0.8823, allocations: 1.553 MB / 0.7177 GB, free: 85.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.883, allocations: 154.6 kB / 0.7178 GB, free: 85.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.895, allocations: 7.932 MB / 0.7255 GB, free: 77.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.8964, allocations: 185.2 kB / 0.7257 GB, free: 77.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.605e-05/0.8965, allocations: 39.88 kB / 0.7258 GB, free: 77.57 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002774/0.8968, allocations: 194.8 kB / 0.7259 GB, free: 77.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/0.8971, allocations: 126.4 kB / 0.7261 GB, free: 77.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/0.9076, allocations: 4.052 MB / 0.73 GB, free: 74.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.9076, allocations: 8 kB / 0.73 GB, free: 74.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.9076, allocations: 11.94 kB / 0.73 GB, free: 74.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.9076, allocations: 7.172 kB / 0.7301 GB, free: 74.03 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 postOpt removeSimpleEquations (simulation): time 0.01196/0.9196, allocations: 5.72 MB / 0.7356 GB, free: 68.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.9196, allocations: 0 / 0.7356 GB, free: 68.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/0.9203, allocations: 119.8 kB / 0.7358 GB, free: 68.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003894/0.9242, allocations: 1.418 MB / 0.7371 GB, free: 67.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.19e-05/0.9243, allocations: 20 kB / 0.7372 GB, free: 67.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009693/0.934, allocations: 5.726 MB / 0.7427 GB, free: 61.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.934, allocations: 3.938 kB / 0.7428 GB, free: 61.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/0.9453, allocations: 4.798 MB / 0.7474 GB, free: 56.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/0.9457, allocations: 234.9 kB / 0.7477 GB, free: 56.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.9461, allocations: 20 kB / 0.7477 GB, free: 56.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.9474, allocations: 135.9 kB / 0.7478 GB, free: 56.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/0.9478, allocations: 184.8 kB / 0.748 GB, free: 56.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.862e-05/0.9479, allocations: 27.94 kB / 0.748 GB, free: 56.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00101/0.9489, allocations: 0.7255 MB / 0.7487 GB, free: 55.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.9489, allocations: 0 / 0.7487 GB, free: 55.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00204/0.951, allocations: 0.6957 MB / 0.7494 GB, free: 54.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 67 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0116/0.9626, allocations: 5.466 MB / 0.7547 GB, free: 49.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00816/0.9708, allocations: 3.906 MB / 0.7586 GB, free: 45.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9708, allocations: 4.188 kB / 0.7586 GB, free: 45.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00324/0.974, allocations: 1.464 MB / 0.76 GB, free: 43.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008471/0.9749, allocations: 104.6 kB / 0.7601 GB, free: 43.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.979, allocations: 2.181 MB / 0.7622 GB, free: 41.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.9795, allocations: 1.17 MB / 0.7634 GB, free: 40.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008541/0.9804, allocations: 197.2 kB / 0.7635 GB, free: 40.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/0.9809, allocations: 463.3 kB / 0.764 GB, free: 39.56 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/0.9809, allocations: 0 / 0.764 GB, free: 39.56 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05606/1.037, allocations: 39.45 MB / 0.8025 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/1.037, allocations: 182.9 kB / 0.8027 GB, free: 400 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/4.011, allocations: 0 / 0.8027 GB, free: 400 kB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)