Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.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.001344/0.001344, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001433/0.001433, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.408/1.408, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.02833/0.02833, allocations: 4.222 MB / 263.4 MB, free: 12.57 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/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(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 3.938 kB / 388.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/3.001e-05, allocations: 2.281 kB / 388.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.009268/0.009298, allocations: 7.25 MB / 395.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004264/0.01356, allocations: 2.507 MB / 398 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004412/0.014, allocations: 75.56 kB / 398.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006132/0.02013, allocations: 2.977 MB / 401 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.02191, allocations: 0.7215 MB / 401.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.02374, allocations: 0.915 MB / 402.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00378/0.02752, allocations: 3.789 MB / 406.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008448/0.03597, allocations: 6.29 MB / 412.8 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00459/0.04056, allocations: 3.308 MB / 416.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002952/0.04351, allocations: 2.066 MB / 418.1 MB, free: 20 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000861/0.04437, allocations: 0.6641 MB / 418.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.0461, allocations: 0.9603 MB / 419.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.04724, allocations: 1.243 MB / 421 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002092/0.04934, allocations: 1.56 MB / 422.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008638/0.05798, allocations: 8.704 MB / 431.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.05798, allocations: 11.88 kB / 431.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.05798, allocations: 0 / 431.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001308/0.05811, allocations: 0 / 431.3 MB, free: 2.848 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1072 * Number of variables: 1072 Notification: Performance of Generate backend data structure: time 0.01117/0.06928, allocations: 4.759 MB / 436 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.06932, allocations: 12.03 kB / 436.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009571/0.07889, allocations: 1.583 MB / 437.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00439/0.08328, allocations: 2.633 MB / 440.3 MB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.08353, allocations: 296.4 kB / 440.6 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000649/0.08418, allocations: 396.3 kB / 440.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.09481, allocations: 6.368 MB / 447.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.922e-05/0.09488, allocations: 3.984 kB / 447.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004149/0.09529, allocations: 168 kB / 447.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002115/0.0955, allocations: 195.4 kB / 447.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1631/0.2586, allocations: 5.356 MB / 453 MB, free: 62.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0279/0.2865, allocations: 17.93 MB / 471 MB, free: 51.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/0.2903, allocations: 1.885 MB / 472.8 MB, free: 50.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008895/0.2911, allocations: 0.6527 MB / 473.5 MB, free: 49.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.2913, allocations: 34.41 kB / 473.5 MB, free: 49.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2913, allocations: 44.47 kB / 473.6 MB, free: 49.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 3.306e-06/0.2913, allocations: 0 / 473.6 MB, free: 49.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=86): time 0.002161/0.2935, allocations: 1.626 MB / 475.2 MB, free: 48.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.2935, allocations: 93.55 kB / 475.3 MB, free: 48.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.2951, allocations: 1.631 MB / 476.9 MB, free: 47.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.2951, allocations: 41.52 kB / 477 MB, free: 47.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006085/0.2957, allocations: 1.832 MB / 478.8 MB, free: 46.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.2959, allocations: 342.6 kB / 479.1 MB, free: 45.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005171/0.2964, allocations: 491.7 kB / 479.6 MB, free: 45.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.2965, allocations: 357.5 kB / 480 MB, free: 45.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.2977, allocations: 1.079 MB / 481 MB, free: 44.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.2992, allocations: 2.009 MB / 483 MB, free: 41.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002538/0.3017, allocations: 3.061 MB / 486.1 MB, free: 38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.391e-05/0.3017, allocations: 12 kB / 486.1 MB, free: 37.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003575/0.3053, allocations: 3.083 MB / 489.2 MB, free: 34.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.3053, allocations: 27.97 kB / 489.2 MB, free: 34.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.3054, allocations: 35.94 kB / 489.3 MB, free: 34.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.731e-05/0.3054, allocations: 52 kB / 489.3 MB, free: 34.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.3071, allocations: 0.5615 MB / 489.9 MB, free: 34.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.701e-05/0.3071, allocations: 71.72 kB / 489.9 MB, free: 34.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.3084, allocations: 333.9 kB / 490.3 MB, free: 33.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.3086, allocations: 124 kB / 490.4 MB, free: 33.7 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.plug_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = \"rad\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 1 (converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (278): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001836/0.3104, allocations: 1.632 MB / 492 MB, free: 32.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.3106, allocations: 135.1 kB / 492.2 MB, free: 31.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.3125, allocations: 1.393 MB / 493.6 MB, free: 30.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001235/0.3137, allocations: 1.068 MB / 494.6 MB, free: 29.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3137, allocations: 0 / 494.6 MB, free: 29.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.3138, allocations: 3.984 kB / 494.6 MB, free: 29.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004604/0.3184, allocations: 3.372 MB / 498 MB, free: 26.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3184, allocations: 4 kB / 498 MB, free: 26.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008/0.3192, allocations: 215.8 kB / 498.2 MB, free: 25.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/0.3192, allocations: 4 kB / 498.2 MB, free: 25.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.3192, allocations: 23.98 kB / 498.2 MB, free: 25.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3192, allocations: 4 kB / 498.2 MB, free: 25.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3192, allocations: 4 kB / 498.2 MB, free: 25.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002238/0.3215, allocations: 2.111 MB / 0.4886 GB, free: 23.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.3218, allocations: 230.8 kB / 0.4889 GB, free: 23.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.322, allocations: 20 kB / 0.4889 GB, free: 23.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005732/0.3226, allocations: 55.92 kB / 0.4889 GB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3227, allocations: 64.88 kB / 0.489 GB, free: 23.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.3228, allocations: 28 kB / 0.489 GB, free: 23.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001048/0.3238, allocations: 1.076 MB / 0.4901 GB, free: 22.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3238, allocations: 0 / 0.4901 GB, free: 22.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00207/0.3259, allocations: 0.8716 MB / 0.4909 GB, free: 21.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (voltageSource.plug_p.reference.gamma,converter.integrator.y) * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002859/0.3262, allocations: 178.6 kB / 0.4911 GB, free: 21.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002368/0.3285, allocations: 1.939 MB / 0.493 GB, free: 19.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3285, allocations: 0 / 0.493 GB, free: 19.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006552/0.3292, allocations: 0.534 MB / 0.4935 GB, free: 18.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.3306, allocations: 307.7 kB / 0.4938 GB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006768/0.3373, allocations: 5.825 MB / 0.4995 GB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.339, allocations: 2.351 MB / 0.5018 GB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001372/0.3404, allocations: 0.8048 MB / 0.5026 GB, free: 9.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.3407, allocations: 128.5 kB / 0.5027 GB, free: 9.172 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3407, allocations: 0 / 0.5027 GB, free: 9.172 MB / 366.1 MB Notification: Performance of Templates: time 0.03268/0.3734, allocations: 19.19 MB / 0.5214 GB, free: 6.227 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.sim & ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.043832708150148] Failed to read output from testmodel.py, exit status != 0: 0.3820701651275158 0.396916344 0.335880792 Calling exit ...