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.0008529/0.0008529, allocations: 84.44 kB / 20.73 MB, free: 3.836 MB / 18.57 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.0008656/0.0008656, allocations: 166.3 kB / 24 MB, free: 0.5586 MB / 18.57 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 0.8525/0.8525, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.03323/0.03323, allocations: 4.466 MB / 265.2 MB, free: 8.77 MB / 250.7 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 1.693e-06/1.693e-06, allocations: 0 / 390.8 MB, free: 6.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.599e-05, allocations: 5.094 kB / 390.8 MB, free: 6.922 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001446/0.001472, allocations: 0.911 MB / 391.7 MB, free: 6.012 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.002579, allocations: 1.185 MB / 392.9 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.002e-05/0.002619, allocations: 0 / 392.9 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.002821, allocations: 63.64 kB / 393 MB, free: 4.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.002925, allocations: 23.84 kB / 393 MB, free: 4.727 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.635e-05/0.002982, allocations: 35.83 kB / 393 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.071e-05/0.003052, allocations: 59.67 kB / 393.1 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.003153, allocations: 23.97 kB / 393.1 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.003189, allocations: 23.98 kB / 393.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.003248, allocations: 23.91 kB / 393.2 MB, free: 4.562 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.003261, allocations: 4 kB / 393.2 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.003364, allocations: 79.7 kB / 393.3 MB, free: 4.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.003378, allocations: 8 kB / 393.3 MB, free: 4.473 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.0034, allocations: 27.92 kB / 393.3 MB, free: 4.445 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.003558, allocations: 115.6 kB / 393.4 MB, free: 4.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.00356, allocations: 0 / 393.4 MB, free: 4.332 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.003561, allocations: 0 / 393.4 MB, free: 4.332 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.003565, allocations: 0 / 393.4 MB, free: 4.332 MB / 314.7 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.0004337/0.003999, allocations: 317.9 kB / 393.7 MB, free: 3.988 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.004029, allocations: 8.031 kB / 393.7 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.004057, allocations: 8.891 kB / 393.7 MB, free: 3.973 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.1e-05/0.004138, allocations: 105.7 kB / 393.8 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.004149, allocations: 12.38 kB / 393.9 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.004159, allocations: 4.375 kB / 393.9 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.004275, allocations: 82.17 kB / 393.9 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.004283, allocations: 192 / 393.9 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.004292, allocations: 384 / 393.9 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.004297, allocations: 4.375 kB / 393.9 MB, free: 3.738 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.747e-05/0.004354, allocations: 51.91 kB / 394 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.004674, allocations: 280.2 kB / 394.3 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.505e-05/0.004719, allocations: 30.52 kB / 394.3 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.357e-05/0.004733, allocations: 4.859 kB / 394.3 MB, free: 3.336 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.44e-05/0.004797, allocations: 15.98 kB / 394.3 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.004815, allocations: 34.56 kB / 394.3 MB, free: 3.277 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.004816, allocations: 0 / 394.3 MB, free: 3.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001165/0.004932, allocations: 41.64 kB / 394.4 MB, free: 3.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.004959, allocations: 55.41 kB / 394.4 MB, free: 3.164 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.982e-05/0.005029, allocations: 121.8 kB / 394.6 MB, free: 3.035 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.005037, allocations: 25.7 kB / 394.6 MB, free: 3.004 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.005078, allocations: 108.1 kB / 394.7 MB, free: 2.895 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/0.005085, allocations: 15.83 kB / 394.7 MB, free: 2.879 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.005111, allocations: 21.7 kB / 394.7 MB, free: 2.852 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.005174, allocations: 318.9 kB / 395 MB, free: 2.531 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.005194, allocations: 15.98 kB / 395.1 MB, free: 2.516 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.005209, allocations: 16 kB / 395.1 MB, free: 2.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.00524, allocations: 24.97 kB / 395.1 MB, free: 2.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.005243, allocations: 8 kB / 395.1 MB, free: 2.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.867e-05/0.005302, allocations: 65.64 kB / 395.2 MB, free: 2.395 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.005312, allocations: 4 kB / 395.2 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.005316, allocations: 0 / 395.2 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.005326, allocations: 4 kB / 395.2 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.936e-05/0.005376, allocations: 7.938 kB / 395.2 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.00538, allocations: 0 / 395.2 MB, free: 2.379 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.005407, allocations: 11.98 kB / 395.2 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.005413, allocations: 0 / 395.2 MB, free: 2.367 MB / 314.7 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 4.886e-05/0.005462, allocations: 117.8 kB / 395.3 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.005474, allocations: 3.953 kB / 395.3 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.556e-05/0.005539, allocations: 57.27 kB / 395.4 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.005541, allocations: 0 / 395.4 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.005544, allocations: 0 / 395.4 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.005546, allocations: 0 / 395.4 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.609e-05/0.005622, allocations: 113.2 kB / 395.5 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.005622, allocations: 32 / 395.5 MB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-06/0.005632, allocations: 8 kB / 395.5 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.005633, allocations: 3.938 kB / 395.5 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.005638, allocations: 0 / 395.5 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.005639, allocations: 0 / 395.5 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005639, allocations: 0 / 395.5 MB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.769e-05/0.005697, allocations: 143.4 kB / 395.6 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.005708, allocations: 11.95 kB / 395.6 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.005717, allocations: 3.984 kB / 395.6 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.754e-05/0.005745, allocations: 0 / 395.6 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.005756, allocations: 0 / 395.6 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.005757, allocations: 4.031 kB / 395.7 MB, free: 1.848 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.313e-05/0.00579, allocations: 95.27 kB / 395.7 MB, free: 1.754 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00579, allocations: 0 / 395.7 MB, free: 1.754 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.00594, allocations: 19.94 kB / 395.8 MB, free: 1.734 MB / 314.7 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.0001053/0.006045, allocations: 103.2 kB / 395.9 MB, free: 1.625 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.918e-05/0.006114, allocations: 27.92 kB / 395.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.006116, allocations: 4 kB / 395.9 MB, free: 1.594 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/0.006121, allocations: 4 kB / 395.9 MB, free: 1.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.006257, allocations: 10.91 kB / 395.9 MB, free: 1.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004639/0.006721, allocations: 174.4 kB / 396.1 MB, free: 1.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.062e-05/0.006762, allocations: 67.34 kB / 396.1 MB, free: 1.293 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.006781, allocations: 8.5 kB / 396.2 MB, free: 1.285 MB / 314.7 MB Notification: Performance of SimCode: time 4.21e-07/0.006781, allocations: 7.938 kB / 396.2 MB, free: 1.277 MB / 314.7 MB Notification: Performance of Templates: time 0.001456/0.008237, allocations: 0.8833 MB / 397 MB, free: 400 kB / 314.7 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: 3.9942847285419703] Failed to read output from testmodel.py, exit status != 0: 0.012199128046631813 0.01976632 0.014451569000000001 Calling exit ...