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.001134/0.001134, allocations: 108.7 kB / 16.37 MB, free: 5.516 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.001092/0.001092, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02706/0.02706, allocations: 5.391 MB / 296.6 MB, free: 9.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 358.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1924, allocations: 50.61 MB / 409.5 MB, free: 29.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.00655/0.199, allocations: 8.125 MB / 417.6 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.2029, allocations: 2.556 MB / 420.1 MB, free: 19.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007855/0.2037, allocations: 59.81 kB / 420.2 MB, free: 19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004843/0.2086, allocations: 3.021 MB / 423.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.2105, allocations: 0.8661 MB / 424.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.2118, allocations: 0.8141 MB / 424.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002371/0.2142, allocations: 3.643 MB / 428.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007752/0.222, allocations: 10.39 MB / 438.9 MB, free: 160 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.2244, allocations: 2.151 MB / 441.1 MB, free: 14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/0.2271, allocations: 2.387 MB / 443.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006708/0.2278, allocations: 0.6602 MB / 444.1 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.2292, allocations: 0.9176 MB / 445.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000934/0.2301, allocations: 1.216 MB / 446.3 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002037/0.2321, allocations: 2.366 MB / 448.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006871/0.239, allocations: 8.539 MB / 457.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.239, allocations: 0 / 457.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2391, allocations: 0 / 457.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001005/0.2392, allocations: 0 / 457.2 MB, free: 13.87 MB / 334.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.009553/0.2487, allocations: 4.782 MB / 462 MB, free: 9.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.2488, allocations: 8.031 kB / 462 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008626/0.2574, allocations: 1.542 MB / 463.5 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005029/0.2624, allocations: 2.612 MB / 466.1 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.2627, allocations: 308.1 kB / 466.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006834/0.2634, allocations: 395.9 kB / 466.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/0.2734, allocations: 6.364 MB / 473.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.02e-05/0.2735, allocations: 0 / 473.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003993/0.2739, allocations: 160 kB / 473.3 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001838/0.2741, allocations: 203.4 kB / 473.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008169/0.2823, allocations: 5.354 MB / 478.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03544/0.3177, allocations: 21.36 MB / 0.4885 GB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007207/0.325, allocations: 3.784 MB / 0.4922 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001717/0.3268, allocations: 0.7106 MB / 0.4929 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.327, allocations: 114 kB / 0.493 GB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.327, allocations: 47.56 kB / 0.4931 GB, free: 12.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 5.14e-06/0.3271, allocations: 0 / 0.4931 GB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=86): time 0.004075/0.3311, allocations: 1.607 MB / 0.4946 GB, free: 11.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/0.3313, allocations: 94.11 kB / 0.4947 GB, free: 11.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/0.3348, allocations: 1.594 MB / 0.4963 GB, free: 9.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-05/0.3349, allocations: 45.7 kB / 0.4963 GB, free: 9.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.3363, allocations: 1.776 MB / 0.4981 GB, free: 7.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/0.3367, allocations: 323.6 kB / 0.4984 GB, free: 7.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.3378, allocations: 499.4 kB / 0.4988 GB, free: 6.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.338, allocations: 353.9 kB / 0.4992 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.3403, allocations: 1.083 MB / 0.5002 GB, free: 5.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/0.3433, allocations: 2.009 MB / 0.5022 GB, free: 2.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1827/0.5261, allocations: 3.049 MB / 0.5052 GB, free: 87.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.542e-05/0.5262, allocations: 10.47 kB / 0.5052 GB, free: 87.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.005134/0.5313, allocations: 3.07 MB / 0.5082 GB, free: 87.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.5314, allocations: 28.17 kB / 0.5082 GB, free: 87.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.892e-05/0.5314, allocations: 35.69 kB / 0.5082 GB, free: 87.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.296e-05/0.5315, allocations: 47.53 kB / 0.5083 GB, free: 87.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.5332, allocations: 0.5669 MB / 0.5088 GB, free: 87.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.673e-05/0.5333, allocations: 71.11 kB / 0.5089 GB, free: 87.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.5348, allocations: 338 kB / 0.5092 GB, free: 86.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.535, allocations: 123 kB / 0.5093 GB, free: 86.97 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 (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.002548/0.5376, allocations: 1.63 MB / 0.5109 GB, free: 86.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.5378, allocations: 128 kB / 0.5111 GB, free: 86.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.5405, allocations: 1.376 MB / 0.5124 GB, free: 85.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001608/0.5421, allocations: 1.057 MB / 0.5134 GB, free: 85.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.5421, allocations: 0 / 0.5134 GB, free: 85.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.5421, allocations: 7.812 kB / 0.5134 GB, free: 85.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005961/0.5481, allocations: 4.273 MB / 0.5176 GB, free: 83.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.5481, allocations: 2.438 kB / 0.5176 GB, free: 83.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007874/0.5489, allocations: 212.7 kB / 0.5178 GB, free: 83.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.5489, allocations: 7.844 kB / 0.5178 GB, free: 83.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/0.549, allocations: 21.62 kB / 0.5179 GB, free: 83.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.549, allocations: 3.875 kB / 0.5179 GB, free: 83.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.549, allocations: 3.875 kB / 0.5179 GB, free: 83.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.5512, allocations: 2.102 MB / 0.5199 GB, free: 82.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/0.5517, allocations: 304.3 kB / 0.5202 GB, free: 82.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.5518, allocations: 32.52 kB / 0.5202 GB, free: 82.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005404/0.5523, allocations: 58.61 kB / 0.5203 GB, free: 82.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5525, allocations: 59.36 kB / 0.5203 GB, free: 82.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.032e-05/0.5525, allocations: 27.62 kB / 0.5204 GB, free: 82.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001119/0.5537, allocations: 1.104 MB / 0.5215 GB, free: 81.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5537, allocations: 0 / 0.5215 GB, free: 81.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001934/0.5556, allocations: 0.8524 MB / 0.5223 GB, free: 81.41 MB / 382.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.0002552/0.5559, allocations: 181.2 kB / 0.5225 GB, free: 81.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.5582, allocations: 2.016 MB / 0.5244 GB, free: 79.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5582, allocations: 0 / 0.5244 GB, free: 79.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006336/0.5588, allocations: 0.573 MB / 0.525 GB, free: 79.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.5601, allocations: 312.8 kB / 0.5253 GB, free: 78.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006793/0.5669, allocations: 5.792 MB / 0.5309 GB, free: 73.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.5687, allocations: 2.898 MB / 0.5338 GB, free: 70.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001475/0.5702, allocations: 0.8166 MB / 0.5346 GB, free: 69.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.5705, allocations: 119.4 kB / 0.5347 GB, free: 69.36 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5705, allocations: 0 / 0.5347 GB, free: 69.36 MB / 382.1 MB Notification: Performance of Templates: time 0.02618/0.5967, allocations: 19.66 MB / 0.5539 GB, free: 49.82 MB / 382.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 -s cvode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1)