Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 113.8 kB / 17.88 MB, free: 5.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 213.6 kB / 20.84 MB, free: 2.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 254.2 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03866/0.03866, allocations: 6.124 MB / 316.4 MB, free: 1.133 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 43.83 kB / 439.9 MB, free: 40.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09559, allocations: 54.98 MB / 494.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.003086/0.09868, allocations: 2.627 MB / 497.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1006, allocations: 1.684 MB / 499.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.1007, allocations: 8 kB / 499.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004175/0.1011, allocations: 167 kB / 499.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004381/0.1016, allocations: 222.5 kB / 499.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.1033, allocations: 1.218 MB / 0.4891 GB, free: 4.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.1037, allocations: 457.8 kB / 0.4895 GB, free: 4.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.1039, allocations: 114 kB / 0.4897 GB, free: 3.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.104, allocations: 191.3 kB / 0.4898 GB, free: 3.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.1042, allocations: 231 kB / 0.4901 GB, free: 3.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.1042, allocations: 36 kB / 0.4901 GB, free: 3.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.1046, allocations: 279.8 kB / 0.4904 GB, free: 3.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.1047, allocations: 91.62 kB / 0.4904 GB, free: 3.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.1048, allocations: 226.8 kB / 0.4907 GB, free: 2.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005616/0.1053, allocations: 0.6266 MB / 0.4913 GB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1053, allocations: 4 kB / 0.4913 GB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1054, allocations: 0 / 0.4913 GB, free: 2.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1054, allocations: 8 kB / 0.4913 GB, free: 2.305 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004783/0.1101, allocations: 1.422 MB / 0.4927 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1102, allocations: 8.031 kB / 0.4927 GB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.272e-05/0.1102, allocations: 12.84 kB / 0.4927 GB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.1103, allocations: 74.66 kB / 0.4928 GB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.889e-05/0.1104, allocations: 48.66 kB / 0.4928 GB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1107, allocations: 335.6 kB / 0.4931 GB, free: 320 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.1107, allocations: 33.03 kB / 0.4932 GB, free: 288 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.1107, allocations: 40.38 kB / 0.4932 GB, free: 248 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.1115, allocations: 0.5099 MB / 0.4937 GB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1115, allocations: 0 / 0.4937 GB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.1115, allocations: 16 kB / 0.4937 GB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.1115, allocations: 8 kB / 0.4937 GB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007347/0.1123, allocations: 454.4 kB / 0.4942 GB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.115, allocations: 1.488 MB / 0.4956 GB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009923/0.1159, allocations: 0.5269 MB / 0.4961 GB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.1163, allocations: 232.8 kB / 0.4963 GB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.368e-05/0.1164, allocations: 15.92 kB / 0.4964 GB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.1165, allocations: 46.48 kB / 0.4964 GB, free: 12.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.774e-06/0.1165, allocations: 0 / 0.4964 GB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.008028/0.1245, allocations: 1.923 MB / 0.4983 GB, free: 10.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/0.1246, allocations: 110.8 kB / 0.4984 GB, free: 10.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.1249, allocations: 270.6 kB / 0.4986 GB, free: 10.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.125, allocations: 37.7 kB / 0.4987 GB, free: 10.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.1251, allocations: 184.9 kB / 0.4989 GB, free: 10.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.1253, allocations: 150.7 kB / 0.499 GB, free: 10.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.1255, allocations: 106.2 kB / 0.4991 GB, free: 9.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.1257, allocations: 342.8 kB / 0.4994 GB, free: 9.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.1262, allocations: 281 kB / 0.4997 GB, free: 9.371 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.1267, allocations: 340.6 kB / 0.5 GB, free: 9.031 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.1277, allocations: 0.6217 MB / 0.5006 GB, free: 8.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1277, allocations: 0 / 0.5006 GB, free: 8.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003656/0.1314, allocations: 1.229 MB / 0.5018 GB, free: 7.168 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1314, allocations: 8 kB / 0.5018 GB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.1314, allocations: 0 / 0.5018 GB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00384/0.1352, allocations: 0.7578 MB / 0.5026 GB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.1356, allocations: 91.88 kB / 0.5027 GB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00826/0.1439, allocations: 4.014 MB / 0.5066 GB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.1444, allocations: 55.61 kB / 0.5066 GB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/0.1445, allocations: 20 kB / 0.5067 GB, free: 2.082 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002612/0.1447, allocations: 167.5 kB / 0.5068 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-05/0.1448, allocations: 35.77 kB / 0.5068 GB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/0.1486, allocations: 1.156 MB / 0.508 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.1486, allocations: 8 kB / 0.508 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1486, allocations: 0 / 0.508 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1486, allocations: 3.984 kB / 0.508 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004256/0.1528, allocations: 1.736 MB / 0.5097 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1528, allocations: 0 / 0.5097 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.1531, allocations: 59.91 kB / 0.5097 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003803/0.1569, allocations: 0.7399 MB / 0.5105 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.1569, allocations: 15.98 kB / 0.5105 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007645/0.1646, allocations: 3.973 MB / 0.5144 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1646, allocations: 7.938 kB / 0.5144 GB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003561/0.1681, allocations: 1.169 MB / 0.5155 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.1683, allocations: 116.7 kB / 0.5156 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.1683, allocations: 15.95 kB / 0.5156 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.1687, allocations: 27.98 kB / 0.5157 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.1688, allocations: 36.39 kB / 0.5157 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.1689, allocations: 19.98 kB / 0.5157 GB, free: 8.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002369/0.1691, allocations: 190 kB / 0.5159 GB, free: 8.367 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1691, allocations: 0 / 0.5159 GB, free: 8.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006537/0.1698, allocations: 187.8 kB / 0.5161 GB, free: 8.184 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004036/0.1738, allocations: 1.736 MB / 0.5178 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002659/0.1765, allocations: 0.9568 MB / 0.5187 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.1765, allocations: 0 / 0.5187 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001927/0.1784, allocations: 0.6257 MB / 0.5193 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.1789, allocations: 38.75 kB / 0.5194 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.1897, allocations: 5.098 MB / 0.5243 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.1902, allocations: 0.8128 MB / 0.5251 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.1903, allocations: 58.86 kB / 0.5252 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.1905, allocations: 131.4 kB / 0.5253 GB, free: 14.55 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1905, allocations: 0 / 0.5253 GB, free: 14.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04158/0.2321, allocations: 15.08 MB / 0.54 GB, free: 15.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/12.86, allocations: 21.75 kB / 0.5401 GB, free: 15.71 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.635876932006795] Failed to read output from testmodel.py, exit status != 0: 13.012201607052702 13.036762024 12.925984011 Calling exit ...