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.007273/0.007273, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001502/0.001502, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02775/0.02775, allocations: 5.39 MB / 295.9 MB, free: 9.473 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.91 kB / 408.8 MB, free: 26.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08173/0.08306, allocations: 50.62 MB / 459.4 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01005/0.09315, allocations: 8.12 MB / 467.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005034/0.09822, allocations: 2.556 MB / 470.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.09953, allocations: 63.81 kB / 470.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006867/0.1065, allocations: 3.032 MB / 473.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.1095, allocations: 0.8547 MB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.1116, allocations: 0.8251 MB / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004305/0.1159, allocations: 3.651 MB / 478.5 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01323/0.1292, allocations: 10.37 MB / 488.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/0.1321, allocations: 2.159 MB / 491 MB, free: 7.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003639/0.1358, allocations: 2.387 MB / 493.4 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001325/0.1372, allocations: 0.6641 MB / 494.1 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.1394, allocations: 0.9255 MB / 495 MB, free: 3.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001458/0.1409, allocations: 1.22 MB / 496.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003185/0.1441, allocations: 2.358 MB / 498.6 MB, free: 408 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008165/0.1523, allocations: 8.539 MB / 0.4952 GB, free: 7.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1523, allocations: 0 / 0.4952 GB, free: 7.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1523, allocations: 0 / 0.4952 GB, free: 7.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001577/0.1525, allocations: 4 kB / 0.4952 GB, free: 7.832 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.01375/0.1663, allocations: 4.786 MB / 0.4999 GB, free: 2.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1663, allocations: 12.03 kB / 0.4999 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001755/0.1681, allocations: 0.5719 MB / 0.5005 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009794/0.1779, allocations: 1.546 MB / 0.502 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1972/0.3751, allocations: 2.609 MB / 0.5045 GB, free: 43.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/0.3754, allocations: 297 kB / 0.5048 GB, free: 43.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/0.3766, allocations: 387.2 kB / 0.5052 GB, free: 43.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/0.3918, allocations: 6.372 MB / 0.5114 GB, free: 41.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000157/0.392, allocations: 4.25 kB / 0.5114 GB, free: 41.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009441/0.393, allocations: 158.7 kB / 0.5116 GB, free: 41.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000403/0.3934, allocations: 202.1 kB / 0.5118 GB, free: 41.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.4044, allocations: 5.362 MB / 0.517 GB, free: 39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02823/0.4327, allocations: 21.35 MB / 0.5379 GB, free: 21.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/0.4365, allocations: 3.789 MB / 0.5416 GB, free: 17.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008841/0.4374, allocations: 0.7067 MB / 0.5422 GB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.4376, allocations: 101.9 kB / 0.5423 GB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.4376, allocations: 47.39 kB / 0.5424 GB, free: 16.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 2.886e-06/0.4376, allocations: 3.938 kB / 0.5424 GB, free: 16.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=86): time 0.002286/0.4399, allocations: 1.615 MB / 0.544 GB, free: 15.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.4399, allocations: 90.09 kB / 0.5441 GB, free: 15.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.4418, allocations: 1.606 MB / 0.5456 GB, free: 13.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.4419, allocations: 37.7 kB / 0.5457 GB, free: 13.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/0.4425, allocations: 1.78 MB / 0.5474 GB, free: 11.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.4427, allocations: 319.5 kB / 0.5477 GB, free: 11.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006029/0.4434, allocations: 495.4 kB / 0.5482 GB, free: 10.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.4434, allocations: 361.9 kB / 0.5485 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.4447, allocations: 1.079 MB / 0.5496 GB, free: 9.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.4462, allocations: 2.007 MB / 0.5515 GB, free: 6.984 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/0.4489, allocations: 3.058 MB / 0.5545 GB, free: 3.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.428e-05/0.4489, allocations: 8 kB / 0.5545 GB, free: 3.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004093/0.453, allocations: 3.07 MB / 0.5575 GB, free: 352 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.453, allocations: 23.94 kB / 0.5575 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-05/0.4531, allocations: 40.09 kB / 0.5576 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-05/0.4532, allocations: 51.94 kB / 0.5576 GB, free: 240 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/0.455, allocations: 0.5576 MB / 0.5582 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.865e-05/0.4551, allocations: 75.72 kB / 0.5583 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.4567, allocations: 340.9 kB / 0.5586 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.4569, allocations: 124 kB / 0.5587 GB, free: 15.14 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.002346/0.4593, allocations: 1.626 MB / 0.5603 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002931/0.4596, allocations: 130.3 kB / 0.5604 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/0.4619, allocations: 1.381 MB / 0.5618 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00152/0.4635, allocations: 1.057 MB / 0.5628 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4635, allocations: 0 / 0.5628 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4635, allocations: 3.984 kB / 0.5628 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006571/0.4701, allocations: 4.266 MB / 0.567 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4701, allocations: 0 / 0.567 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008762/0.471, allocations: 215.8 kB / 0.5672 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.471, allocations: 7.984 kB / 0.5672 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/0.4711, allocations: 20 kB / 0.5672 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.4711, allocations: 11.7 kB / 0.5672 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4711, allocations: 4 kB / 0.5672 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002886/0.474, allocations: 2.098 MB / 0.5693 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/0.4745, allocations: 311.2 kB / 0.5696 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.4747, allocations: 28 kB / 0.5696 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/0.4753, allocations: 59.92 kB / 0.5696 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.4754, allocations: 60.86 kB / 0.5697 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/0.4755, allocations: 24 kB / 0.5697 GB, free: 3.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001554/0.4771, allocations: 1.105 MB / 0.5708 GB, free: 2.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4771, allocations: 0 / 0.5708 GB, free: 2.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002305/0.4794, allocations: 0.8483 MB / 0.5716 GB, free: 1.777 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.00333/0.4827, allocations: 2.718 MB / 0.5743 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003371/0.4861, allocations: 2.02 MB / 0.5763 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4861, allocations: 0 / 0.5763 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000884/0.487, allocations: 0.5732 MB / 0.5768 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.4886, allocations: 296.3 kB / 0.5771 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02626/0.5149, allocations: 18.68 MB / 0.5953 GB, free: 8.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002688/0.5176, allocations: 2.898 MB / 0.5982 GB, free: 5.363 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001814/0.5194, allocations: 0.8127 MB / 0.599 GB, free: 4.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.5209, allocations: 1.124 MB / 0.6001 GB, free: 3.422 MB / 430.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5209, allocations: 8 kB / 0.6001 GB, free: 3.414 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07832/0.5992, allocations: 44.36 MB / 0.6434 GB, free: 7.289 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.08, allocations: 13.23 kB / 0.6434 GB, free: 7.281 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 & /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)