Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.001252/0.001252, allocations: 101.9 kB / 20.52 MB, free: 1.203 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.001446/0.001446, allocations: 216.3 kB / 23.82 MB, free: 4.18 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.492/1.492, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.03888/0.03888, allocations: 6.132 MB / 320.1 MB, free: 12.73 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.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 43.94 kB / 445.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1087, allocations: 55.01 MB / 0.4885 GB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002794/0.1115, allocations: 1.269 MB / 0.4897 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1142, allocations: 1.501 MB / 0.4912 GB, free: 11.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.1143, allocations: 7.938 kB / 0.4912 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.1146, allocations: 111.4 kB / 0.4913 GB, free: 11.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.1149, allocations: 87.45 kB / 0.4914 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.1166, allocations: 0.8208 MB / 0.4922 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.1169, allocations: 191 kB / 0.4924 GB, free: 9.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.117, allocations: 46.08 kB / 0.4924 GB, free: 9.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.1171, allocations: 75.72 kB / 0.4925 GB, free: 9.844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.1173, allocations: 107.5 kB / 0.4926 GB, free: 9.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.1173, allocations: 16 kB / 0.4926 GB, free: 9.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003857/0.1177, allocations: 203.8 kB / 0.4928 GB, free: 9.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.1178, allocations: 43.78 kB / 0.4928 GB, free: 9.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.164e-05/0.1179, allocations: 71.66 kB / 0.4929 GB, free: 9.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.1184, allocations: 354.8 kB / 0.4932 GB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1184, allocations: 0 / 0.4932 GB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1184, allocations: 3.938 kB / 0.4933 GB, free: 9.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1184, allocations: 4 kB / 0.4933 GB, free: 9.055 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001986/0.1204, allocations: 0.6182 MB / 0.4939 GB, free: 8.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1204, allocations: 12.03 kB / 0.4939 GB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.219e-05/0.1204, allocations: 4.469 kB / 0.4939 GB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.975e-05/0.1205, allocations: 46.73 kB / 0.4939 GB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.1206, allocations: 20.8 kB / 0.4939 GB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.1209, allocations: 178.2 kB / 0.4941 GB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1209, allocations: 8.656 kB / 0.4941 GB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.1209, allocations: 16.38 kB / 0.4941 GB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.1214, allocations: 294 kB / 0.4944 GB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1214, allocations: 0 / 0.4944 GB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.1214, allocations: 12 kB / 0.4944 GB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1214, allocations: 4 kB / 0.4944 GB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.1218, allocations: 220.7 kB / 0.4946 GB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.123, allocations: 0.6009 MB / 0.4952 GB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006929/0.1237, allocations: 282.4 kB / 0.4955 GB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.1239, allocations: 124.8 kB / 0.4956 GB, free: 6.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.1239, allocations: 4 kB / 0.4956 GB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1239, allocations: 42.55 kB / 0.4957 GB, free: 6.438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/0.1239, allocations: 0 / 0.4957 GB, free: 6.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.002184/0.1261, allocations: 0.6439 MB / 0.4963 GB, free: 5.789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1262, allocations: 55.41 kB / 0.4963 GB, free: 5.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1264, allocations: 177.5 kB / 0.4965 GB, free: 5.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.1264, allocations: 33.7 kB / 0.4965 GB, free: 5.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.1265, allocations: 124.6 kB / 0.4967 GB, free: 5.379 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.1266, allocations: 87.2 kB / 0.4967 GB, free: 5.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.1267, allocations: 53.7 kB / 0.4968 GB, free: 5.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1269, allocations: 330.8 kB / 0.4971 GB, free: 4.902 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.1271, allocations: 123.9 kB / 0.4972 GB, free: 4.781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.1273, allocations: 128 kB / 0.4974 GB, free: 4.656 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.1277, allocations: 281.9 kB / 0.4976 GB, free: 4.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1277, allocations: 0 / 0.4976 GB, free: 4.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001065/0.1287, allocations: 482 kB / 0.4981 GB, free: 3.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1288, allocations: 4 kB / 0.4981 GB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1288, allocations: 0 / 0.4981 GB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008096/0.1296, allocations: 180.6 kB / 0.4983 GB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1297, allocations: 39.92 kB / 0.4983 GB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/0.133, allocations: 2.216 MB / 0.5005 GB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.1332, allocations: 31.72 kB / 0.5005 GB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.1332, allocations: 11.98 kB / 0.5005 GB, free: 1.305 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 (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.1334, allocations: 129.8 kB / 0.5006 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.1334, allocations: 15.91 kB / 0.5006 GB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.1345, allocations: 459.9 kB / 0.5011 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1346, allocations: 3.984 kB / 0.5011 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.1346, allocations: 0 / 0.5011 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1346, allocations: 4.281 kB / 0.5011 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.136, allocations: 0.7717 MB / 0.5018 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.1361, allocations: 3.938 kB / 0.5018 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.953e-05/0.1362, allocations: 27.92 kB / 0.5019 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007575/0.1369, allocations: 180.6 kB / 0.502 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.1369, allocations: 4 kB / 0.502 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002987/0.1399, allocations: 2.19 MB / 0.5042 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1399, allocations: 0 / 0.5042 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.141, allocations: 0.5244 MB / 0.5047 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.141, allocations: 23.78 kB / 0.5047 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.141, allocations: 8 kB / 0.5047 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.1412, allocations: 11.94 kB / 0.5047 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.1413, allocations: 23.95 kB / 0.5048 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.1413, allocations: 4 kB / 0.5048 GB, free: 12.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.1414, allocations: 139.2 kB / 0.5049 GB, free: 12.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1414, allocations: 288 / 0.5049 GB, free: 12.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.1418, allocations: 83.88 kB / 0.505 GB, free: 12.5 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 (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001413/0.1432, allocations: 1.068 MB / 0.506 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1443, allocations: 482.5 kB / 0.5065 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1443, allocations: 0 / 0.5065 GB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.145, allocations: 326.5 kB / 0.5068 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1453, allocations: 26.33 kB / 0.5068 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.1495, allocations: 2.749 MB / 0.5095 GB, free: 7.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.1496, allocations: 120.9 kB / 0.5096 GB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.937e-05/0.1497, allocations: 29.7 kB / 0.5096 GB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.353e-05/0.1498, allocations: 51.42 kB / 0.5097 GB, free: 7.52 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1498, allocations: 0 / 0.5097 GB, free: 7.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.1803, allocations: 6.897 MB / 0.5164 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.3, allocations: 14.52 kB / 0.5164 GB, free: 0.7773 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.247539179981686] Failed to read output from testmodel.py, exit status != 0: 13.728687939001247 13.741630989999999 13.62064143 Calling exit ...