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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001094, allocations: 180.9 kB / 15.45 MB, free: 0.6523 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.401/1.401, allocations: 223.3 MB / 239.5 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007488/0.0007488, allocations: 87.72 kB / 290.6 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0237/0.0237, allocations: 5.396 MB / 347.2 MB, free: 7.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 9.938 kB / 409.6 MB, free: 47.6 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1006, allocations: 51.61 MB / 461.2 MB, free: 5.102 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.006874/0.1076, allocations: 7.465 MB / 468.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004721/0.1123, allocations: 2.492 MB / 471.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008899/0.1133, allocations: 63.75 kB / 471.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.1143, allocations: 0.4978 MB / 471.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.1169, allocations: 0.7652 MB / 472.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.1185, allocations: 0.7716 MB / 473.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003274/0.1218, allocations: 3.514 MB / 476.8 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01362/0.1354, allocations: 10.31 MB / 487.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.1377, allocations: 1.436 MB / 488.5 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.1402, allocations: 1.731 MB / 490.3 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004653/0.1407, allocations: 252 kB / 490.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.142, allocations: 0.5075 MB / 491 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005541/0.1426, allocations: 0.7084 MB / 491.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001977/0.1446, allocations: 1.821 MB / 493.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008337/0.1529, allocations: 7.998 MB / 0.4898 GB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.153, allocations: 0 / 0.4898 GB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.153, allocations: 0 / 0.4898 GB, free: 12.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002107/0.1532, allocations: 0 / 0.4898 GB, free: 12.53 MB / 334.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.009942/0.1631, allocations: 3.899 MB / 0.4936 GB, free: 8.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1632, allocations: 12.03 kB / 0.4936 GB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001261/0.1645, allocations: 0.5719 MB / 0.4942 GB, free: 7.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008745/0.1732, allocations: 1.55 MB / 0.4957 GB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003978/0.1772, allocations: 2.541 MB / 0.4982 GB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.1774, allocations: 299.9 kB / 0.4984 GB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007163/0.1782, allocations: 395.8 kB / 0.4988 GB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.1892, allocations: 6.391 MB / 0.5051 GB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-05/0.1893, allocations: 4 kB / 0.5051 GB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.1897, allocations: 160 kB / 0.5052 GB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.1898, allocations: 199.4 kB / 0.5054 GB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00873/0.1986, allocations: 5.389 MB / 0.5107 GB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03173/0.2303, allocations: 21.65 MB / 0.5318 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2558/0.4862, allocations: 3.822 MB / 0.5355 GB, free: 65.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.4875, allocations: 0.7661 MB / 0.5363 GB, free: 65.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.4877, allocations: 109 kB / 0.5364 GB, free: 65.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.4877, allocations: 44.39 kB / 0.5364 GB, free: 65.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.386e-06/0.4877, allocations: 0.7188 kB / 0.5364 GB, free: 65.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.00298/0.4907, allocations: 1.762 MB / 0.5382 GB, free: 65.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.4908, allocations: 93.86 kB / 0.5382 GB, free: 65.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002591/0.4934, allocations: 1.604 MB / 0.5398 GB, free: 64.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.4935, allocations: 39.86 kB / 0.5399 GB, free: 64.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.4947, allocations: 1.77 MB / 0.5416 GB, free: 63.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.495, allocations: 343 kB / 0.5419 GB, free: 63.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/0.4953, allocations: 183 kB / 0.5421 GB, free: 63.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4954, allocations: 351.4 kB / 0.5424 GB, free: 63.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.4972, allocations: 1.125 MB / 0.5435 GB, free: 63.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.4994, allocations: 2.07 MB / 0.5455 GB, free: 62.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/0.5036, allocations: 3.147 MB / 0.5486 GB, free: 60.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.242e-05/0.5036, allocations: 11 kB / 0.5486 GB, free: 60.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005177/0.5088, allocations: 3.171 MB / 0.5517 GB, free: 59.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.5089, allocations: 19.06 kB / 0.5517 GB, free: 59.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-05/0.509, allocations: 39.48 kB / 0.5518 GB, free: 59.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.5091, allocations: 49.89 kB / 0.5518 GB, free: 59.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/0.5114, allocations: 0.5703 MB / 0.5524 GB, free: 59.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001198/0.5115, allocations: 72.05 kB / 0.5524 GB, free: 59.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.5134, allocations: 341.5 kB / 0.5528 GB, free: 59.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.5136, allocations: 125.7 kB / 0.5529 GB, free: 59.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002453/0.5161, allocations: 1.636 MB / 0.5545 GB, free: 58.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.5164, allocations: 129.5 kB / 0.5546 GB, free: 58.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.5188, allocations: 1.484 MB / 0.5561 GB, free: 57.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001404/0.5203, allocations: 1.158 MB / 0.5572 GB, free: 57.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.5203, allocations: 0 / 0.5572 GB, free: 57.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.5203, allocations: 8.562 kB / 0.5572 GB, free: 57.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006199/0.5265, allocations: 4.443 MB / 0.5615 GB, free: 55.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.5265, allocations: 3.969 kB / 0.5615 GB, free: 55.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007797/0.5273, allocations: 214.2 kB / 0.5617 GB, free: 55.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.5273, allocations: 7.594 kB / 0.5618 GB, free: 55.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.5274, allocations: 31.81 kB / 0.5618 GB, free: 55.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.5274, allocations: 3.344 kB / 0.5618 GB, free: 55.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5274, allocations: 3.906 kB / 0.5618 GB, free: 55.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.5301, allocations: 2.261 MB / 0.564 GB, free: 53.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005698/0.5307, allocations: 346.5 kB / 0.5643 GB, free: 52.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.5308, allocations: 20.75 kB / 0.5643 GB, free: 52.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000601/0.5314, allocations: 63.92 kB / 0.5644 GB, free: 52.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.5316, allocations: 60.92 kB / 0.5645 GB, free: 52.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.5316, allocations: 31.98 kB / 0.5645 GB, free: 52.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001258/0.5329, allocations: 1.101 MB / 0.5656 GB, free: 51.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5329, allocations: 0 / 0.5656 GB, free: 51.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002303/0.5352, allocations: 0.8473 MB / 0.5664 GB, free: 50.67 MB / 366.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.002721/0.5379, allocations: 2.899 MB / 0.5692 GB, free: 47.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002764/0.5407, allocations: 2.122 MB / 0.5713 GB, free: 45.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5407, allocations: 0.7656 kB / 0.5713 GB, free: 45.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007002/0.5414, allocations: 0.6274 MB / 0.5719 GB, free: 45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.5431, allocations: 282.6 kB / 0.5722 GB, free: 44.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0269/0.57, allocations: 21.27 MB / 0.593 GB, free: 22.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/0.5727, allocations: 2.898 MB / 0.5958 GB, free: 19.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001924/0.5746, allocations: 0.809 MB / 0.5966 GB, free: 18.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/0.576, allocations: 1.132 MB / 0.5977 GB, free: 17.13 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.576, allocations: 0 / 0.5977 GB, free: 17.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06067/0.6367, allocations: 42.45 MB / 0.6391 GB, free: 6.953 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.637, allocations: 251.3 kB / 0.6394 GB, free: 6.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.982, allocations: 6.781 kB / 0.6394 GB, free: 6.691 MB / 398.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)