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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001118/0.001118, allocations: 194 kB / 16.25 MB, free: 6.625 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1608/0.1608, allocations: 5.396 MB / 295.5 MB, free: 2.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 356.9 MB, free: 1.934 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1225, allocations: 50.62 MB / 407.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006744/0.1293, allocations: 4.376 MB / 411.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002771/0.1321, allocations: 1.569 MB / 413.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/0.1326, allocations: 12 kB / 413.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.1349, allocations: 0.8366 MB / 414.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.1362, allocations: 0.5601 MB / 414.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.1367, allocations: 203.6 kB / 415.1 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006386/0.1373, allocations: 0.5686 MB / 415.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.1384, allocations: 0.7674 MB / 416.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.1387, allocations: 251.1 kB / 416.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.1391, allocations: 322.7 kB / 417 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.728e-05/0.1392, allocations: 72 kB / 417 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.1396, allocations: 215.9 kB / 417.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1398, allocations: 147.5 kB / 417.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.14, allocations: 306.7 kB / 417.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.1411, allocations: 0.8956 MB / 418.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1411, allocations: 4 kB / 418.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1411, allocations: 0 / 418.6 MB, free: 4.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.1411, allocations: 0 / 418.6 MB, free: 4.145 MB / 350.1 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.002143/0.1433, allocations: 0.9838 MB / 419.6 MB, free: 3.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1433, allocations: 12.03 kB / 419.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.1454, allocations: 308 kB / 419.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.1458, allocations: 363.9 kB / 420.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.237e-05/0.1459, allocations: 54.38 kB / 420.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.146, allocations: 68.38 kB / 420.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.1472, allocations: 0.7047 MB / 421.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.1473, allocations: 0 / 421.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.1473, allocations: 28 kB / 421.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.1473, allocations: 16 kB / 421.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.1484, allocations: 0.579 MB / 421.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2159/0.3643, allocations: 2.747 MB / 424.4 MB, free: 45.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.3655, allocations: 0.9022 MB / 425.3 MB, free: 45.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.3657, allocations: 129.3 kB / 425.5 MB, free: 45.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.967e-05/0.3658, allocations: 90.98 kB / 425.6 MB, free: 45.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.3658, allocations: 41.73 kB / 425.6 MB, free: 45.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.935e-06/0.3658, allocations: 0 / 425.6 MB, free: 45.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007195/0.3665, allocations: 336.7 kB / 425.9 MB, free: 45.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3666, allocations: 85.56 kB / 426 MB, free: 44.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.3668, allocations: 285.3 kB / 426.3 MB, free: 44.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3669, allocations: 29.33 kB / 426.3 MB, free: 44.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.367, allocations: 328 kB / 426.6 MB, free: 44.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.367, allocations: 95.36 kB / 426.7 MB, free: 44.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3672, allocations: 93.88 kB / 426.8 MB, free: 44.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.3672, allocations: 332.3 kB / 427.1 MB, free: 44.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.3675, allocations: 152.5 kB / 427.3 MB, free: 44.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.3677, allocations: 257.6 kB / 427.5 MB, free: 44.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/0.3682, allocations: 398.6 kB / 427.9 MB, free: 43.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3682, allocations: 0 / 427.9 MB, free: 43.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006044/0.3688, allocations: 463.7 kB / 428.4 MB, free: 43.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3688, allocations: 16.97 kB / 428.4 MB, free: 43.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3688, allocations: 3.219 kB / 428.4 MB, free: 43.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3689, allocations: 10.84 kB / 428.4 MB, free: 43.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.3693, allocations: 125.9 kB / 428.5 MB, free: 43.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3693, allocations: 6.781 kB / 428.6 MB, free: 43.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.3696, allocations: 58.31 kB / 428.6 MB, free: 43.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.3696, allocations: 20 kB / 428.6 MB, free: 43.66 MB / 350.1 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.0002785/0.3699, allocations: 196.4 kB / 428.8 MB, free: 43.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.37, allocations: 28.72 kB / 428.8 MB, free: 43.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.3705, allocations: 301.3 kB / 429.1 MB, free: 43.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3705, allocations: 2.969 kB / 429.1 MB, free: 43.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3706, allocations: 0 / 429.1 MB, free: 43.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3706, allocations: 3.281 kB / 429.1 MB, free: 43.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.3717, allocations: 0.8696 MB / 430 MB, free: 42.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3717, allocations: 0 / 430 MB, free: 42.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/0.372, allocations: 79.16 kB / 430.1 MB, free: 42.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.372, allocations: 6.922 kB / 430.1 MB, free: 42.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.372, allocations: 4 kB / 430.1 MB, free: 42.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.372, allocations: 4 kB / 430.1 MB, free: 42.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3721, allocations: 0 / 430.1 MB, free: 42.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.3727, allocations: 0.5477 MB / 430.7 MB, free: 42.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.3727, allocations: 106.6 kB / 430.8 MB, free: 42.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.3728, allocations: 11.12 kB / 430.8 MB, free: 42.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.373, allocations: 13.58 kB / 430.8 MB, free: 42.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.373, allocations: 28.22 kB / 430.8 MB, free: 42.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3731, allocations: 8.5 kB / 430.8 MB, free: 42.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.3732, allocations: 205.7 kB / 431 MB, free: 42.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3732, allocations: 0 / 431 MB, free: 42.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.3737, allocations: 135.8 kB / 431.2 MB, free: 42.18 MB / 350.1 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.0001604/0.3739, allocations: 137.1 kB / 431.3 MB, free: 42.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005641/0.3744, allocations: 324.3 kB / 431.6 MB, free: 41.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3744, allocations: 3.938 kB / 431.6 MB, free: 41.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.3746, allocations: 121.7 kB / 431.7 MB, free: 41.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.375, allocations: 27.84 kB / 431.8 MB, free: 41.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.3762, allocations: 1.054 MB / 432.8 MB, free: 41.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.3764, allocations: 0.8227 MB / 433.6 MB, free: 40.51 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.3765, allocations: 45.53 kB / 433.7 MB, free: 40.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.3766, allocations: 30.75 kB / 433.7 MB, free: 40.49 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.3766, allocations: 0 / 433.7 MB, free: 40.49 MB / 350.1 MB Notification: Performance of Templates: time 0.00642/0.3831, allocations: 3.422 MB / 437.1 MB, free: 40.25 MB / 350.1 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)