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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001518, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 197.9 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1348/0.1348, allocations: 5.392 MB / 295.5 MB, free: 2.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 55.91 kB / 356.9 MB, free: 1.918 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09986/0.1009, allocations: 50.62 MB / 407.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.00836/0.1093, allocations: 8.048 MB / 415.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004183/0.1135, allocations: 2.503 MB / 418.1 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006289/0.1142, allocations: 59.81 kB / 418.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005644/0.1199, allocations: 2.864 MB / 421 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.1224, allocations: 0.7622 MB / 421.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.1241, allocations: 0.7713 MB / 422.5 MB, free: 196 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1693/0.2935, allocations: 3.594 MB / 426.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0139/0.3075, allocations: 11.98 MB / 438.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00365/0.3112, allocations: 2.175 MB / 440.3 MB, free: 30.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003604/0.3148, allocations: 2.404 MB / 442.7 MB, free: 29.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.3161, allocations: 0.6625 MB / 443.4 MB, free: 29.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.318, allocations: 0.9249 MB / 444.3 MB, free: 29.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000845/0.3189, allocations: 1.226 MB / 445.5 MB, free: 28.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002315/0.3212, allocations: 2.367 MB / 447.9 MB, free: 26.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006735/0.328, allocations: 8.489 MB / 456.4 MB, free: 24.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.328, allocations: 0 / 456.4 MB, free: 24.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.328, allocations: 1.688 kB / 456.4 MB, free: 24.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002466/0.3283, allocations: 0 / 456.4 MB, free: 24.12 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.013/0.3413, allocations: 4.805 MB / 461.2 MB, free: 21.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3414, allocations: 10.62 kB / 461.2 MB, free: 21.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008738/0.3501, allocations: 1.544 MB / 462.7 MB, free: 21.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/0.3554, allocations: 2.539 MB / 465.3 MB, free: 19.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.3557, allocations: 299.2 kB / 465.6 MB, free: 19.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009436/0.3566, allocations: 392.4 kB / 465.9 MB, free: 19.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/0.3714, allocations: 6.383 MB / 472.3 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-05/0.3716, allocations: 10.69 kB / 472.3 MB, free: 17.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004073/0.372, allocations: 160.6 kB / 472.5 MB, free: 17.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002421/0.3722, allocations: 203 kB / 472.7 MB, free: 17.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.3825, allocations: 5.385 MB / 478.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02665/0.4092, allocations: 21.61 MB / 499.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004694/0.4139, allocations: 3.834 MB / 0.4917 GB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.415, allocations: 0.7581 MB / 0.4925 GB, free: 7.996 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.4152, allocations: 109.8 kB / 0.4926 GB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.4153, allocations: 43.5 kB / 0.4926 GB, free: 7.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.236e-06/0.4153, allocations: 0 / 0.4926 GB, free: 7.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.002729/0.418, allocations: 1.748 MB / 0.4943 GB, free: 6.074 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.4181, allocations: 86.11 kB / 0.4944 GB, free: 5.973 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.4202, allocations: 1.606 MB / 0.496 GB, free: 4.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.139e-05/0.4203, allocations: 37.7 kB / 0.496 GB, free: 4.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009853/0.4213, allocations: 1.774 MB / 0.4977 GB, free: 2.523 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.4216, allocations: 335.9 kB / 0.498 GB, free: 2.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007054/0.4223, allocations: 0.4988 MB / 0.4985 GB, free: 1.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4225, allocations: 349.9 kB / 0.4989 GB, free: 1.348 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.424, allocations: 1.124 MB / 0.5 GB, free: 220 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.4261, allocations: 2.053 MB / 0.502 GB, free: 13.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/0.4296, allocations: 3.137 MB / 0.505 GB, free: 10.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/0.4296, allocations: 11.94 kB / 0.505 GB, free: 10.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005118/0.4348, allocations: 3.171 MB / 0.5081 GB, free: 7.105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.4348, allocations: 20 kB / 0.5082 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.244e-05/0.4349, allocations: 36 kB / 0.5082 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.769e-05/0.4349, allocations: 48 kB / 0.5082 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/0.4369, allocations: 0.566 MB / 0.5088 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.501e-05/0.4369, allocations: 75.7 kB / 0.5089 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.4387, allocations: 337 kB / 0.5092 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.4389, allocations: 124 kB / 0.5093 GB, free: 5.906 MB / 382.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 (281): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003179/0.4421, allocations: 1.625 MB / 0.5109 GB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.4425, allocations: 142.2 kB / 0.511 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.445, allocations: 1.464 MB / 0.5125 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001634/0.4466, allocations: 1.147 MB / 0.5136 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.4466, allocations: 4 kB / 0.5136 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.4466, allocations: 3.984 kB / 0.5136 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007223/0.4539, allocations: 4.438 MB / 0.5179 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.4539, allocations: 0 / 0.5179 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008677/0.4548, allocations: 207.8 kB / 0.5181 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.4548, allocations: 8 kB / 0.5181 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.145e-05/0.4549, allocations: 19.98 kB / 0.5181 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.4549, allocations: 8 kB / 0.5182 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4549, allocations: 0 / 0.5182 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/0.4579, allocations: 2.254 MB / 0.5204 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.4585, allocations: 319.2 kB / 0.5207 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.4586, allocations: 20 kB / 0.5207 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/0.4593, allocations: 59.98 kB / 0.5207 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.4594, allocations: 68.8 kB / 0.5208 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/0.4595, allocations: 27.98 kB / 0.5208 GB, free: 9.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001458/0.461, allocations: 1.105 MB / 0.5219 GB, free: 8.871 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.461, allocations: 0 / 0.5219 GB, free: 8.871 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002317/0.4633, allocations: 0.847 MB / 0.5227 GB, free: 8.02 MB / 398.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 (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0003146/0.4636, allocations: 187.5 kB / 0.5229 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00407/0.4677, allocations: 2.541 MB / 0.5254 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4677, allocations: 0 / 0.5254 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008443/0.4686, allocations: 0.6185 MB / 0.526 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.4701, allocations: 308.4 kB / 0.5263 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.4804, allocations: 7.495 MB / 0.5336 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/0.4829, allocations: 2.902 MB / 0.5364 GB, free: 9.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002046/0.485, allocations: 0.809 MB / 0.5372 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.4853, allocations: 123.4 kB / 0.5374 GB, free: 8.973 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4853, allocations: 4 kB / 0.5374 GB, free: 8.969 MB / 414.1 MB Notification: Performance of Templates: time 0.03513/0.5204, allocations: 20.37 MB / 0.5572 GB, free: 4.777 MB / 430.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile (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)