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.001172/0.001172, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.006578/0.006578, allocations: 169.3 kB / 16.26 MB, free: 6.68 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1616/0.1616, allocations: 5.375 MB / 296.8 MB, free: 3.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005328/0.0005332, allocations: 11.98 kB / 359.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1417, allocations: 51.61 MB / 410.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.008119/0.1499, allocations: 7.468 MB / 418.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004772/0.1547, allocations: 2.484 MB / 420.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.1561, allocations: 59.81 kB / 420.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.1576, allocations: 0.5017 MB / 421.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002917/0.1606, allocations: 0.7661 MB / 422.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.1623, allocations: 0.7756 MB / 422.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2453/0.4076, allocations: 3.51 MB / 426.3 MB, free: 34.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01493/0.4226, allocations: 10.3 MB / 436.6 MB, free: 32.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.4251, allocations: 1.43 MB / 438.1 MB, free: 32.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.4276, allocations: 1.742 MB / 439.8 MB, free: 31.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003918/0.428, allocations: 249.8 kB / 440.1 MB, free: 31.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.4293, allocations: 0.505 MB / 440.6 MB, free: 31.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005629/0.4299, allocations: 0.7137 MB / 441.3 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001803/0.4317, allocations: 1.823 MB / 443.1 MB, free: 29.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006622/0.4384, allocations: 7.995 MB / 451.1 MB, free: 28.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4384, allocations: 0 / 451.1 MB, free: 28.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4384, allocations: 0 / 451.1 MB, free: 28.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002294/0.4387, allocations: 3.938 kB / 451.1 MB, free: 28.15 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.01052/0.4492, allocations: 3.895 MB / 455 MB, free: 26.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4492, allocations: 8.062 kB / 455 MB, free: 26.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009495/0.4588, allocations: 1.556 MB / 456.6 MB, free: 26.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004649/0.4634, allocations: 2.533 MB / 459.1 MB, free: 24.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/0.4637, allocations: 294.9 kB / 459.4 MB, free: 24.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001675/0.4654, allocations: 391.8 kB / 459.8 MB, free: 24.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/0.4843, allocations: 6.393 MB / 466.2 MB, free: 21.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/0.4845, allocations: 5.984 kB / 466.2 MB, free: 21.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004803/0.485, allocations: 159.7 kB / 466.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002706/0.4852, allocations: 201.7 kB / 466.5 MB, free: 21.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/0.4975, allocations: 5.392 MB / 471.9 MB, free: 19.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03204/0.5296, allocations: 21.65 MB / 493.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004323/0.5339, allocations: 3.849 MB / 497.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.5351, allocations: 0.767 MB / 498.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.5353, allocations: 106.2 kB / 498.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.5354, allocations: 47.5 kB / 498.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 5.13e-06/0.5354, allocations: 0 / 498.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.003641/0.5391, allocations: 1.767 MB / 0.4884 GB, free: 13.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.5392, allocations: 86.11 kB / 0.4884 GB, free: 13.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/0.5422, allocations: 1.594 MB / 0.49 GB, free: 12.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.5424, allocations: 45.7 kB / 0.49 GB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.5439, allocations: 1.773 MB / 0.4918 GB, free: 10.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.5443, allocations: 342 kB / 0.4921 GB, free: 9.953 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.5445, allocations: 185.7 kB / 0.4923 GB, free: 9.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5447, allocations: 349.9 kB / 0.4926 GB, free: 9.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.5465, allocations: 1.126 MB / 0.4937 GB, free: 8.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.5489, allocations: 2.062 MB / 0.4957 GB, free: 5.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004351/0.5533, allocations: 3.147 MB / 0.4988 GB, free: 2.242 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-05/0.5533, allocations: 15.94 kB / 0.4988 GB, free: 2.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00536/0.5587, allocations: 3.177 MB / 0.5019 GB, free: 15.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.5588, allocations: 20 kB / 0.5019 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-05/0.5588, allocations: 32 kB / 0.502 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.507e-05/0.5589, allocations: 52 kB / 0.502 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.5609, allocations: 0.5733 MB / 0.5026 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.324e-05/0.561, allocations: 71.72 kB / 0.5027 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.5629, allocations: 344.9 kB / 0.503 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/0.5632, allocations: 124 kB / 0.5031 GB, free: 13.95 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.003574/0.5668, allocations: 1.625 MB / 0.5047 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004529/0.5673, allocations: 130.3 kB / 0.5048 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/0.5701, allocations: 1.487 MB / 0.5063 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001739/0.5719, allocations: 1.154 MB / 0.5074 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5719, allocations: 0 / 0.5074 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.5719, allocations: 3.984 kB / 0.5074 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009774/0.5817, allocations: 4.449 MB / 0.5117 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.5818, allocations: 0 / 0.5117 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008853/0.5826, allocations: 215.8 kB / 0.5119 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-05/0.5827, allocations: 8 kB / 0.5119 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.5828, allocations: 24 kB / 0.512 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/0.5828, allocations: 7.938 kB / 0.512 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5828, allocations: 0 / 0.512 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003256/0.5861, allocations: 2.266 MB / 0.5142 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006844/0.5868, allocations: 339 kB / 0.5145 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003306/0.5871, allocations: 16 kB / 0.5145 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/0.5879, allocations: 67.86 kB / 0.5146 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.5881, allocations: 68.86 kB / 0.5147 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-05/0.5881, allocations: 31.98 kB / 0.5147 GB, free: 1.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002098/0.5903, allocations: 1.101 MB / 0.5158 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5903, allocations: 0 / 0.5158 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002958/0.5932, allocations: 0.8553 MB / 0.5166 GB, free: 15.98 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.0003966/0.5936, allocations: 178.1 kB / 0.5168 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003563/0.5972, allocations: 2.118 MB / 0.5188 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5972, allocations: 4 kB / 0.5188 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009442/0.5982, allocations: 0.62 MB / 0.5195 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.6002, allocations: 283.6 kB / 0.5197 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.6138, allocations: 7.537 MB / 0.5271 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003708/0.6176, allocations: 2.902 MB / 0.5299 GB, free: 2.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002469/0.6201, allocations: 0.8129 MB / 0.5307 GB, free: 1.449 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/0.6206, allocations: 119.4 kB / 0.5308 GB, free: 1.332 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6206, allocations: 0 / 0.5308 GB, free: 1.332 MB / 398.1 MB Notification: Performance of Templates: time 0.04089/0.6615, allocations: 19.43 MB / 0.5498 GB, free: 14.06 MB / 430.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: