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.005467/0.005467, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001127/0.001127, allocations: 199.1 kB / 16.68 MB, free: 5.93 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02719/0.02719, allocations: 5.404 MB / 295.9 MB, free: 9.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 409.3 MB, free: 26.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/0.09443, allocations: 50.63 MB / 459.9 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.009774/0.1042, allocations: 8.12 MB / 468 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005464/0.1098, allocations: 2.554 MB / 470.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.1115, allocations: 67.81 kB / 470.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00747/0.119, allocations: 3.031 MB / 473.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003537/0.1226, allocations: 0.8586 MB / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.1249, allocations: 0.8248 MB / 475.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004995/0.1299, allocations: 3.651 MB / 479 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01608/0.146, allocations: 10.37 MB / 489.4 MB, free: 9.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003601/0.1496, allocations: 2.159 MB / 491.5 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003985/0.1536, allocations: 2.383 MB / 493.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001717/0.1554, allocations: 0.6602 MB / 494.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003068/0.1585, allocations: 0.9177 MB / 495.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001973/0.1605, allocations: 1.22 MB / 496.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003206/0.1637, allocations: 2.362 MB / 499.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008253/0.172, allocations: 8.543 MB / 0.4957 GB, free: 7.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.172, allocations: 0 / 0.4957 GB, free: 7.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.172, allocations: 0 / 0.4957 GB, free: 7.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001832/0.1722, allocations: 0 / 0.4957 GB, free: 7.414 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.01349/0.1857, allocations: 4.793 MB / 0.5004 GB, free: 2.555 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1858, allocations: 8.031 kB / 0.5004 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009145/0.1949, allocations: 1.546 MB / 0.5019 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3033/0.4982, allocations: 2.613 MB / 0.5045 GB, free: 44.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.4986, allocations: 298.3 kB / 0.5048 GB, free: 44.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001659/0.5002, allocations: 391.9 kB / 0.5051 GB, free: 44.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.5164, allocations: 6.359 MB / 0.5113 GB, free: 41.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001801/0.5166, allocations: 4.344 kB / 0.5113 GB, free: 41.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009006/0.5175, allocations: 161.4 kB / 0.5115 GB, free: 41.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004246/0.518, allocations: 204.5 kB / 0.5117 GB, free: 41.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/0.5295, allocations: 5.361 MB / 0.5169 GB, free: 39.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/0.5613, allocations: 21.35 MB / 0.5378 GB, free: 22.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004552/0.5659, allocations: 3.789 MB / 0.5415 GB, free: 18.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.567, allocations: 0.7083 MB / 0.5422 GB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.5672, allocations: 107.7 kB / 0.5423 GB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.5672, allocations: 51.33 kB / 0.5423 GB, free: 17.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 6.212e-06/0.5672, allocations: 0 / 0.5423 GB, free: 17.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=86): time 0.002483/0.5697, allocations: 1.615 MB / 0.5439 GB, free: 15.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.5698, allocations: 86.11 kB / 0.544 GB, free: 15.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.5721, allocations: 1.603 MB / 0.5455 GB, free: 13.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.878e-05/0.5722, allocations: 45.64 kB / 0.5456 GB, free: 13.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008393/0.5731, allocations: 1.775 MB / 0.5473 GB, free: 11.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.5733, allocations: 319.5 kB / 0.5476 GB, free: 11.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006803/0.574, allocations: 495.4 kB / 0.5481 GB, free: 11.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.5741, allocations: 353.9 kB / 0.5484 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.5755, allocations: 1.079 MB / 0.5495 GB, free: 9.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.5773, allocations: 2.01 MB / 0.5514 GB, free: 7.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003038/0.5803, allocations: 3.058 MB / 0.5544 GB, free: 3.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.485e-05/0.5804, allocations: 11.94 kB / 0.5544 GB, free: 3.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004249/0.5846, allocations: 3.067 MB / 0.5574 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.5847, allocations: 28.02 kB / 0.5575 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-05/0.5847, allocations: 40 kB / 0.5575 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.448e-05/0.5848, allocations: 48 kB / 0.5576 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.5865, allocations: 0.5576 MB / 0.5581 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.524e-05/0.5866, allocations: 79.7 kB / 0.5582 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.5883, allocations: 336.9 kB / 0.5585 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.5885, allocations: 128 kB / 0.5586 GB, free: 15.41 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.002529/0.5911, allocations: 1.626 MB / 0.5602 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/0.5914, allocations: 134.3 kB / 0.5603 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.5938, allocations: 1.378 MB / 0.5617 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001602/0.5954, allocations: 1.054 MB / 0.5627 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5954, allocations: 0 / 0.5627 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.5954, allocations: 7.969 kB / 0.5627 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008846/0.6043, allocations: 4.265 MB / 0.5669 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.6043, allocations: 4 kB / 0.5669 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009105/0.6053, allocations: 215.8 kB / 0.5671 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/0.6053, allocations: 4 kB / 0.5671 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/0.6054, allocations: 20 kB / 0.5671 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.6054, allocations: 7.828 kB / 0.5671 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6054, allocations: 4 kB / 0.5671 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/0.6085, allocations: 2.098 MB / 0.5692 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/0.6091, allocations: 311.2 kB / 0.5695 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/0.6094, allocations: 28 kB / 0.5695 GB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007075/0.6101, allocations: 59.92 kB / 0.5696 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.6103, allocations: 60.86 kB / 0.5696 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-05/0.6103, allocations: 31.98 kB / 0.5696 GB, free: 3.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001829/0.6122, allocations: 1.093 MB / 0.5707 GB, free: 2.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6122, allocations: 4 kB / 0.5707 GB, free: 2.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002899/0.6151, allocations: 0.8474 MB / 0.5715 GB, free: 2.047 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.0004521/0.6155, allocations: 179.8 kB / 0.5717 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003652/0.6192, allocations: 2.019 MB / 0.5737 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6192, allocations: 0 / 0.5737 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009335/0.6202, allocations: 0.5755 MB / 0.5742 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.6219, allocations: 302.2 kB / 0.5745 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.6338, allocations: 5.797 MB / 0.5802 GB, free: 9.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003456/0.6373, allocations: 2.9 MB / 0.583 GB, free: 6.234 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002064/0.6393, allocations: 0.8088 MB / 0.5838 GB, free: 5.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.6398, allocations: 119.4 kB / 0.5839 GB, free: 5.301 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6398, allocations: 4 kB / 0.5839 GB, free: 5.297 MB / 414.1 MB Notification: Performance of Templates: time 0.0384/0.6782, allocations: 20.51 MB / 0.604 GB, free: 0.8828 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)