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.001392/0.001392, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001691/0.001691, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.03222/0.03222, allocations: 5.481 MB / 317.9 MB, free: 13.5 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: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 63.91 kB / 442.7 MB, free: 6.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1099, allocations: 54.62 MB / 497.3 MB, free: 280 kB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01039/0.1203, allocations: 7.233 MB / 0.4927 GB, free: 9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005791/0.1261, allocations: 2.499 MB / 0.4951 GB, free: 6.492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.1275, allocations: 75.62 kB / 0.4952 GB, free: 6.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007677/0.1352, allocations: 2.817 MB / 0.498 GB, free: 3.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003508/0.1387, allocations: 0.6943 MB / 0.4986 GB, free: 2.898 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.1415, allocations: 0.9308 MB / 0.4995 GB, free: 1.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005272/0.1468, allocations: 3.673 MB / 0.5031 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/0.1579, allocations: 6.286 MB / 0.5093 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003367/0.1613, allocations: 2.198 MB / 0.5114 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004016/0.1653, allocations: 2.301 MB / 0.5137 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.1668, allocations: 0.6602 MB / 0.5143 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.1693, allocations: 0.945 MB / 0.5152 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002093/0.1714, allocations: 1.228 MB / 0.5164 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2133/0.3847, allocations: 1.814 MB / 0.5182 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009969/0.3947, allocations: 8.612 MB / 0.5266 GB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3947, allocations: 0 / 0.5266 GB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.3947, allocations: 1.219 kB / 0.5266 GB, free: 14.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002777/0.395, allocations: 4.438 kB / 0.5266 GB, free: 14.56 MB / 382.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.01512/0.4101, allocations: 4.795 MB / 0.5313 GB, free: 13.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4101, allocations: 8.25 kB / 0.5313 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.4204, allocations: 1.589 MB / 0.5329 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006083/0.4265, allocations: 2.629 MB / 0.5354 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003669/0.4268, allocations: 300.7 kB / 0.5357 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001681/0.4285, allocations: 396.6 kB / 0.5361 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01722/0.4457, allocations: 6.374 MB / 0.5423 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.4459, allocations: 1.5 kB / 0.5423 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/0.4469, allocations: 159.3 kB / 0.5425 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002555/0.4472, allocations: 201.2 kB / 0.5427 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.4585, allocations: 5.35 MB / 0.5479 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03504/0.4935, allocations: 17.92 MB / 0.5654 GB, free: 6.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004972/0.4985, allocations: 1.893 MB / 0.5672 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.4999, allocations: 0.652 MB / 0.5679 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.5, allocations: 32.97 kB / 0.5679 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.5001, allocations: 50.19 kB / 0.568 GB, free: 4.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=86): time 3.156e-06/0.5001, allocations: 0 / 0.568 GB, free: 4.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=86): time 0.003417/0.5035, allocations: 1.623 MB / 0.5695 GB, free: 2.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.5036, allocations: 86.11 kB / 0.5696 GB, free: 2.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/0.507, allocations: 1.634 MB / 0.5712 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.5072, allocations: 37.7 kB / 0.5713 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.5089, allocations: 1.846 MB / 0.5731 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005262/0.5094, allocations: 335.1 kB / 0.5734 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.5106, allocations: 0.4997 MB / 0.5739 GB, free: 13.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.5108, allocations: 349.9 kB / 0.5742 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00211/0.5129, allocations: 1.082 MB / 0.5753 GB, free: 12.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002781/0.5157, allocations: 2.012 MB / 0.5772 GB, free: 10.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004548/0.5203, allocations: 3.06 MB / 0.5802 GB, free: 6.617 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.594e-05/0.5203, allocations: 11.75 kB / 0.5802 GB, free: 6.609 MB / 414.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.006346/0.5267, allocations: 3.085 MB / 0.5832 GB, free: 3.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.302e-05/0.5267, allocations: 20 kB / 0.5833 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.803e-05/0.5268, allocations: 40 kB / 0.5833 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.383e-05/0.5269, allocations: 48 kB / 0.5833 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/0.529, allocations: 0.5639 MB / 0.5839 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-05/0.5291, allocations: 73.38 kB / 0.584 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.5311, allocations: 332.7 kB / 0.5843 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003106/0.5314, allocations: 120 kB / 0.5844 GB, free: 2.602 MB / 414.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.003263/0.5347, allocations: 1.637 MB / 0.586 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004296/0.5351, allocations: 131.1 kB / 0.5861 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/0.5381, allocations: 1.39 MB / 0.5875 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001916/0.54, allocations: 1.065 MB / 0.5885 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.5401, allocations: 0 / 0.5885 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.5401, allocations: 7.984 kB / 0.5885 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009143/0.5492, allocations: 3.384 MB / 0.5918 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.5492, allocations: 2.625 kB / 0.5918 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009865/0.5502, allocations: 205.6 kB / 0.592 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.927e-05/0.5502, allocations: 4 kB / 0.592 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.742e-05/0.5503, allocations: 23.98 kB / 0.592 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.5503, allocations: 8 kB / 0.5921 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.5503, allocations: 3.938 kB / 0.5921 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003569/0.5539, allocations: 2.114 MB / 0.5941 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008292/0.5547, allocations: 230.9 kB / 0.5943 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/0.5551, allocations: 16 kB / 0.5944 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007919/0.5559, allocations: 59.92 kB / 0.5944 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.556, allocations: 75.28 kB / 0.5945 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.5561, allocations: 28 kB / 0.5945 GB, free: 8.227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002157/0.5582, allocations: 1.073 MB / 0.5956 GB, free: 7.148 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5582, allocations: 4.062 kB / 0.5956 GB, free: 7.145 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0032/0.5614, allocations: 0.8676 MB / 0.5964 GB, free: 6.273 MB / 430.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.0004573/0.5619, allocations: 173.8 kB / 0.5966 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003942/0.5658, allocations: 1.931 MB / 0.5985 GB, free: 4.277 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.5659, allocations: 0 / 0.5985 GB, free: 4.277 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.5669, allocations: 0.5426 MB / 0.599 GB, free: 3.762 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001936/0.5688, allocations: 296.6 kB / 0.5993 GB, free: 3.496 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.5816, allocations: 5.874 MB / 0.605 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003594/0.5852, allocations: 2.346 MB / 0.6073 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00214/0.5873, allocations: 0.8167 MB / 0.6081 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.5877, allocations: 123.4 kB / 0.6082 GB, free: 10.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5877, allocations: 0 / 0.6082 GB, free: 10.25 MB / 446.1 MB Notification: Performance of Templates: time 0.04406/0.6317, allocations: 22.62 MB / 0.6303 GB, free: 3.973 MB / 462.1 MB " [Timeout remaining time 659] 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.8480545319616795] Failed to read output from testmodel.py, exit status != 0: 0.640306381508708 0.6573722949999999 0.25909231499999996 Calling exit ...