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.007486/0.007486, allocations: 99.16 kB / 15.73 MB, free: 6.492 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.00207/0.00207, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1682/0.1682, allocations: 5.383 MB / 295.9 MB, free: 2.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 59.89 kB / 408.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2582, allocations: 50.61 MB / 459.4 MB, free: 19.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.007934/0.2662, allocations: 8.136 MB / 467.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.2707, allocations: 2.547 MB / 470.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008921/0.2716, allocations: 62.88 kB / 470.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005754/0.2774, allocations: 3.01 MB / 473.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.2803, allocations: 0.8636 MB / 474 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.282, allocations: 0.8144 MB / 474.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003642/0.2856, allocations: 3.657 MB / 478.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01183/0.2975, allocations: 10.39 MB / 488.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004463/0.302, allocations: 2.148 MB / 491 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005269/0.3073, allocations: 2.382 MB / 493.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002022/0.3094, allocations: 0.6679 MB / 494.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/0.3125, allocations: 0.9172 MB / 495 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.3143, allocations: 1.224 MB / 496.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004053/0.3184, allocations: 2.358 MB / 498.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01229/0.3307, allocations: 8.553 MB / 0.4952 GB, free: 1.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.3308, allocations: 4 kB / 0.4952 GB, free: 1.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3308, allocations: 3.938 kB / 0.4952 GB, free: 1.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001906/0.331, allocations: 0 / 0.4952 GB, free: 1.922 MB / 366.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.01479/0.3458, allocations: 4.866 MB / 0.5 GB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.3458, allocations: 8.031 kB / 0.5 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00136/0.3472, allocations: 0.5797 MB / 0.5006 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009568/0.3568, allocations: 1.559 MB / 0.5021 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006139/0.363, allocations: 2.624 MB / 0.5047 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004168/0.3635, allocations: 304 kB / 0.5049 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001911/0.3654, allocations: 388 kB / 0.5053 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01891/0.3843, allocations: 6.36 MB / 0.5115 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.3845, allocations: 0 / 0.5115 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/0.3855, allocations: 164 kB / 0.5117 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002552/0.3858, allocations: 199.4 kB / 0.5119 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.013/0.3988, allocations: 5.358 MB / 0.5171 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0426/0.4415, allocations: 21.41 MB / 0.538 GB, free: 5.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006066/0.4476, allocations: 3.793 MB / 0.5417 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.449, allocations: 0.7067 MB / 0.5424 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.4492, allocations: 110.1 kB / 0.5425 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.4493, allocations: 43.5 kB / 0.5426 GB, free: 96 kB / 414.1 MB Notification: Performance of pre-optimization done (n=86): time 3.396e-06/0.4493, allocations: 4 kB / 0.5426 GB, free: 92 kB / 414.1 MB Notification: Performance of matching and sorting (n=86): time 0.003284/0.4526, allocations: 1.616 MB / 0.5441 GB, free: 14.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/0.4527, allocations: 86.11 kB / 0.5442 GB, free: 14.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/0.4562, allocations: 1.606 MB / 0.5458 GB, free: 12.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/0.4563, allocations: 41.7 kB / 0.5458 GB, free: 12.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00171/0.458, allocations: 1.846 MB / 0.5476 GB, free: 10.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004365/0.4584, allocations: 349.3 kB / 0.548 GB, free: 10.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009926/0.4594, allocations: 0.4919 MB / 0.5484 GB, free: 9.988 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002635/0.4597, allocations: 349.9 kB / 0.5488 GB, free: 9.641 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/0.4617, allocations: 1.075 MB / 0.5498 GB, free: 8.555 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.4644, allocations: 2.013 MB / 0.5518 GB, free: 6.035 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004879/0.4692, allocations: 3.058 MB / 0.5548 GB, free: 2.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.25e-05/0.4693, allocations: 8 kB / 0.5548 GB, free: 2.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.006442/0.4758, allocations: 3.075 MB / 0.5578 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.751e-05/0.4759, allocations: 24 kB / 0.5578 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.09e-05/0.476, allocations: 32 kB / 0.5578 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.696e-05/0.4761, allocations: 52 kB / 0.5579 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.4782, allocations: 0.5656 MB / 0.5585 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.865e-05/0.4783, allocations: 79.72 kB / 0.5585 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.4802, allocations: 329.8 kB / 0.5588 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/0.4805, allocations: 131.9 kB / 0.559 GB, free: 14.18 MB / 446.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.00351/0.4841, allocations: 1.633 MB / 0.5606 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004041/0.4845, allocations: 135.1 kB / 0.5607 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.4873, allocations: 1.382 MB / 0.562 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001774/0.489, allocations: 1.061 MB / 0.5631 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.4891, allocations: 3.984 kB / 0.5631 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.4891, allocations: 3.984 kB / 0.5631 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008969/0.4981, allocations: 4.266 MB / 0.5672 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4981, allocations: 0 / 0.5672 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009623/0.4991, allocations: 203.7 kB / 0.5674 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.972e-05/0.4991, allocations: 11.94 kB / 0.5675 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.4992, allocations: 16 kB / 0.5675 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.4992, allocations: 11.98 kB / 0.5675 GB, free: 5.363 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4992, allocations: 8.062 kB / 0.5675 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003449/0.5027, allocations: 2.095 MB / 0.5695 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005965/0.5033, allocations: 323.8 kB / 0.5698 GB, free: 2.898 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.5035, allocations: 20 kB / 0.5699 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006983/0.5042, allocations: 63.92 kB / 0.5699 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.5044, allocations: 60.86 kB / 0.57 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/0.5045, allocations: 31.98 kB / 0.57 GB, free: 2.727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001933/0.5064, allocations: 1.101 MB / 0.5711 GB, free: 1.621 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5064, allocations: 4.062 kB / 0.5711 GB, free: 1.617 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002595/0.509, allocations: 0.8599 MB / 0.5719 GB, free: 0.7539 MB / 446.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.00399/0.513, allocations: 2.732 MB / 0.5746 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003646/0.5167, allocations: 2.017 MB / 0.5766 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5167, allocations: 0 / 0.5766 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.5177, allocations: 0.5842 MB / 0.5771 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.5196, allocations: 297.8 kB / 0.5774 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2575/0.7771, allocations: 18.76 MB / 0.5957 GB, free: 108.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003346/0.7805, allocations: 2.901 MB / 0.5986 GB, free: 107.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002009/0.7825, allocations: 0.8081 MB / 0.5994 GB, free: 107.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/0.7837, allocations: 1.129 MB / 0.6005 GB, free: 106.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7838, allocations: 0 / 0.6005 GB, free: 106.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0796/0.8634, allocations: 44.36 MB / 0.6438 GB, free: 79.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/14.73, allocations: 7.562 kB / 0.6438 GB, free: 79.34 MB / 462.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)