Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.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.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 186.6 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.038/1.038, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.0008138/0.0008138, allocations: 93.3 kB / 280.1 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0223/0.02231, allocations: 5.296 MB / 336.2 MB, free: 9.293 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.26e-06/5.29e-06, allocations: 8 kB / 393.8 MB, free: 71.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0652/0.06521, allocations: 51.6 MB / 445.4 MB, free: 19.82 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.2671, allocations: 86.1 MB / 0.519 GB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/0.2673, allocations: 69.59 kB / 0.5191 GB, free: 15.56 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03557/0.3029, allocations: 17.22 MB / 0.5359 GB, free: 1.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.3029, allocations: 12 kB / 0.5359 GB, free: 1.922 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001441/0.3043, allocations: 0.8059 MB / 0.5367 GB, free: 1.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3044, allocations: 8.031 kB / 0.5367 GB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.3058, allocations: 256.2 kB / 0.537 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.3062, allocations: 347.6 kB / 0.5373 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.3062, allocations: 20 kB / 0.5373 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/0.3063, allocations: 43.91 kB / 0.5374 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007802/0.3071, allocations: 0.5007 MB / 0.5379 GB, free: 236 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008547/0.3079, allocations: 0.5566 MB / 0.5384 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.308, allocations: 4 kB / 0.5384 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.308, allocations: 3.984 kB / 0.5384 GB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.308, allocations: 16 kB / 0.5384 GB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003267/0.3113, allocations: 2.683 MB / 0.541 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.3117, allocations: 285.6 kB / 0.5413 GB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.3119, allocations: 101.8 kB / 0.5414 GB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.157e-05/0.3119, allocations: 92.83 kB / 0.5415 GB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.312, allocations: 34.8 kB / 0.5415 GB, free: 13.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.312, allocations: 0 / 0.5415 GB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.000482/0.3125, allocations: 241.1 kB / 0.5418 GB, free: 12.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.3125, allocations: 85.09 kB / 0.5418 GB, free: 12.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3127, allocations: 212.2 kB / 0.5421 GB, free: 12.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3127, allocations: 25.7 kB / 0.5421 GB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3129, allocations: 309.8 kB / 0.5424 GB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/0.3129, allocations: 99.36 kB / 0.5425 GB, free: 12.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.3129, allocations: 4.031 kB / 0.5425 GB, free: 12.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3131, allocations: 337.4 kB / 0.5428 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.3132, allocations: 132.6 kB / 0.5429 GB, free: 11.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.3135, allocations: 248.6 kB / 0.5432 GB, free: 11.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.3138, allocations: 161 kB / 0.5433 GB, free: 11.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3138, allocations: 4 kB / 0.5433 GB, free: 11.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006561/0.3145, allocations: 422.9 kB / 0.5437 GB, free: 11.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.3145, allocations: 4 kB / 0.5437 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.3145, allocations: 4 kB / 0.5437 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3145, allocations: 8.562 kB / 0.5437 GB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.3149, allocations: 115.5 kB / 0.5438 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.315, allocations: 8 kB / 0.5438 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.3153, allocations: 43.52 kB / 0.5439 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.3153, allocations: 19.62 kB / 0.5439 GB, free: 10.98 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_p.reference.gamma:VARIABLE(start = 0.0 unit = "rad" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001275/0.3154, allocations: 127.5 kB / 0.544 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.674e-05/0.3155, allocations: 27.62 kB / 0.5441 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.316, allocations: 286.5 kB / 0.5443 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3161, allocations: 7.984 kB / 0.5443 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3161, allocations: 0 / 0.5443 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3161, allocations: 0 / 0.5443 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009155/0.317, allocations: 0.7445 MB / 0.5451 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.317, allocations: 0 / 0.5451 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.3173, allocations: 71.72 kB / 0.5451 GB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3173, allocations: 7.906 kB / 0.5451 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.3173, allocations: 3.984 kB / 0.5451 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3173, allocations: 0 / 0.5451 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3174, allocations: 4 kB / 0.5451 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005888/0.3179, allocations: 0.5439 MB / 0.5457 GB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.318, allocations: 112.7 kB / 0.5458 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.3181, allocations: 4 kB / 0.5458 GB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.3183, allocations: 11.98 kB / 0.5458 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.3184, allocations: 15.48 kB / 0.5458 GB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.3184, allocations: 11.98 kB / 0.5458 GB, free: 9.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001171/0.3185, allocations: 163 kB / 0.546 GB, free: 9.191 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004445/0.319, allocations: 147.1 kB / 0.5461 GB, free: 9.051 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001762/0.3192, allocations: 143 kB / 0.5463 GB, free: 8.906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003994/0.3196, allocations: 291.3 kB / 0.5465 GB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.3196, allocations: 4 kB / 0.5465 GB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.3197, allocations: 114.4 kB / 0.5467 GB, free: 8.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.32, allocations: 25.3 kB / 0.5467 GB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.321, allocations: 0.5524 MB / 0.5472 GB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004597/0.3215, allocations: 0.8747 MB / 0.5481 GB, free: 7.211 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3215, allocations: 0 / 0.5481 GB, free: 7.211 MB / 362.7 MB Notification: Performance of Templates: time 0.006761/0.3282, allocations: 3.714 MB / 0.5517 GB, free: 3.516 MB / 362.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.makefile (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.sim & ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1)