Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.001362/0.001362, allocations: 101.2 kB / 20.52 MB, free: 1.449 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.001443/0.001443, allocations: 214.8 kB / 23.84 MB, free: 4.66 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.478/1.478, allocations: 230.6 MB / 257.6 MB, free: 8 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.04104/0.04104, allocations: 6.125 MB / 320.2 MB, free: 12.96 MB / 254.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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 47.91 kB / 445.3 MB, free: 5.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1076, allocations: 55.03 MB / 0.4886 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.004229/0.1118, allocations: 2.716 MB / 0.4912 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.1146, allocations: 1.812 MB / 0.493 GB, free: 9.719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.1147, allocations: 8 kB / 0.493 GB, free: 9.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.1152, allocations: 178.9 kB / 0.4932 GB, free: 9.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.1158, allocations: 258.4 kB / 0.4934 GB, free: 9.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.1179, allocations: 1.102 MB / 0.4945 GB, free: 8.176 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006855/0.1186, allocations: 0.5014 MB / 0.495 GB, free: 7.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.1188, allocations: 104.9 kB / 0.4951 GB, free: 7.559 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.119, allocations: 211.2 kB / 0.4953 GB, free: 7.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.1193, allocations: 254.9 kB / 0.4955 GB, free: 7.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.1194, allocations: 44 kB / 0.4956 GB, free: 7.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005173/0.1199, allocations: 271.8 kB / 0.4958 GB, free: 6.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.12, allocations: 107.5 kB / 0.496 GB, free: 6.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.1202, allocations: 238.8 kB / 0.4962 GB, free: 6.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008608/0.1211, allocations: 0.6772 MB / 0.4968 GB, free: 5.773 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1211, allocations: 0 / 0.4968 GB, free: 5.773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1211, allocations: 0 / 0.4968 GB, free: 5.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1211, allocations: 0 / 0.4968 GB, free: 5.773 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.006718/0.1278, allocations: 1.605 MB / 0.4984 GB, free: 4.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1279, allocations: 15.97 kB / 0.4984 GB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.004e-05/0.1279, allocations: 9.188 kB / 0.4984 GB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.128, allocations: 70.72 kB / 0.4985 GB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.1281, allocations: 52.61 kB / 0.4985 GB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.1286, allocations: 306.3 kB / 0.4988 GB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.1286, allocations: 33.38 kB / 0.4989 GB, free: 3.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/0.1287, allocations: 44.38 kB / 0.4989 GB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.1298, allocations: 0.6124 MB / 0.4995 GB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1298, allocations: 0 / 0.4995 GB, free: 2.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.1299, allocations: 12 kB / 0.4995 GB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1299, allocations: 15.92 kB / 0.4995 GB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009181/0.1308, allocations: 0.5661 MB / 0.5001 GB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/0.1338, allocations: 1.581 MB / 0.5016 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.135, allocations: 0.6001 MB / 0.5022 GB, free: 132 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/0.1356, allocations: 354.3 kB / 0.5026 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/0.1372, allocations: 1.095 MB / 0.5036 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.1373, allocations: 47 kB / 0.5037 GB, free: 14.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 1.663e-06/0.1373, allocations: 0 / 0.5037 GB, free: 14.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.0107/0.148, allocations: 2.563 MB / 0.5062 GB, free: 12.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/0.1481, allocations: 111.2 kB / 0.5063 GB, free: 11.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.1485, allocations: 341.5 kB / 0.5066 GB, free: 11.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.1486, allocations: 41.7 kB / 0.5067 GB, free: 11.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.1488, allocations: 205.5 kB / 0.5068 GB, free: 11.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.1491, allocations: 194.3 kB / 0.507 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/0.1494, allocations: 142.6 kB / 0.5072 GB, free: 10.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.1496, allocations: 346.8 kB / 0.5075 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007983/0.1504, allocations: 409.9 kB / 0.5079 GB, free: 10.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009315/0.1513, allocations: 0.5167 MB / 0.5084 GB, free: 9.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.153, allocations: 0.9532 MB / 0.5093 GB, free: 8.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.153, allocations: 3.938 kB / 0.5093 GB, free: 8.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005297/0.1583, allocations: 1.766 MB / 0.5111 GB, free: 6.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.1583, allocations: 4 kB / 0.5111 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.1583, allocations: 4 kB / 0.5111 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005092/0.1634, allocations: 1.097 MB / 0.5121 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/0.164, allocations: 119.8 kB / 0.5122 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.1743, allocations: 5.135 MB / 0.5173 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000652/0.175, allocations: 75.45 kB / 0.5173 GB, free: 364 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.1751, allocations: 31.98 kB / 0.5174 GB, free: 332 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003169/0.1754, allocations: 169.8 kB / 0.5175 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.1755, allocations: 47.67 kB / 0.5176 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2383/0.4138, allocations: 1.596 MB / 0.5191 GB, free: 30.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.4138, allocations: 6.562 kB / 0.5191 GB, free: 30.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.4138, allocations: 5.875 kB / 0.5191 GB, free: 30.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.4138, allocations: 3.469 kB / 0.5191 GB, free: 30.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000875/0.4147, allocations: 0.6476 MB / 0.5198 GB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.4147, allocations: 0 / 0.5198 GB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.415, allocations: 67.34 kB / 0.5198 GB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004817/0.4198, allocations: 1.029 MB / 0.5208 GB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.4199, allocations: 19.75 kB / 0.5209 GB, free: 29.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009188/0.4291, allocations: 5.098 MB / 0.5258 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4291, allocations: 0 / 0.5258 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.4337, allocations: 1.61 MB / 0.5274 GB, free: 27.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.4339, allocations: 52.44 kB / 0.5275 GB, free: 27.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/0.434, allocations: 12.42 kB / 0.5275 GB, free: 27.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/0.4345, allocations: 25.89 kB / 0.5275 GB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.4347, allocations: 51 kB / 0.5276 GB, free: 27.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/0.4348, allocations: 16.59 kB / 0.5276 GB, free: 27.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003092/0.4351, allocations: 225.5 kB / 0.5278 GB, free: 27.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4351, allocations: 3.719 kB / 0.5278 GB, free: 27.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001095/0.4362, allocations: 234.1 kB / 0.528 GB, free: 27.18 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 (39): * Single equations (assignments): 38 * 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): 1 system {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005258/0.4415, allocations: 2.168 MB / 0.5301 GB, free: 25.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003413/0.4449, allocations: 1.264 MB / 0.5314 GB, free: 25.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4449, allocations: 0 / 0.5314 GB, free: 25.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002156/0.447, allocations: 0.7808 MB / 0.5321 GB, free: 25.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.4475, allocations: 42.48 kB / 0.5322 GB, free: 25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.4605, allocations: 6.673 MB / 0.5387 GB, free: 21.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.4607, allocations: 0.835 MB / 0.5395 GB, free: 20.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.4609, allocations: 52.5 kB / 0.5395 GB, free: 20.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.4611, allocations: 155.3 kB / 0.5397 GB, free: 20.68 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4611, allocations: 3.938 kB / 0.5397 GB, free: 20.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.5004, allocations: 18.24 MB / 0.5575 GB, free: 8.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.01, allocations: 3.859 kB / 0.5575 GB, free: 8.184 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.72295348206535] Failed to read output from testmodel.py, exit status != 0: 13.181968529010192 13.201862894 13.076291022 Calling exit ...