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.005538/0.005539, allocations: 102.8 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.001247/0.001247, allocations: 190.4 kB / 16.67 MB, free: 6.379 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1452/0.1452, allocations: 5.382 MB / 295.9 MB, free: 2.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 72.06 kB / 408.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2413, allocations: 50.61 MB / 459.4 MB, free: 19.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.007427/0.2488, allocations: 8.125 MB / 467.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.253, allocations: 2.557 MB / 470.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007935/0.2538, allocations: 63.16 kB / 470.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005742/0.2596, allocations: 3.006 MB / 473.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002841/0.2624, allocations: 0.8601 MB / 474 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.2643, allocations: 0.8177 MB / 474.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004076/0.2684, allocations: 3.65 MB / 478.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01548/0.2839, allocations: 10.39 MB / 488.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004238/0.2882, allocations: 2.153 MB / 491 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005392/0.2936, allocations: 2.386 MB / 493.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002386/0.296, allocations: 0.6641 MB / 494.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003899/0.2999, allocations: 0.9343 MB / 495 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002031/0.302, allocations: 1.212 MB / 496.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00424/0.3062, allocations: 2.358 MB / 498.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009887/0.3161, allocations: 8.535 MB / 0.4952 GB, free: 1.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.3162, allocations: 4 kB / 0.4952 GB, free: 1.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3162, allocations: 0 / 0.4952 GB, free: 1.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001948/0.3164, allocations: 4 kB / 0.4952 GB, free: 1.934 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.01267/0.3291, allocations: 4.778 MB / 0.4999 GB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.3291, allocations: 16.03 kB / 0.4999 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001072/0.3302, allocations: 0.5758 MB / 0.5005 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009183/0.3394, allocations: 1.546 MB / 0.502 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005036/0.3445, allocations: 2.616 MB / 0.5045 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/0.3448, allocations: 304 kB / 0.5048 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/0.3462, allocations: 380 kB / 0.5052 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.3599, allocations: 6.368 MB / 0.5114 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.154e-05/0.3601, allocations: 15.81 kB / 0.5114 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004601/0.3605, allocations: 160 kB / 0.5116 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.3608, allocations: 199.4 kB / 0.5118 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.3717, allocations: 5.358 MB / 0.517 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03113/0.4028, allocations: 21.35 MB / 0.5378 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00485/0.4077, allocations: 3.797 MB / 0.5415 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.4089, allocations: 0.7106 MB / 0.5422 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.409, allocations: 102.1 kB / 0.5423 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.4091, allocations: 43.56 kB / 0.5424 GB, free: 276 kB / 414.1 MB Notification: Performance of pre-optimization done (n=86): time 3.226e-06/0.4091, allocations: 0 / 0.5424 GB, free: 276 kB / 414.1 MB Notification: Performance of matching and sorting (n=86): time 0.002775/0.4119, allocations: 1.616 MB / 0.544 GB, free: 14.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.4119, allocations: 90.14 kB / 0.544 GB, free: 14.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0025/0.4144, allocations: 1.602 MB / 0.5456 GB, free: 12.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.279e-05/0.4145, allocations: 37.7 kB / 0.5456 GB, free: 12.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.4158, allocations: 1.78 MB / 0.5474 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/0.4161, allocations: 327.7 kB / 0.5477 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007045/0.4168, allocations: 491.4 kB / 0.5482 GB, free: 10.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.417, allocations: 361.9 kB / 0.5485 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.4185, allocations: 1.079 MB / 0.5496 GB, free: 8.812 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.4205, allocations: 2.001 MB / 0.5515 GB, free: 6.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003388/0.4239, allocations: 3.066 MB / 0.5545 GB, free: 2.742 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.688e-05/0.424, allocations: 8 kB / 0.5545 GB, free: 2.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004415/0.4284, allocations: 3.07 MB / 0.5575 GB, free: 15.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.4284, allocations: 20.88 kB / 0.5575 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.671e-05/0.4285, allocations: 36 kB / 0.5576 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.359e-05/0.4286, allocations: 56 kB / 0.5576 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.4304, allocations: 0.5537 MB / 0.5582 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.189e-05/0.4304, allocations: 75.72 kB / 0.5582 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.432, allocations: 333 kB / 0.5586 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.4322, allocations: 127.9 kB / 0.5587 GB, free: 14.46 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.002471/0.4347, allocations: 1.629 MB / 0.5603 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.435, allocations: 134.3 kB / 0.5604 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.4373, allocations: 1.378 MB / 0.5617 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001507/0.4388, allocations: 1.061 MB / 0.5628 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4388, allocations: 3.938 kB / 0.5628 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.4389, allocations: 7.984 kB / 0.5628 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007294/0.4462, allocations: 4.266 MB / 0.567 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.4462, allocations: 0 / 0.567 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008753/0.4471, allocations: 211.8 kB / 0.5672 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.031e-05/0.4471, allocations: 7.938 kB / 0.5672 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.4472, allocations: 23.94 kB / 0.5672 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.4472, allocations: 8 kB / 0.5672 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4472, allocations: 0 / 0.5672 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002924/0.4502, allocations: 2.095 MB / 0.5692 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005846/0.4508, allocations: 319.1 kB / 0.5695 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.451, allocations: 23.91 kB / 0.5696 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006554/0.4517, allocations: 63.98 kB / 0.5696 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.4518, allocations: 56.92 kB / 0.5697 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.4519, allocations: 24 kB / 0.5697 GB, free: 3.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001636/0.4535, allocations: 1.101 MB / 0.5708 GB, free: 1.918 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4535, allocations: 0 / 0.5708 GB, free: 1.918 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002437/0.456, allocations: 0.8548 MB / 0.5716 GB, free: 1.059 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.003258/0.4592, allocations: 2.715 MB / 0.5743 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003135/0.4624, allocations: 2.021 MB / 0.5762 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4624, allocations: 0 / 0.5762 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008239/0.4632, allocations: 0.5717 MB / 0.5768 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.4647, allocations: 316.1 kB / 0.5771 GB, free: 11.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2425/0.7072, allocations: 18.66 MB / 0.5953 GB, free: 108.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002869/0.7101, allocations: 2.896 MB / 0.5981 GB, free: 107.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00196/0.7121, allocations: 0.8127 MB / 0.5989 GB, free: 107.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/0.7134, allocations: 1.131 MB / 0.6 GB, free: 106.4 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.7134, allocations: 0 / 0.6 GB, free: 106.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07732/0.7907, allocations: 44.2 MB / 0.6432 GB, free: 80.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.62, allocations: 9.5 kB / 0.6432 GB, free: 80.07 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)