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.001407/0.001407, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001617/0.001618, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1971/0.1971, allocations: 5.372 MB / 296.5 MB, free: 3.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003281, allocations: 4 kB / 358.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 51.61 MB / 410.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.008583/0.1269, allocations: 6.976 MB / 417.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005293/0.1323, allocations: 2.31 MB / 419.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.1333, allocations: 59.81 kB / 419.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.1345, allocations: 361.8 kB / 420 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.1369, allocations: 0.6922 MB / 420.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.1384, allocations: 0.6272 MB / 421.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2754/0.4138, allocations: 3.34 MB / 424.6 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01309/0.4269, allocations: 8.379 MB / 433 MB, free: 32.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.4291, allocations: 1.415 MB / 434.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.4315, allocations: 1.668 MB / 436.1 MB, free: 32.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004058/0.4319, allocations: 250.6 kB / 436.3 MB, free: 32.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.4332, allocations: 0.4903 MB / 436.8 MB, free: 32.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005464/0.4337, allocations: 0.7013 MB / 437.5 MB, free: 32.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008703/0.4346, allocations: 0.8097 MB / 438.3 MB, free: 32.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005212/0.4398, allocations: 7.216 MB / 445.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4399, allocations: 0 / 445.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.4399, allocations: 7.219 kB / 445.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001898/0.4401, allocations: 3.375 kB / 445.6 MB, free: 32.32 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.01086/0.4509, allocations: 3.945 MB / 449.5 MB, free: 30.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.451, allocations: 9.594 kB / 449.5 MB, free: 30.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001696/0.4527, allocations: 0.5734 MB / 450.1 MB, free: 30.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008646/0.4614, allocations: 1.547 MB / 451.6 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004751/0.4661, allocations: 2.515 MB / 454.1 MB, free: 29.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.4664, allocations: 299.2 kB / 454.4 MB, free: 29.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001177/0.4676, allocations: 386.9 kB / 454.8 MB, free: 28.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.4811, allocations: 6.363 MB / 461.2 MB, free: 26.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-05/0.4813, allocations: 2.062 kB / 461.2 MB, free: 26.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004797/0.4818, allocations: 160.2 kB / 461.3 MB, free: 26.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002745/0.4821, allocations: 200.4 kB / 461.5 MB, free: 26.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.4956, allocations: 5.366 MB / 466.9 MB, free: 24.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03866/0.5343, allocations: 21.64 MB / 488.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/0.5384, allocations: 3.826 MB / 492.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.5395, allocations: 0.7633 MB / 493.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.5397, allocations: 112.4 kB / 493.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5398, allocations: 44.25 kB / 493.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=92): time 3.186e-06/0.5398, allocations: 0 / 493.3 MB, free: 4.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=92): time 0.002721/0.5425, allocations: 1.757 MB / 495 MB, free: 3.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.5426, allocations: 90.25 kB / 495.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/0.545, allocations: 1.591 MB / 496.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/0.5451, allocations: 41.7 kB / 496.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008644/0.546, allocations: 1.771 MB / 498.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.5463, allocations: 347.4 kB / 498.9 MB, free: 480 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.5465, allocations: 44 kB / 498.9 MB, free: 436 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.5467, allocations: 451.2 kB / 499.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.5484, allocations: 1.11 MB / 0.4887 GB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/0.5509, allocations: 2.052 MB / 0.4907 GB, free: 12.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/0.5533, allocations: 1.525 MB / 0.4922 GB, free: 10.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.399e-05/0.5534, allocations: 12 kB / 0.4922 GB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005552/0.5589, allocations: 3.152 MB / 0.4953 GB, free: 7.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.559, allocations: 23.95 kB / 0.4953 GB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.096e-05/0.559, allocations: 36 kB / 0.4954 GB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.184e-05/0.5591, allocations: 52 kB / 0.4954 GB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.561, allocations: 0.5811 MB / 0.496 GB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.676e-05/0.5611, allocations: 71.72 kB / 0.4961 GB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.5627, allocations: 344.9 kB / 0.4964 GB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.5629, allocations: 116 kB / 0.4965 GB, free: 6.395 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002755/0.5656, allocations: 1.629 MB / 0.4981 GB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.5659, allocations: 126.4 kB / 0.4982 GB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.5684, allocations: 1.483 MB / 0.4997 GB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001645/0.57, allocations: 1.154 MB / 0.5008 GB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.57, allocations: 0 / 0.5008 GB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.5701, allocations: 11.97 kB / 0.5008 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/0.577, allocations: 4.435 MB / 0.5051 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.577, allocations: 0 / 0.5051 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/0.5779, allocations: 219.8 kB / 0.5053 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/0.5779, allocations: 8 kB / 0.5053 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.578, allocations: 20 kB / 0.5054 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.578, allocations: 7.938 kB / 0.5054 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.578, allocations: 3.984 kB / 0.5054 GB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/0.5816, allocations: 2.261 MB / 0.5076 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008051/0.5824, allocations: 339.1 kB / 0.5079 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.5827, allocations: 20 kB / 0.5079 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009692/0.5837, allocations: 59.92 kB / 0.508 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.5839, allocations: 68.92 kB / 0.508 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/0.584, allocations: 27.98 kB / 0.5081 GB, free: 10.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002178/0.5862, allocations: 1.089 MB / 0.5091 GB, free: 9.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5862, allocations: 0 / 0.5091 GB, free: 9.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00313/0.5893, allocations: 0.8509 MB / 0.51 GB, free: 8.461 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005344/0.5947, allocations: 2.883 MB / 0.5128 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005599/0.6003, allocations: 2.103 MB / 0.5148 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.6003, allocations: 3.938 kB / 0.5148 GB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.6018, allocations: 0.6305 MB / 0.5155 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/0.6045, allocations: 283.2 kB / 0.5157 GB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02689/0.6314, allocations: 15.05 MB / 0.5304 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003116/0.6345, allocations: 2.906 MB / 0.5333 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002142/0.6367, allocations: 0.8129 MB / 0.534 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/0.6384, allocations: 1.132 MB / 0.5352 GB, free: 13.8 MB / 414.1 MB Notification: Performance of SimCode: time 1.563e-06/0.6384, allocations: 0 / 0.5352 GB, free: 13.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07792/0.7163, allocations: 42.14 MB / 0.5763 GB, free: 3.98 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/0.7166, allocations: 233.4 kB / 0.5765 GB, free: 3.742 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.172, allocations: 0 / 0.5765 GB, free: 3.742 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/linux/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) Environment - environmentSimulation: