Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.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.001568/0.001568, allocations: 108.3 kB / 19.74 MB, free: 2.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.001823/0.001823, allocations: 215.9 kB / 23.03 MB, free: 4.859 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.659/1.659, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.04357/0.04357, allocations: 6.139 MB / 319.4 MB, free: 12.75 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.OneSourceThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 51.92 kB / 444.9 MB, free: 4.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.119, allocations: 55.02 MB / 499.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.003648/0.1226, allocations: 1.942 MB / 0.4901 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002817/0.1254, allocations: 1.668 MB / 0.4917 GB, free: 9.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1255, allocations: 4 kB / 0.4917 GB, free: 9.848 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.126, allocations: 151.1 kB / 0.4919 GB, free: 9.699 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.1264, allocations: 182.8 kB / 0.4921 GB, free: 9.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.1283, allocations: 0.8828 MB / 0.4929 GB, free: 8.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006104/0.1289, allocations: 414 kB / 0.4933 GB, free: 8.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.1291, allocations: 79.69 kB / 0.4934 GB, free: 8.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.1293, allocations: 175.3 kB / 0.4936 GB, free: 7.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.1296, allocations: 195.1 kB / 0.4938 GB, free: 7.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.1297, allocations: 32 kB / 0.4938 GB, free: 7.754 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.1301, allocations: 219.8 kB / 0.494 GB, free: 7.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/0.1302, allocations: 87.62 kB / 0.4941 GB, free: 7.453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.1304, allocations: 155.2 kB / 0.4942 GB, free: 7.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007361/0.1311, allocations: 0.5488 MB / 0.4948 GB, free: 6.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.1311, allocations: 4 kB / 0.4948 GB, free: 6.746 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1311, allocations: 0 / 0.4948 GB, free: 6.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1311, allocations: 0 / 0.4948 GB, free: 6.746 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00385/0.135, allocations: 1.074 MB / 0.4958 GB, free: 5.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.135, allocations: 15.98 kB / 0.4958 GB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.1351, allocations: 44.66 kB / 0.4959 GB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.1356, allocations: 265.4 kB / 0.4961 GB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.1356, allocations: 25.03 kB / 0.4961 GB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.1357, allocations: 36.38 kB / 0.4962 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008816/0.1366, allocations: 0.6425 MB / 0.4968 GB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1366, allocations: 4.172 kB / 0.4968 GB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.1366, allocations: 15.94 kB / 0.4968 GB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1366, allocations: 4 kB / 0.4968 GB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006583/0.1373, allocations: 430.4 kB / 0.4972 GB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.1394, allocations: 1.022 MB / 0.4982 GB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.1405, allocations: 0.5084 MB / 0.4987 GB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/0.1409, allocations: 253.5 kB / 0.499 GB, free: 2.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.6e-05/0.141, allocations: 12.36 kB / 0.499 GB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.141, allocations: 46.81 kB / 0.499 GB, free: 2.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.334e-06/0.141, allocations: 0 / 0.499 GB, free: 2.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.004668/0.1457, allocations: 1.413 MB / 0.5004 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.1457, allocations: 55.41 kB / 0.5005 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.1461, allocations: 269.8 kB / 0.5007 GB, free: 440 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.1462, allocations: 37.7 kB / 0.5008 GB, free: 396 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1463, allocations: 165 kB / 0.5009 GB, free: 228 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.1465, allocations: 162.6 kB / 0.5011 GB, free: 64 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.1467, allocations: 94.19 kB / 0.5012 GB, free: 15.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1469, allocations: 350.8 kB / 0.5015 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.1473, allocations: 264.9 kB / 0.5018 GB, free: 15.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.1478, allocations: 272.4 kB / 0.502 GB, free: 15.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009312/0.1487, allocations: 0.5848 MB / 0.5026 GB, free: 14.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.1487, allocations: 4 kB / 0.5026 GB, free: 14.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002449/0.1511, allocations: 1.019 MB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.1512, allocations: 4 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1512, allocations: 4 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.1531, allocations: 418.1 kB / 0.504 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.1534, allocations: 71.91 kB / 0.5041 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007983/0.1614, allocations: 5.637 MB / 0.5096 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.1618, allocations: 51.53 kB / 0.5096 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.1619, allocations: 16 kB / 0.5096 GB, free: 6.957 MB / 382.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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002744/0.1621, allocations: 161.8 kB / 0.5098 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.1622, allocations: 39.7 kB / 0.5098 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.1649, allocations: 0.99 MB / 0.5108 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.088e-06/0.1649, allocations: 7.938 kB / 0.5108 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1649, allocations: 4 kB / 0.5108 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1649, allocations: 0 / 0.5108 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.1655, allocations: 393.2 kB / 0.5112 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1655, allocations: 0 / 0.5112 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.1657, allocations: 59.91 kB / 0.5112 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00189/0.1676, allocations: 422.1 kB / 0.5116 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.1676, allocations: 8 kB / 0.5116 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2707/0.4383, allocations: 5.593 MB / 0.5171 GB, free: 29.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4383, allocations: 0 / 0.5171 GB, free: 29.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.4404, allocations: 1.013 MB / 0.5181 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.4405, allocations: 35.98 kB / 0.5181 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.4405, allocations: 12.38 kB / 0.5181 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.4409, allocations: 32.91 kB / 0.5182 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.441, allocations: 41.11 kB / 0.5182 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.441, allocations: 16 kB / 0.5182 GB, free: 28.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.4412, allocations: 195.7 kB / 0.5184 GB, free: 28.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4412, allocations: 0 / 0.5184 GB, free: 28.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005992/0.4418, allocations: 163 kB / 0.5186 GB, free: 28.8 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 (37): * 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: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002/0.442, allocations: 127.2 kB / 0.5187 GB, free: 28.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.4438, allocations: 1.047 MB / 0.5197 GB, free: 28.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4438, allocations: 0 / 0.5197 GB, free: 28.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.445, allocations: 0.7444 MB / 0.5204 GB, free: 28.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.4455, allocations: 53.41 kB / 0.5205 GB, free: 28.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.4469, allocations: 0.7789 MB / 0.5212 GB, free: 27.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.4471, allocations: 194.4 kB / 0.5214 GB, free: 27.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.4473, allocations: 50.62 kB / 0.5215 GB, free: 27.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.4474, allocations: 38.16 kB / 0.5215 GB, free: 27.63 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4474, allocations: 0 / 0.5215 GB, free: 27.63 MB / 382.1 MB Notification: Performance of Templates: time 0.0244/0.4718, allocations: 10.38 MB / 0.5317 GB, free: 25.82 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.615883653983474] Failed to read output from testmodel.py, exit status != 0: 0.48070178367197514 0.49487581099999994 0.36129398799999995 Calling exit ...