Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.00178/0.00178, allocations: 70.5 kB / 19.97 MB, free: 1.746 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.002199/0.002199, allocations: 169.4 kB / 23.25 MB, free: 4.875 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.464/1.464, allocations: 177.1 MB / 203.6 MB, free: 9.176 MB / 190.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.04522/0.04522, allocations: 4.49 MB / 264.5 MB, free: 12.21 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.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 390.1 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.351e-05, allocations: 5.656 kB / 390.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.00236/0.002394, allocations: 0.9025 MB / 391 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.004397, allocations: 1.182 MB / 392.2 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.004461, allocations: 0 / 392.2 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002854/0.004747, allocations: 63.58 kB / 392.2 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.004891, allocations: 23.84 kB / 392.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.005031, allocations: 47.77 kB / 392.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.005142, allocations: 55.72 kB / 392.4 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.005254, allocations: 19.98 kB / 392.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.005309, allocations: 27.92 kB / 392.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.005382, allocations: 19.97 kB / 392.4 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.0054, allocations: 4 kB / 392.4 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.00557, allocations: 75.72 kB / 392.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.005593, allocations: 11.98 kB / 392.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.00563, allocations: 19.92 kB / 392.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.005878, allocations: 119.6 kB / 392.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.00588, allocations: 4 kB / 392.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005881, allocations: 0 / 392.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.005885, allocations: 0 / 392.6 MB, free: 10.11 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000687/0.006572, allocations: 314 kB / 393 MB, free: 9.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.006609, allocations: 8.031 kB / 393 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.006646, allocations: 8.891 kB / 393 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.006787, allocations: 117.7 kB / 393.1 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.006803, allocations: 4.375 kB / 393.1 MB, free: 9.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.006821, allocations: 4.375 kB / 393.1 MB, free: 9.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.007004, allocations: 82.17 kB / 393.2 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.007014, allocations: 4.188 kB / 393.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.007024, allocations: 384 / 393.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.007033, allocations: 4.375 kB / 393.2 MB, free: 9.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.007136, allocations: 51.86 kB / 393.2 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.007631, allocations: 272.2 kB / 393.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.176e-05/0.007703, allocations: 26.56 kB / 393.5 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.00773, allocations: 16.8 kB / 393.5 MB, free: 9.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-05/0.007821, allocations: 4.062 kB / 393.5 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.007855, allocations: 34.56 kB / 393.6 MB, free: 9.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 3.145e-06/0.007859, allocations: 7.984 kB / 393.6 MB, free: 9.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001679/0.008026, allocations: 45.62 kB / 393.6 MB, free: 9 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.008069, allocations: 55.41 kB / 393.7 MB, free: 8.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.008196, allocations: 121.8 kB / 393.8 MB, free: 8.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.008222, allocations: 25.7 kB / 393.8 MB, free: 8.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.008292, allocations: 108.1 kB / 393.9 MB, free: 8.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/0.008303, allocations: 11.89 kB / 393.9 MB, free: 8.652 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.008353, allocations: 21.7 kB / 394 MB, free: 8.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.00851, allocations: 314.8 kB / 394.3 MB, free: 8.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.008542, allocations: 15.94 kB / 394.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.008572, allocations: 20.11 kB / 394.3 MB, free: 8.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/0.00863, allocations: 28.86 kB / 394.3 MB, free: 8.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008631, allocations: 0 / 394.3 MB, free: 8.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001275/0.008759, allocations: 65.64 kB / 394.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.008774, allocations: 6.656 kB / 394.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.008778, allocations: 0 / 394.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.008793, allocations: 7.984 kB / 394.4 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.729e-05/0.00887, allocations: 7.938 kB / 394.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.008875, allocations: 0 / 394.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.008922, allocations: 4 kB / 394.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.00893, allocations: 0 / 394.4 MB, free: 8.148 MB / 318.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 (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.985e-05/0.009029, allocations: 121.8 kB / 394.5 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.009058, allocations: 3.953 kB / 394.6 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.009166, allocations: 53.27 kB / 394.6 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.009168, allocations: 0 / 394.6 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.009171, allocations: 0 / 394.6 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.009174, allocations: 0 / 394.6 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.009337, allocations: 121.2 kB / 394.7 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.009338, allocations: 192 / 394.7 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.666e-05/0.009365, allocations: 11.94 kB / 394.7 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009367, allocations: 0 / 394.7 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.009374, allocations: 4.031 kB / 394.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.009377, allocations: 3.938 kB / 394.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.009378, allocations: 0 / 394.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.009501, allocations: 139.5 kB / 394.9 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.009518, allocations: 7.953 kB / 394.9 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.009532, allocations: 0 / 394.9 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/0.009591, allocations: 0 / 394.9 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.009605, allocations: 4 kB / 394.9 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.009607, allocations: 0 / 394.9 MB, free: 7.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.581e-05/0.009683, allocations: 95.27 kB / 395 MB, free: 7.531 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.009683, allocations: 0 / 395 MB, free: 7.531 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000251/0.009934, allocations: 23.97 kB / 395 MB, free: 7.508 MB / 318.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001543/0.01009, allocations: 107.2 kB / 395.1 MB, free: 7.395 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.198e-05/0.01018, allocations: 19.94 kB / 395.1 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01018, allocations: 0 / 395.1 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.793e-05/0.01021, allocations: 11.98 kB / 395.1 MB, free: 7.363 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.01043, allocations: 12 kB / 395.2 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.01075, allocations: 137.3 kB / 395.3 MB, free: 7.191 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.171e-05/0.01082, allocations: 71.33 kB / 395.4 MB, free: 7.102 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.169e-05/0.01085, allocations: 3.984 kB / 395.4 MB, free: 7.098 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.01088, allocations: 16.5 kB / 395.4 MB, free: 7.082 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.01088, allocations: 0 / 395.4 MB, free: 7.082 MB / 318.1 MB Notification: Performance of Templates: time 0.003238/0.01412, allocations: 0.5362 MB / 395.9 MB, free: 6.543 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & ./PowerSysPro_PowerSysPro.Tests.OneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.438087400048971] Failed to read output from testmodel.py, exit status != 0: 0.02312500774860382 0.038925681000000004 0.029825221000000002 Calling exit ...