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.006912/0.006912, allocations: 109 kB / 15.71 MB, free: 5.996 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.001564/0.001564, allocations: 194.6 kB / 16.65 MB, free: 5.934 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.455/1.455, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02804/0.02803, allocations: 5.4 MB / 295.9 MB, free: 9.492 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.91 kB / 409.2 MB, free: 26.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1361, allocations: 50.63 MB / 459.9 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.009636/0.1458, allocations: 8.12 MB / 468 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005811/0.1517, allocations: 2.554 MB / 470.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.1533, allocations: 63.81 kB / 470.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007027/0.1604, allocations: 3.016 MB / 473.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.1644, allocations: 0.8547 MB / 474.5 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.1669, allocations: 0.8289 MB / 475.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005926/0.1728, allocations: 3.651 MB / 478.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01763/0.1905, allocations: 10.37 MB / 489.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004517/0.1951, allocations: 2.147 MB / 491.5 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004895/0.2, allocations: 2.387 MB / 493.8 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00223/0.2023, allocations: 0.6602 MB / 494.5 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003717/0.206, allocations: 0.9294 MB / 495.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002469/0.2085, allocations: 1.224 MB / 496.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005602/0.2142, allocations: 2.355 MB / 499 MB, free: 48 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.2265, allocations: 8.543 MB / 0.4957 GB, free: 7.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2266, allocations: 0 / 0.4957 GB, free: 7.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2266, allocations: 0 / 0.4957 GB, free: 7.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003128/0.2269, allocations: 0 / 0.4957 GB, free: 7.48 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.01579/0.2427, allocations: 4.786 MB / 0.5003 GB, free: 2.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.2428, allocations: 15.97 kB / 0.5003 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009105/0.2519, allocations: 1.546 MB / 0.5019 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2719/0.5238, allocations: 2.598 MB / 0.5044 GB, free: 44.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003121/0.5242, allocations: 300.8 kB / 0.5047 GB, free: 44.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001361/0.5255, allocations: 393.3 kB / 0.5051 GB, free: 44.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01446/0.54, allocations: 6.359 MB / 0.5113 GB, free: 41.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.981e-05/0.5401, allocations: 9.344 kB / 0.5113 GB, free: 41.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005411/0.5407, allocations: 160.3 kB / 0.5114 GB, free: 41.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003746/0.5411, allocations: 204.7 kB / 0.5116 GB, free: 41.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/0.5534, allocations: 5.36 MB / 0.5169 GB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02935/0.5828, allocations: 21.35 MB / 0.5377 GB, free: 22.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004132/0.587, allocations: 3.79 MB / 0.5414 GB, free: 18.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000997/0.5881, allocations: 0.7118 MB / 0.5421 GB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.5882, allocations: 110 kB / 0.5422 GB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.5883, allocations: 39.56 kB / 0.5422 GB, free: 17.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 4.689e-06/0.5883, allocations: 0 / 0.5422 GB, free: 17.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=86): time 0.002359/0.5906, allocations: 1.623 MB / 0.5438 GB, free: 15.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.5907, allocations: 86.11 kB / 0.5439 GB, free: 15.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.5928, allocations: 1.598 MB / 0.5455 GB, free: 13.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.5929, allocations: 41.7 kB / 0.5455 GB, free: 13.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007326/0.5936, allocations: 1.776 MB / 0.5472 GB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.5938, allocations: 335.3 kB / 0.5476 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005622/0.5944, allocations: 0.4911 MB / 0.548 GB, free: 11.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.5945, allocations: 345.9 kB / 0.5484 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.5957, allocations: 1.079 MB / 0.5494 GB, free: 9.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.5972, allocations: 2.014 MB / 0.5514 GB, free: 7.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/0.5999, allocations: 3.054 MB / 0.5544 GB, free: 3.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/0.5999, allocations: 8 kB / 0.5544 GB, free: 3.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003923/0.6039, allocations: 3.074 MB / 0.5574 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.6039, allocations: 23.94 kB / 0.5574 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.19e-05/0.604, allocations: 32 kB / 0.5574 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.958e-05/0.604, allocations: 52 kB / 0.5575 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.6057, allocations: 0.5699 MB / 0.558 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.151e-05/0.6058, allocations: 71.77 kB / 0.5581 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.6075, allocations: 325 kB / 0.5584 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.6077, allocations: 128 kB / 0.5585 GB, free: 15.54 MB / 398.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.002709/0.6104, allocations: 1.638 MB / 0.5601 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003065/0.6107, allocations: 126.3 kB / 0.5603 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.6132, allocations: 1.383 MB / 0.5616 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001579/0.6148, allocations: 1.057 MB / 0.5627 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.6148, allocations: 0 / 0.5627 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.6148, allocations: 5.062 kB / 0.5627 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007007/0.6218, allocations: 4.262 MB / 0.5668 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.6219, allocations: 0 / 0.5668 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000858/0.6227, allocations: 203.7 kB / 0.567 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.6227, allocations: 12.12 kB / 0.567 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.6228, allocations: 19.98 kB / 0.567 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.6228, allocations: 11.94 kB / 0.5671 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6228, allocations: 0 / 0.5671 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/0.6257, allocations: 2.095 MB / 0.5691 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.6263, allocations: 319.1 kB / 0.5694 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.6264, allocations: 16 kB / 0.5694 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/0.627, allocations: 62.98 kB / 0.5695 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.6272, allocations: 68.86 kB / 0.5695 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.403e-05/0.6272, allocations: 31.98 kB / 0.5696 GB, free: 4.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001589/0.6288, allocations: 1.101 MB / 0.5707 GB, free: 3.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6288, allocations: 0 / 0.5707 GB, free: 3.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00242/0.6313, allocations: 0.8434 MB / 0.5715 GB, free: 2.172 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 (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.0003577/0.6316, allocations: 184.1 kB / 0.5716 GB, free: 1.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003229/0.6349, allocations: 2.017 MB / 0.5736 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6349, allocations: 320 / 0.5736 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008416/0.6357, allocations: 0.5755 MB / 0.5742 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.6372, allocations: 302.2 kB / 0.5745 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.6474, allocations: 5.8 MB / 0.5801 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002786/0.6502, allocations: 2.9 MB / 0.583 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002087/0.6523, allocations: 0.8165 MB / 0.5838 GB, free: 5.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/0.6527, allocations: 119.4 kB / 0.5839 GB, free: 5.418 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6527, allocations: 4 kB / 0.5839 GB, free: 5.414 MB / 414.1 MB Notification: Performance of Templates: time 0.03638/0.6891, allocations: 19.66 MB / 0.6031 GB, free: 1.879 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)