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.001282/0.001282, 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.001388/0.001388, allocations: 194.6 kB / 16.25 MB, free: 6.621 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.298/1.298, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1615/0.1615, allocations: 5.396 MB / 295.5 MB, free: 2.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 357 MB, free: 1.82 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1036, allocations: 50.61 MB / 407.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.009099/0.1127, allocations: 8.04 MB / 415.7 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005002/0.1178, allocations: 2.511 MB / 418.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.1192, allocations: 59.81 kB / 418.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006502/0.1258, allocations: 2.852 MB / 421.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.129, allocations: 0.7699 MB / 421.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.1309, allocations: 0.7716 MB / 422.6 MB, free: 100 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1643/0.2952, allocations: 3.603 MB / 426.2 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.3062, allocations: 11.97 MB / 438.2 MB, free: 31.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002374/0.3086, allocations: 2.183 MB / 440.4 MB, free: 30.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002606/0.3112, allocations: 2.397 MB / 442.8 MB, free: 29.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007318/0.312, allocations: 0.6622 MB / 443.4 MB, free: 29.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.3134, allocations: 0.9356 MB / 444.4 MB, free: 29.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006982/0.3141, allocations: 1.224 MB / 445.6 MB, free: 28.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.316, allocations: 2.363 MB / 448 MB, free: 26.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005183/0.3212, allocations: 8.484 MB / 456.4 MB, free: 24.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3212, allocations: 7.25 kB / 456.5 MB, free: 24.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3212, allocations: 0 / 456.5 MB, free: 24.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001446/0.3214, allocations: 0 / 456.5 MB, free: 24.11 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: 1072 * Number of variables: 1072 Notification: Performance of Generate backend data structure: time 0.0103/0.3317, allocations: 4.801 MB / 461.3 MB, free: 21.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3317, allocations: 13.62 kB / 461.3 MB, free: 21.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008655/0.3326, allocations: 0.5742 MB / 461.8 MB, free: 21.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008359/0.341, allocations: 1.552 MB / 463.4 MB, free: 21.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0042/0.3452, allocations: 2.535 MB / 465.9 MB, free: 19.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000275/0.3455, allocations: 300.1 kB / 466.2 MB, free: 19.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/0.3466, allocations: 385.8 kB / 466.6 MB, free: 19.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.3599, allocations: 6.388 MB / 473 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.3601, allocations: 6.062 kB / 473 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00044/0.3605, allocations: 166.3 kB / 473.2 MB, free: 16.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002421/0.3608, allocations: 200.9 kB / 473.4 MB, free: 16.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00983/0.3706, allocations: 5.382 MB / 478.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02662/0.3973, allocations: 21.61 MB / 0.4886 GB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004732/0.4021, allocations: 3.839 MB / 0.4924 GB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.4032, allocations: 0.7549 MB / 0.4931 GB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.4033, allocations: 113.4 kB / 0.4932 GB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.4034, allocations: 47.22 kB / 0.4933 GB, free: 7.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.266e-06/0.4034, allocations: 0 / 0.4933 GB, free: 7.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.002758/0.4062, allocations: 1.748 MB / 0.495 GB, free: 5.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.4062, allocations: 86.11 kB / 0.495 GB, free: 5.332 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.4084, allocations: 1.602 MB / 0.4966 GB, free: 3.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.4084, allocations: 41.7 kB / 0.4966 GB, free: 3.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.4095, allocations: 1.772 MB / 0.4984 GB, free: 1.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.4098, allocations: 342.3 kB / 0.4987 GB, free: 1.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006891/0.4105, allocations: 499.6 kB / 0.4992 GB, free: 1.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4106, allocations: 358 kB / 0.4995 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.4121, allocations: 1.116 MB / 0.5006 GB, free: 15.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/0.4141, allocations: 2.058 MB / 0.5026 GB, free: 13.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/0.4175, allocations: 3.139 MB / 0.5057 GB, free: 9.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-05/0.4176, allocations: 8 kB / 0.5057 GB, free: 9.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00482/0.4224, allocations: 3.167 MB / 0.5088 GB, free: 6.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.4225, allocations: 25.06 kB / 0.5088 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.696e-05/0.4225, allocations: 36 kB / 0.5088 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.972e-05/0.4226, allocations: 48 kB / 0.5089 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.4244, allocations: 0.5654 MB / 0.5094 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-05/0.4245, allocations: 75.66 kB / 0.5095 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.4264, allocations: 337 kB / 0.5098 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/0.4267, allocations: 116 kB / 0.5099 GB, free: 5.242 MB / 382.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 (281): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003111/0.4298, allocations: 1.633 MB / 0.5115 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004234/0.4302, allocations: 138.2 kB / 0.5117 GB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/0.4331, allocations: 1.46 MB / 0.5131 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001755/0.4349, allocations: 1.15 MB / 0.5142 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.4349, allocations: 4 kB / 0.5142 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.4349, allocations: 3.984 kB / 0.5142 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008982/0.4439, allocations: 4.442 MB / 0.5186 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.444, allocations: 0 / 0.5186 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/0.4448, allocations: 207.7 kB / 0.5188 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.4449, allocations: 8 kB / 0.5188 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/0.4449, allocations: 16 kB / 0.5188 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.4449, allocations: 8 kB / 0.5188 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4449, allocations: 3.938 kB / 0.5188 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/0.448, allocations: 2.258 MB / 0.521 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005796/0.4486, allocations: 319.2 kB / 0.5213 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.4488, allocations: 16 kB / 0.5213 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.4494, allocations: 63.92 kB / 0.5214 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.4496, allocations: 68.73 kB / 0.5215 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/0.4496, allocations: 27.98 kB / 0.5215 GB, free: 9.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001494/0.4511, allocations: 1.097 MB / 0.5226 GB, free: 8.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4512, allocations: 0 / 0.5226 GB, free: 8.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002683/0.4538, allocations: 0.8588 MB / 0.5234 GB, free: 7.34 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 (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.00349/0.4573, allocations: 2.866 MB / 0.5262 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00438/0.4617, allocations: 2.544 MB / 0.5287 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4617, allocations: 0 / 0.5287 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008636/0.4626, allocations: 0.6191 MB / 0.5293 GB, free: 1.273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.4642, allocations: 314.1 kB / 0.5296 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03236/0.4966, allocations: 21.21 MB / 0.5503 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002637/0.4993, allocations: 2.902 MB / 0.5531 GB, free: 7.395 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001996/0.5013, allocations: 0.809 MB / 0.5539 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/0.5027, allocations: 1.128 MB / 0.555 GB, free: 5.449 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5027, allocations: 0 / 0.555 GB, free: 5.449 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.252/1.754, allocations: 43.67 MB / 0.5977 GB, free: 131 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/1.755, allocations: 249.5 kB / 0.5979 GB, free: 130.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/4.156, allocations: 0 / 0.5979 GB, free: 130.7 MB / 446.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1)