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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.005468/0.005468, allocations: 171.7 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.2 MB / 239 MB, free: 1.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008865/0.0008866, allocations: 98.55 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02495/0.02495, allocations: 5.404 MB / 346.7 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.0003808, allocations: 14.62 kB / 408.8 MB, free: 91.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.08946, allocations: 51.6 MB / 460.4 MB, free: 48.04 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3763/0.4658, allocations: 92.31 MB / 0.5398 GB, free: 20.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4661, allocations: 68.84 kB / 0.5398 GB, free: 20.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2655/0.7316, allocations: 135.3 MB / 0.6719 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.7317, allocations: 4 kB / 0.6719 GB, free: 12.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002644/0.7319, allocations: 87.88 kB / 0.672 GB, free: 12.91 MB / 442.7 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.01517/0.7471, allocations: 3.863 MB / 0.6758 GB, free: 8.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.7472, allocations: 15.97 kB / 0.6758 GB, free: 8.965 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005938/0.7531, allocations: 0.9517 MB / 0.6767 GB, free: 8.008 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006809/0.76, allocations: 2.735 MB / 0.6794 GB, free: 5.227 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003189/0.7603, allocations: 279.6 kB / 0.6797 GB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/0.7617, allocations: 371.9 kB / 0.68 GB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.7778, allocations: 6.311 MB / 0.6862 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/0.7781, allocations: 4 kB / 0.6862 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00136/0.7794, allocations: 160 kB / 0.6863 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000439/0.7799, allocations: 291.3 kB / 0.6866 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01204/0.7919, allocations: 4.984 MB / 0.6915 GB, free: 8.68 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2403/1.032, allocations: 21.56 MB / 0.7125 GB, free: 86.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003943/1.036, allocations: 3.821 MB / 0.7163 GB, free: 84.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/1.036, allocations: 103.9 kB / 0.7164 GB, free: 84.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/1.036, allocations: 47.83 kB / 0.7164 GB, free: 84.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 3.327e-06/1.036, allocations: 0 / 0.7164 GB, free: 84.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.002461/1.039, allocations: 2.112 MB / 0.7185 GB, free: 84.03 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/1.039, allocations: 85.67 kB / 0.7186 GB, free: 83.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/1.041, allocations: 1.448 MB / 0.72 GB, free: 83.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/1.041, allocations: 40.42 kB / 0.72 GB, free: 83.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007768/1.042, allocations: 1.775 MB / 0.7217 GB, free: 82.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/1.042, allocations: 342.5 kB / 0.7221 GB, free: 82.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/1.042, allocations: 42.38 kB / 0.7221 GB, free: 82.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/1.042, allocations: 458.5 kB / 0.7225 GB, free: 82.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/1.043, allocations: 1.126 MB / 0.7236 GB, free: 82.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/1.045, allocations: 2.055 MB / 0.7257 GB, free: 81.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/1.048, allocations: 1.536 MB / 0.7272 GB, free: 81.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-05/1.048, allocations: 9.531 kB / 0.7272 GB, free: 81.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=286) (initialization): time 0.005087/1.053, allocations: 3.183 MB / 0.7303 GB, free: 81.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/1.053, allocations: 18.53 kB / 0.7303 GB, free: 81.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.675e-05/1.053, allocations: 41.47 kB / 0.7303 GB, free: 81.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.953e-05/1.053, allocations: 53 kB / 0.7304 GB, free: 81.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/1.055, allocations: 0.5605 MB / 0.7309 GB, free: 81.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.964e-05/1.055, allocations: 75.27 kB / 0.731 GB, free: 81.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/1.057, allocations: 361.5 kB / 0.7313 GB, free: 80.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/1.057, allocations: 125.5 kB / 0.7315 GB, free: 80.95 MB / 458.7 MB Warning: Assuming fixed start value for the following 1 variables: converter.potentialSensor.plug_p.reference.gamma:VARIABLE(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 (282): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002818/1.06, allocations: 1.636 MB / 0.7331 GB, free: 80.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/1.06, allocations: 127.6 kB / 0.7332 GB, free: 80.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/1.062, allocations: 1.521 MB / 0.7347 GB, free: 80.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001415/1.064, allocations: 1.174 MB / 0.7358 GB, free: 80.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.064, allocations: 0 / 0.7358 GB, free: 80.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/1.064, allocations: 3.938 kB / 0.7358 GB, free: 80.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007347/1.071, allocations: 4.482 MB / 0.7402 GB, free: 80.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.071, allocations: 1.469 kB / 0.7402 GB, free: 80.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008158/1.072, allocations: 197.2 kB / 0.7404 GB, free: 80.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/1.072, allocations: 5.344 kB / 0.7404 GB, free: 80.14 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.487e-05/1.072, allocations: 24.34 kB / 0.7404 GB, free: 80.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/1.072, allocations: 5.281 kB / 0.7404 GB, free: 80.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.072, allocations: 5.5 kB / 0.7404 GB, free: 80.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/1.075, allocations: 2.373 MB / 0.7427 GB, free: 79.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006868/1.076, allocations: 346 kB / 0.7431 GB, free: 79.54 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/1.076, allocations: 21.19 kB / 0.7431 GB, free: 79.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000738/1.077, allocations: 65.59 kB / 0.7431 GB, free: 79.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/1.077, allocations: 60.55 kB / 0.7432 GB, free: 79.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/1.077, allocations: 31.36 kB / 0.7432 GB, free: 79.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00176/1.079, allocations: 1.091 MB / 0.7443 GB, free: 79.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.079, allocations: 4.062 kB / 0.7443 GB, free: 79.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002855/1.081, allocations: 0.8695 MB / 0.7452 GB, free: 79.24 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (converter.potentialSensor.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 (100): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000305/1.082, allocations: 191.9 kB / 0.7453 GB, free: 79.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002536/1.084, allocations: 2.123 MB / 0.7474 GB, free: 79.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.084, allocations: 3.75 kB / 0.7474 GB, free: 79.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007319/1.085, allocations: 0.6398 MB / 0.748 GB, free: 79.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/1.086, allocations: 266.4 kB / 0.7483 GB, free: 79.06 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008724/1.095, allocations: 7.194 MB / 0.7553 GB, free: 75.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00232/1.097, allocations: 2.965 MB / 0.7582 GB, free: 75.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001895/1.099, allocations: 0.8251 MB / 0.759 GB, free: 75.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/1.099, allocations: 124.6 kB / 0.7591 GB, free: 75.07 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/1.099, allocations: 4 kB / 0.7591 GB, free: 75.06 MB / 458.7 MB [CodegenCFunctions.tpl:6742:49-6742:49:writable] Error: Template error: what is this suppsoed to do?.