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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.382/1.382, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000925/0.0009251, allocations: 86.91 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02428/0.02428, allocations: 5.28 MB / 341.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.201e-05, allocations: 0 / 401.2 MB, free: 65.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 51.6 MB / 452.8 MB, free: 13.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/0.4715, allocations: 87.09 MB / 0.5273 GB, free: 6.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.4718, allocations: 69.28 kB / 0.5273 GB, free: 6.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04028/0.5121, allocations: 17.78 MB / 0.5447 GB, free: 7.602 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5121, allocations: 0 / 0.5447 GB, free: 7.602 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.5121, allocations: 11.31 kB / 0.5447 GB, free: 7.594 MB / 362.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.001583/0.5137, allocations: 0.7937 MB / 0.5455 GB, free: 6.809 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.5138, allocations: 8.031 kB / 0.5455 GB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.5151, allocations: 238.7 kB / 0.5457 GB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.5156, allocations: 352.3 kB / 0.5461 GB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.5156, allocations: 50.38 kB / 0.5461 GB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.687e-05/0.5157, allocations: 64.94 kB / 0.5462 GB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.5168, allocations: 0.6651 MB / 0.5468 GB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.5169, allocations: 7.312 kB / 0.5468 GB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.877e-05/0.5169, allocations: 24.12 kB / 0.5468 GB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.5169, allocations: 19.98 kB / 0.5469 GB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009337/0.5179, allocations: 0.5411 MB / 0.5474 GB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003846/0.5217, allocations: 2.802 MB / 0.5501 GB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.5229, allocations: 0.9673 MB / 0.5511 GB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.5231, allocations: 120.3 kB / 0.5512 GB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-05/0.5232, allocations: 85.34 kB / 0.5513 GB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.5232, allocations: 34.48 kB / 0.5513 GB, free: 1.809 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.094e-06/0.5232, allocations: 0 / 0.5513 GB, free: 1.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0004572/0.5237, allocations: 234.7 kB / 0.5515 GB, free: 1.633 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.5238, allocations: 81.11 kB / 0.5516 GB, free: 1.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.5241, allocations: 258.5 kB / 0.5519 GB, free: 1.324 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.5241, allocations: 29.27 kB / 0.5519 GB, free: 1.293 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.5243, allocations: 324.6 kB / 0.5522 GB, free: 1.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/0.5244, allocations: 100.7 kB / 0.5523 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.5244, allocations: 6.938 kB / 0.5523 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5246, allocations: 342.6 kB / 0.5526 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.5248, allocations: 131.8 kB / 0.5527 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.5251, allocations: 250.2 kB / 0.553 GB, free: 268 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.5253, allocations: 148.6 kB / 0.5531 GB, free: 172 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5254, allocations: 4 kB / 0.5531 GB, free: 168 kB / 362.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006616/0.526, allocations: 432.7 kB / 0.5535 GB, free: 15.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5261, allocations: 4 kB / 0.5535 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.5261, allocations: 8 kB / 0.5536 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5261, allocations: 4 kB / 0.5536 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.5265, allocations: 110.6 kB / 0.5537 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.5265, allocations: 11.94 kB / 0.5537 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.5269, allocations: 65.8 kB / 0.5537 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.5269, allocations: 19.06 kB / 0.5538 GB, free: 15.63 MB / 378.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.0001796/0.5271, allocations: 137 kB / 0.5539 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.5272, allocations: 23.72 kB / 0.5539 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/0.5277, allocations: 287.4 kB / 0.5542 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.5277, allocations: 7.938 kB / 0.5542 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5277, allocations: 0 / 0.5542 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5277, allocations: 0 / 0.5542 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.5291, allocations: 0.8848 MB / 0.5551 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.5291, allocations: 4 kB / 0.5551 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.5294, allocations: 63.66 kB / 0.5551 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.5294, allocations: 0 / 0.5551 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.5294, allocations: 7.188 kB / 0.5551 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5294, allocations: 3.953 kB / 0.5551 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.5295, allocations: 3.984 kB / 0.5551 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.5301, allocations: 0.5245 MB / 0.5556 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.711e-05/0.5302, allocations: 116.1 kB / 0.5558 GB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.5303, allocations: 11.31 kB / 0.5558 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.5305, allocations: 11.38 kB / 0.5558 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.5306, allocations: 19.59 kB / 0.5558 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.5306, allocations: 11.62 kB / 0.5558 GB, free: 13.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002098/0.5308, allocations: 197.8 kB / 0.556 GB, free: 13.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5308, allocations: 4.062 kB / 0.556 GB, free: 13.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005553/0.5314, allocations: 153.7 kB / 0.5561 GB, free: 13.55 MB / 378.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.0002702/0.5316, allocations: 158.9 kB / 0.5563 GB, free: 13.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.5321, allocations: 290.3 kB / 0.5566 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5322, allocations: 0 / 0.5566 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.5323, allocations: 111.4 kB / 0.5567 GB, free: 13.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.5326, allocations: 23.17 kB / 0.5567 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.5338, allocations: 0.5669 MB / 0.5573 GB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.5342, allocations: 0.8421 MB / 0.5581 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001901/0.5344, allocations: 42.95 kB / 0.5581 GB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-05/0.5345, allocations: 35.42 kB / 0.5582 GB, free: 11.63 MB / 378.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5345, allocations: 0 / 0.5582 GB, free: 11.63 MB / 378.7 MB Notification: Performance of Templates: time 0.008038/0.5426, allocations: 3.382 MB / 0.5615 GB, free: 8.262 MB / 378.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)