Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.001379/0.001379, allocations: 104.3 kB / 19.75 MB, free: 2.023 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.001677/0.001677, allocations: 216.7 kB / 23.03 MB, free: 4.883 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.647/1.647, allocations: 230.6 MB / 256.8 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.04559/0.04559, allocations: 6.143 MB / 319.4 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: translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 55.92 kB / 444.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1343, allocations: 55.02 MB / 499.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.002381/0.1367, allocations: 0.8254 MB / 0.489 GB, free: 12.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.1386, allocations: 1.314 MB / 0.4903 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.1387, allocations: 0 / 0.4903 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.139, allocations: 55.7 kB / 0.4904 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.1391, allocations: 43.7 kB / 0.4904 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.1399, allocations: 290.9 kB / 0.4907 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.14, allocations: 79.59 kB / 0.4908 GB, free: 10.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.1401, allocations: 23.97 kB / 0.4908 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.026e-05/0.1402, allocations: 31.88 kB / 0.4908 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1403, allocations: 39.83 kB / 0.4908 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1404, allocations: 8 kB / 0.4909 GB, free: 10.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.1406, allocations: 111.8 kB / 0.491 GB, free: 10.63 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.1406, allocations: 4 kB / 0.491 GB, free: 10.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.1406, allocations: 31.86 kB / 0.491 GB, free: 10.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.141, allocations: 159.5 kB / 0.4911 GB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.141, allocations: 0 / 0.4911 GB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.141, allocations: 0 / 0.4911 GB, free: 10.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.141, allocations: 3.938 kB / 0.4911 GB, free: 10.44 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009613/0.1419, allocations: 373.7 kB / 0.4915 GB, free: 10.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.142, allocations: 12.03 kB / 0.4915 GB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.142, allocations: 12.89 kB / 0.4915 GB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.1422, allocations: 118.4 kB / 0.4916 GB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1422, allocations: 12.38 kB / 0.4917 GB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.1422, allocations: 4.375 kB / 0.4917 GB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.1425, allocations: 145.6 kB / 0.4918 GB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1425, allocations: 192 / 0.4918 GB, free: 9.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1425, allocations: 7.938 kB / 0.4918 GB, free: 9.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1425, allocations: 4 kB / 0.4918 GB, free: 9.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1427, allocations: 71.97 kB / 0.4919 GB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/0.1433, allocations: 316.3 kB / 0.4922 GB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.1436, allocations: 98.67 kB / 0.4923 GB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.1437, allocations: 32.84 kB / 0.4923 GB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.1437, allocations: 4 kB / 0.4923 GB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.1437, allocations: 30.56 kB / 0.4923 GB, free: 9.094 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1437, allocations: 3.938 kB / 0.4923 GB, free: 9.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.000594/0.1443, allocations: 162.5 kB / 0.4925 GB, free: 8.922 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.1444, allocations: 51.41 kB / 0.4925 GB, free: 8.859 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1445, allocations: 133.8 kB / 0.4927 GB, free: 8.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1446, allocations: 29.7 kB / 0.4927 GB, free: 8.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.1447, allocations: 116 kB / 0.4928 GB, free: 8.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.1447, allocations: 19.8 kB / 0.4928 GB, free: 8.547 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.1447, allocations: 29.7 kB / 0.4929 GB, free: 8.512 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1449, allocations: 318.8 kB / 0.4932 GB, free: 8.191 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.197e-05/0.145, allocations: 39.92 kB / 0.4932 GB, free: 8.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.145, allocations: 35.98 kB / 0.4932 GB, free: 8.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.1451, allocations: 72.98 kB / 0.4933 GB, free: 8.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1451, allocations: 0 / 0.4933 GB, free: 8.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002906/0.1454, allocations: 142.4 kB / 0.4934 GB, free: 7.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1455, allocations: 4 kB / 0.4934 GB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1455, allocations: 3.984 kB / 0.4934 GB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.1457, allocations: 36.78 kB / 0.4935 GB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.417e-05/0.1458, allocations: 23.92 kB / 0.4935 GB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.1471, allocations: 1.311 MB / 0.4948 GB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.209e-05/0.1472, allocations: 11.98 kB / 0.4948 GB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1472, allocations: 0 / 0.4948 GB, free: 6.395 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 (9): * Single equations (assignments): 8 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.1473, allocations: 121.9 kB / 0.4949 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1473, allocations: 11.95 kB / 0.4949 GB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.1476, allocations: 126.8 kB / 0.495 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1476, allocations: 3.938 kB / 0.4951 GB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1476, allocations: 4 kB / 0.4951 GB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1476, allocations: 0 / 0.4951 GB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.1478, allocations: 141.2 kB / 0.4952 GB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.1478, allocations: 0 / 0.4952 GB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.1479, allocations: 8 kB / 0.4952 GB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001557/0.148, allocations: 40.83 kB / 0.4952 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.148, allocations: 0 / 0.4952 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.1492, allocations: 1.307 MB / 0.4965 GB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1492, allocations: 4.031 kB / 0.4965 GB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.1495, allocations: 208.3 kB / 0.4967 GB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.1496, allocations: 16.11 kB / 0.4967 GB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1496, allocations: 3.938 kB / 0.4967 GB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1497, allocations: 7.984 kB / 0.4967 GB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.1497, allocations: 8 kB / 0.4967 GB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1497, allocations: 0 / 0.4967 GB, free: 4.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1498, allocations: 114.9 kB / 0.4969 GB, free: 4.117 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1498, allocations: 3.938 kB / 0.4969 GB, free: 4.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.1501, allocations: 32.03 kB / 0.4969 GB, free: 4.082 MB / 366.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 (6): * Single equations (assignments): 5 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001894/0.1503, allocations: 107.2 kB / 0.497 GB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004455/0.1508, allocations: 198.5 kB / 0.4972 GB, free: 3.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1508, allocations: 0 / 0.4972 GB, free: 3.762 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.151, allocations: 146.7 kB / 0.4973 GB, free: 3.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.1514, allocations: 16 kB / 0.4973 GB, free: 3.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.1518, allocations: 214 kB / 0.4975 GB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.616e-05/0.1519, allocations: 79.27 kB / 0.4976 GB, free: 3.258 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.283e-05/0.152, allocations: 8.656 kB / 0.4976 GB, free: 3.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.152, allocations: 15.42 kB / 0.4976 GB, free: 3.234 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.152, allocations: 4 kB / 0.4976 GB, free: 3.23 MB / 366.1 MB Notification: Performance of Templates: time 0.005139/0.1571, allocations: 1.624 MB / 0.4992 GB, free: 1.633 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1567846070975065] Failed to read output from testmodel.py, exit status != 0: 0.16542666591703892 0.18246855599999995 0.038204188 Calling exit ...