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/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: "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007233/0.007233, allocations: 99.58 kB / 15.73 MB, free: 6.02 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.001459/0.00146, allocations: 191.9 kB / 16.67 MB, free: 5.938 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02742/0.02742, allocations: 5.413 MB / 295.9 MB, free: 9.438 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.94 kB / 408.8 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08086/0.08207, allocations: 50.63 MB / 459.4 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.009464/0.09157, allocations: 8.132 MB / 467.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004954/0.09656, allocations: 2.546 MB / 470.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.09791, allocations: 63.75 kB / 470.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00663/0.1046, allocations: 3.029 MB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.1075, allocations: 0.8548 MB / 474 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.1095, allocations: 0.825 MB / 474.9 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003997/0.1135, allocations: 3.659 MB / 478.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01285/0.1264, allocations: 10.37 MB / 488.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002915/0.1293, allocations: 2.159 MB / 491 MB, free: 8.066 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.133, allocations: 2.387 MB / 493.4 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001303/0.1343, allocations: 0.6641 MB / 494.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.1366, allocations: 0.9216 MB / 495 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001539/0.1382, allocations: 1.22 MB / 496.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003282/0.1415, allocations: 2.362 MB / 498.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008238/0.1498, allocations: 8.556 MB / 0.4953 GB, free: 7.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1498, allocations: 7.938 kB / 0.4953 GB, free: 7.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1498, allocations: 0 / 0.4953 GB, free: 7.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001454/0.15, allocations: 0 / 0.4953 GB, free: 7.902 MB / 382.1 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.01165/0.1616, allocations: 4.87 MB / 0.5 GB, free: 2.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1617, allocations: 8.031 kB / 0.5 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009716/0.1626, allocations: 0.5758 MB / 0.5006 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009476/0.1721, allocations: 1.555 MB / 0.5021 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1929/0.365, allocations: 2.617 MB / 0.5047 GB, free: 44.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.3653, allocations: 302.5 kB / 0.505 GB, free: 43.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.3665, allocations: 388.6 kB / 0.5053 GB, free: 43.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/0.3798, allocations: 6.361 MB / 0.5115 GB, free: 41.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.002e-05/0.3799, allocations: 10.5 kB / 0.5115 GB, free: 41.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004254/0.3803, allocations: 157.6 kB / 0.5117 GB, free: 41.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003302/0.3807, allocations: 196.8 kB / 0.5119 GB, free: 41.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.3909, allocations: 5.369 MB / 0.5171 GB, free: 39.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02615/0.4171, allocations: 21.41 MB / 0.538 GB, free: 22.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003938/0.4211, allocations: 3.79 MB / 0.5417 GB, free: 17.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008325/0.4219, allocations: 0.7028 MB / 0.5424 GB, free: 17.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.422, allocations: 105.7 kB / 0.5425 GB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.4221, allocations: 51.45 kB / 0.5426 GB, free: 17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 2.936e-06/0.4221, allocations: 0 / 0.5426 GB, free: 17 MB / 382.1 MB Notification: Performance of matching and sorting (n=86): time 0.002191/0.4243, allocations: 1.624 MB / 0.5442 GB, free: 15.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.4243, allocations: 86.11 kB / 0.5442 GB, free: 15.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.426, allocations: 1.598 MB / 0.5458 GB, free: 13.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.4261, allocations: 45.61 kB / 0.5459 GB, free: 13.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/0.4267, allocations: 1.849 MB / 0.5477 GB, free: 11.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.4269, allocations: 336.8 kB / 0.548 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005303/0.4274, allocations: 499.7 kB / 0.5485 GB, free: 11.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.4275, allocations: 353.9 kB / 0.5488 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.4287, allocations: 1.075 MB / 0.5498 GB, free: 9.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.4301, allocations: 2.018 MB / 0.5518 GB, free: 7.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002447/0.4326, allocations: 3.054 MB / 0.5548 GB, free: 3.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.4326, allocations: 11.94 kB / 0.5548 GB, free: 3.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003643/0.4362, allocations: 3.079 MB / 0.5578 GB, free: 440 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.4363, allocations: 27.94 kB / 0.5578 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.4363, allocations: 32 kB / 0.5579 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.956e-05/0.4363, allocations: 52 kB / 0.5579 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.4381, allocations: 0.5615 MB / 0.5585 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.035e-05/0.4382, allocations: 71.72 kB / 0.5585 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.4397, allocations: 337.9 kB / 0.5589 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/0.4399, allocations: 124 kB / 0.559 GB, free: 15.23 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.plug_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: 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 (278): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002324/0.4423, allocations: 1.633 MB / 0.5606 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.4425, allocations: 143 kB / 0.5607 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/0.4449, allocations: 1.379 MB / 0.5621 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001525/0.4465, allocations: 1.053 MB / 0.5631 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4465, allocations: 3.828 kB / 0.5631 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4465, allocations: 15.58 kB / 0.5631 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006835/0.4533, allocations: 4.263 MB / 0.5673 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.4534, allocations: 4.125 kB / 0.5673 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/0.4542, allocations: 207.7 kB / 0.5675 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.4543, allocations: 8 kB / 0.5675 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/0.4543, allocations: 16 kB / 0.5675 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.4543, allocations: 15.92 kB / 0.5675 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4544, allocations: 3.984 kB / 0.5675 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.4572, allocations: 2.095 MB / 0.5696 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/0.4578, allocations: 331.9 kB / 0.5699 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.4579, allocations: 20 kB / 0.5699 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.4586, allocations: 59.92 kB / 0.5699 GB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.4587, allocations: 60.86 kB / 0.57 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-05/0.4588, allocations: 27.98 kB / 0.57 GB, free: 3.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001578/0.4604, allocations: 1.097 MB / 0.5711 GB, free: 2.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4604, allocations: 0 / 0.5711 GB, free: 2.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002515/0.4629, allocations: 0.8677 MB / 0.572 GB, free: 1.824 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (voltageSource.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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00362/0.4665, allocations: 2.724 MB / 0.5746 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003439/0.47, allocations: 2.018 MB / 0.5766 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.47, allocations: 1.875 kB / 0.5766 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008625/0.4709, allocations: 0.5717 MB / 0.5771 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.4725, allocations: 314.6 kB / 0.5774 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/0.5008, allocations: 18.77 MB / 0.5958 GB, free: 8.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00267/0.5035, allocations: 2.902 MB / 0.5986 GB, free: 5.273 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00188/0.5054, allocations: 0.8088 MB / 0.5994 GB, free: 4.457 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/0.507, allocations: 1.132 MB / 0.6005 GB, free: 3.328 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.507, allocations: 0 / 0.6005 GB, free: 3.328 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08002/0.587, allocations: 44.35 MB / 0.6438 GB, free: 7.211 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/14.76, allocations: 25.39 kB / 0.6438 GB, free: 7.191 MB / 478.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter_res.csv --start-time 0 --stop-time 180 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.072 PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1)