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.001067/0.001067, allocations: 182.2 kB / 15.98 MB, free: 5.77 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.156/1.156, allocations: 222.9 MB / 239.6 MB, free: 11 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.0009623/0.0009624, allocations: 105 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02354/0.02354, allocations: 5.394 MB / 345.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009105/0.0009105, allocations: 46.45 kB / 406.8 MB, free: 61.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06747/0.06839, allocations: 50.64 MB / 457.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.003851/0.07229, allocations: 4.368 MB / 461.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.07384, allocations: 1.573 MB / 463.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.07401, allocations: 16 kB / 463.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.07539, allocations: 0.838 MB / 464.2 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007903/0.07619, allocations: 0.5822 MB / 464.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.07647, allocations: 203.6 kB / 465 MB, free: 2.805 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000322/0.0768, allocations: 0.5491 MB / 465.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006435/0.07745, allocations: 0.5943 MB / 466.1 MB, free: 1.656 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.07762, allocations: 219.1 kB / 466.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.07785, allocations: 310.8 kB / 466.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.07791, allocations: 48 kB / 466.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.07817, allocations: 191.8 kB / 466.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.07823, allocations: 123.5 kB / 467 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.07839, allocations: 286.6 kB / 467.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006016/0.079, allocations: 0.884 MB / 468.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.07901, allocations: 0 / 468.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.07901, allocations: 0 / 468.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.07903, allocations: 0 / 468.2 MB, free: 15.61 MB / 314.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.001784/0.08081, allocations: 0.9915 MB / 469.2 MB, free: 14.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.08085, allocations: 11.97 kB / 469.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.08261, allocations: 308 kB / 469.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.08297, allocations: 369.4 kB / 469.8 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.08301, allocations: 50.38 kB / 469.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.598e-05/0.0831, allocations: 64.38 kB / 470 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009729/0.08408, allocations: 0.7047 MB / 470.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.08411, allocations: 0 / 470.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.08416, allocations: 28 kB / 470.7 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.08418, allocations: 19.94 kB / 470.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009254/0.08511, allocations: 0.579 MB / 471.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.08817, allocations: 2.751 MB / 474 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.08932, allocations: 0.9045 MB / 474.9 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.08954, allocations: 129.7 kB / 475.1 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.707e-05/0.08961, allocations: 89.08 kB / 475.2 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.08964, allocations: 50.44 kB / 475.2 MB, free: 8.117 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.332e-06/0.08965, allocations: 0 / 475.2 MB, free: 8.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.000659/0.09031, allocations: 332.1 kB / 475.5 MB, free: 7.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.09036, allocations: 81.11 kB / 475.6 MB, free: 7.691 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.09061, allocations: 290.6 kB / 475.9 MB, free: 7.402 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.09064, allocations: 33.7 kB / 475.9 MB, free: 7.363 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.09078, allocations: 311.2 kB / 476.2 MB, free: 7.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.09085, allocations: 102.5 kB / 476.3 MB, free: 6.953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.09097, allocations: 90.16 kB / 476.4 MB, free: 6.855 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.09107, allocations: 338.8 kB / 476.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.09133, allocations: 142.5 kB / 476.9 MB, free: 6.375 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002923/0.09164, allocations: 272.7 kB / 477.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.09214, allocations: 388.4 kB / 477.5 MB, free: 5.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.09216, allocations: 0 / 477.5 MB, free: 5.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006838/0.09285, allocations: 464.4 kB / 478 MB, free: 5.156 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.09287, allocations: 7.938 kB / 478 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.09288, allocations: 4 kB / 478 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.0929, allocations: 8 kB / 478 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.09335, allocations: 128.4 kB / 478.1 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.09337, allocations: 11.92 kB / 478.1 MB, free: 5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.09363, allocations: 67.36 kB / 478.2 MB, free: 4.934 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.09366, allocations: 20 kB / 478.2 MB, free: 4.914 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_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: 19 * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002454/0.09391, allocations: 189.7 kB / 478.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.09399, allocations: 39.55 kB / 478.5 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005309/0.09452, allocations: 287.5 kB / 478.7 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.09454, allocations: 11.92 kB / 478.7 MB, free: 4.383 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.09455, allocations: 0 / 478.7 MB, free: 4.383 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.09456, allocations: 7.984 kB / 478.8 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.0957, allocations: 0.8729 MB / 479.6 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.09571, allocations: 0 / 479.6 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.09604, allocations: 71.94 kB / 479.7 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.09605, allocations: 8 kB / 479.7 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.09607, allocations: 4 kB / 479.7 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.09608, allocations: 4 kB / 479.7 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.09609, allocations: 3.938 kB / 479.7 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.09822, allocations: 1.921 MB / 481.6 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.09829, allocations: 112.7 kB / 481.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.09833, allocations: 15.88 kB / 481.8 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.09854, allocations: 11.98 kB / 481.8 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.09859, allocations: 19.98 kB / 481.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.09861, allocations: 4 kB / 481.8 MB, free: 1.117 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.09878, allocations: 206 kB / 482 MB, free: 0.918 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09879, allocations: 0 / 482 MB, free: 0.918 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005415/0.09934, allocations: 163.4 kB / 482.2 MB, free: 0.7578 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (voltageSource.pin_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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001521/0.0995, allocations: 127.2 kB / 482.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005063/0.1, allocations: 304.9 kB / 482.6 MB, free: 332 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1, allocations: 1.125 kB / 482.6 MB, free: 332 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.1002, allocations: 123.9 kB / 482.7 MB, free: 208 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1006, allocations: 38.81 kB / 482.7 MB, free: 172 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1264/0.227, allocations: 1.242 MB / 484 MB, free: 31.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.2273, allocations: 0.8291 MB / 484.8 MB, free: 30.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.2275, allocations: 52.75 kB / 484.9 MB, free: 30.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.501e-05/0.2276, allocations: 31.08 kB / 484.9 MB, free: 30.69 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2276, allocations: 0 / 484.9 MB, free: 30.69 MB / 314.7 MB Notification: Performance of Templates: time 0.006782/0.2344, allocations: 3.522 MB / 488.4 MB, free: 30.46 MB / 314.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)