Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.QfURegulation.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.001513/0.001513, allocations: 70.12 kB / 19.97 MB, free: 1.73 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: 170.7 kB / 23.26 MB, free: 4.855 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.507/1.507, allocations: 177.1 MB / 203.6 MB, free: 9.156 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.062/0.062, allocations: 4.48 MB / 264.5 MB, free: 12.19 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.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") translateModel(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 390.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.239e-05, allocations: 6.281 kB / 390.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.002009/0.002041, allocations: 0.7671 MB / 390.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.003938, allocations: 1.19 MB / 392 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.003988, allocations: 0 / 392 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.706e-05/0.004035, allocations: 7.938 kB / 392.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.004262, allocations: 23.84 kB / 392.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.004401, allocations: 23.91 kB / 392.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.004577, allocations: 95.8 kB / 392.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.004658, allocations: 4 kB / 392.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.004836, allocations: 63.81 kB / 392.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.004981, allocations: 47.94 kB / 392.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.00501, allocations: 8 kB / 392.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.165e-05/0.005062, allocations: 8 kB / 392.3 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.005127, allocations: 31.91 kB / 392.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.68e-05/0.005184, allocations: 31.91 kB / 392.4 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.005361, allocations: 91.75 kB / 392.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005363, allocations: 0 / 392.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005364, allocations: 3.938 kB / 392.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.005368, allocations: 0 / 392.5 MB, free: 10.24 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001065/0.006433, allocations: 373.9 kB / 392.8 MB, free: 9.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.006471, allocations: 8.031 kB / 392.9 MB, free: 9.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.006594, allocations: 16.88 kB / 392.9 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.00673, allocations: 109.7 kB / 393 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.007038, allocations: 190.8 kB / 393.2 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.007064, allocations: 8.375 kB / 393.2 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.008323, allocations: 413.3 kB / 393.6 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.008335, allocations: 192 / 393.6 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.008352, allocations: 12.06 kB / 393.6 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.008357, allocations: 0 / 393.6 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006324/0.00899, allocations: 167.8 kB / 393.7 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.009409, allocations: 305.6 kB / 394 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.01045, allocations: 315.6 kB / 394.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/0.01088, allocations: 146.5 kB / 394.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.01091, allocations: 4 kB / 394.5 MB, free: 8.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.01094, allocations: 42.72 kB / 394.5 MB, free: 7.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.01095, allocations: 0 / 394.5 MB, free: 7.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001197/0.01214, allocations: 345.4 kB / 394.9 MB, free: 7.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/0.01224, allocations: 111.2 kB / 395 MB, free: 7.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.01234, allocations: 105.8 kB / 395.1 MB, free: 7.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.01237, allocations: 25.7 kB / 395.1 MB, free: 7.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.01242, allocations: 88.2 kB / 395.2 MB, free: 7.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.01244, allocations: 7.953 kB / 395.2 MB, free: 7.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.01247, allocations: 9.719 kB / 395.2 MB, free: 7.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.0127, allocations: 322.8 kB / 395.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.01271, allocations: 0 / 395.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.01273, allocations: 13.72 kB / 395.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.056e-05/0.01277, allocations: 21.66 kB / 395.6 MB, free: 6.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01277, allocations: 0 / 395.6 MB, free: 6.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.814e-05/0.01285, allocations: 53.62 kB / 395.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.01286, allocations: 4 kB / 395.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.01287, allocations: 0 / 395.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.01288, allocations: 4 kB / 395.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.732e-05/0.01293, allocations: 3.938 kB / 395.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.01294, allocations: 4 kB / 395.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.01296, allocations: 4.188 kB / 395.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.01297, allocations: 3.984 kB / 395.6 MB, free: 6.793 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 0.0001027/0.01307, allocations: 117.8 kB / 395.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008303/0.0139, allocations: 245.4 kB / 396 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.01403, allocations: 57.75 kB / 396.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.01403, allocations: 7.969 kB / 396.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01404, allocations: 0 / 396.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01404, allocations: 4 kB / 396.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.01425, allocations: 117.4 kB / 396.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01426, allocations: 0 / 396.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.01451, allocations: 47.95 kB / 396.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.01452, allocations: 4 kB / 396.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.01454, allocations: 7.875 kB / 396.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.01454, allocations: 4 kB / 396.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01454, allocations: 0 / 396.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.01545, allocations: 435.4 kB / 396.7 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.01546, allocations: 3.953 kB / 396.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.01549, allocations: 11.94 kB / 396.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.01573, allocations: 19.98 kB / 396.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.01575, allocations: 7.984 kB / 396.7 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.01576, allocations: 4 kB / 396.7 MB, free: 5.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.741e-05/0.01582, allocations: 83.28 kB / 396.8 MB, free: 5.566 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01582, allocations: 0 / 396.8 MB, free: 5.566 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.0161, allocations: 16 kB / 396.8 MB, free: 5.551 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001242/0.01623, allocations: 91.19 kB / 396.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004341/0.01666, allocations: 115.9 kB / 397 MB, free: 5.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.01666, allocations: 4.062 kB / 397 MB, free: 5.336 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.01669, allocations: 11.94 kB / 397 MB, free: 5.324 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/0.01742, allocations: 120 kB / 397.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.01925, allocations: 390.2 kB / 397.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.01935, allocations: 87.17 kB / 397.6 MB, free: 4.688 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.869e-05/0.01937, allocations: 3.938 kB / 397.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.01943, allocations: 20.5 kB / 397.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.01943, allocations: 0 / 397.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of Templates: time 0.003729/0.02316, allocations: 0.9056 MB / 398.5 MB, free: 3.762 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.QfURegulation.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Tests.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.33380414545536] Failed to read output from testmodel.py, exit status != 0: 0.03207577392458916 0.046725671 0.038228283 Calling exit ...