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.001178/0.001178, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00117/0.00117, allocations: 194.7 kB / 16.14 MB, free: 6.727 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 1.452/1.452, allocations: 5.384 MB / 295.3 MB, free: 2.992 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 63.91 kB / 356.8 MB, free: 1.941 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0853/0.08633, allocations: 50.61 MB / 407.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.008932/0.09528, allocations: 8.044 MB / 415.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004386/0.0997, allocations: 2.527 MB / 418 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.1007, allocations: 59.81 kB / 418.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00531/0.1061, allocations: 2.86 MB / 420.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.1082, allocations: 0.7662 MB / 421.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.1098, allocations: 0.7869 MB / 422.5 MB, free: 196 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1451/0.2549, allocations: 3.514 MB / 426 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007183/0.2621, allocations: 8.766 MB / 434.8 MB, free: 33.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.2636, allocations: 1.864 MB / 436.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.2652, allocations: 2.292 MB / 438.9 MB, free: 31.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004313/0.2656, allocations: 465.1 kB / 439.4 MB, free: 31.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009897/0.2666, allocations: 0.7133 MB / 440.1 MB, free: 31.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005198/0.2671, allocations: 1.009 MB / 441.1 MB, free: 30.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.2684, allocations: 2.153 MB / 443.2 MB, free: 29.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003733/0.2721, allocations: 8.349 MB / 451.6 MB, free: 26.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2722, allocations: 3.281 kB / 451.6 MB, free: 26.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.2722, allocations: 4 kB / 451.6 MB, free: 26.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.742e-05/0.2722, allocations: 0 / 451.6 MB, free: 26.56 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.007222/0.2795, allocations: 4.799 MB / 456.4 MB, free: 24.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2795, allocations: 8.844 kB / 456.4 MB, free: 24.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005433/0.28, allocations: 0.5779 MB / 457 MB, free: 23.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007772/0.2878, allocations: 1.552 MB / 458.5 MB, free: 23.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/0.2905, allocations: 2.534 MB / 461.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.2907, allocations: 301.3 kB / 461.4 MB, free: 21.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004956/0.2912, allocations: 390.7 kB / 461.8 MB, free: 21.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008148/0.2994, allocations: 6.379 MB / 468.1 MB, free: 19.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.838e-05/0.2994, allocations: 5.188 kB / 468.1 MB, free: 19.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/0.2998, allocations: 165.2 kB / 468.3 MB, free: 19.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001617/0.2999, allocations: 200.5 kB / 468.5 MB, free: 19.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007083/0.307, allocations: 5.38 MB / 473.9 MB, free: 17.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02148/0.3285, allocations: 21.62 MB / 495.5 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004096/0.3326, allocations: 3.837 MB / 499.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009957/0.3336, allocations: 0.7575 MB / 0.4884 GB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.3338, allocations: 115.7 kB / 0.4885 GB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3338, allocations: 39.56 kB / 0.4885 GB, free: 11.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.825e-06/0.3338, allocations: 0 / 0.4885 GB, free: 11.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.002526/0.3364, allocations: 1.756 MB / 0.4902 GB, free: 10.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.3364, allocations: 90.11 kB / 0.4903 GB, free: 10.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.3382, allocations: 1.598 MB / 0.4919 GB, free: 8.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.3383, allocations: 37.7 kB / 0.4919 GB, free: 8.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009312/0.3392, allocations: 1.771 MB / 0.4936 GB, free: 6.676 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.3395, allocations: 343.1 kB / 0.494 GB, free: 6.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006153/0.3401, allocations: 0.4917 MB / 0.4944 GB, free: 5.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3402, allocations: 349.9 kB / 0.4948 GB, free: 5.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.3417, allocations: 1.128 MB / 0.4959 GB, free: 4.363 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.3436, allocations: 2.05 MB / 0.4979 GB, free: 1.824 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/0.3469, allocations: 3.148 MB / 0.501 GB, free: 14.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/0.3469, allocations: 12 kB / 0.501 GB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004121/0.3511, allocations: 3.157 MB / 0.5041 GB, free: 11.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.3511, allocations: 20 kB / 0.5041 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/0.3512, allocations: 39.98 kB / 0.5041 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.297e-05/0.3512, allocations: 52.03 kB / 0.5042 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.3529, allocations: 0.5615 MB / 0.5047 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.927e-05/0.3529, allocations: 71.73 kB / 0.5048 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.3543, allocations: 336.9 kB / 0.5051 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.3544, allocations: 124 kB / 0.5052 GB, free: 10.05 MB / 382.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.00213/0.3566, allocations: 1.637 MB / 0.5068 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.3568, allocations: 134.3 kB / 0.5069 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.3591, allocations: 1.468 MB / 0.5084 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001546/0.3606, allocations: 1.15 MB / 0.5095 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3606, allocations: 0 / 0.5095 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.3606, allocations: 7.969 kB / 0.5095 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006359/0.367, allocations: 4.423 MB / 0.5138 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.367, allocations: 4.125 kB / 0.5138 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008044/0.3678, allocations: 215.7 kB / 0.514 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.3679, allocations: 4 kB / 0.514 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.638e-05/0.3679, allocations: 23.98 kB / 0.5141 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.3679, allocations: 4 kB / 0.5141 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3679, allocations: 4 kB / 0.5141 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.3707, allocations: 2.252 MB / 0.5163 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/0.3712, allocations: 319.3 kB / 0.5166 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.3714, allocations: 27.89 kB / 0.5166 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.3719, allocations: 55.94 kB / 0.5167 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.372, allocations: 68.78 kB / 0.5167 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.3721, allocations: 28 kB / 0.5167 GB, free: 14.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001311/0.3734, allocations: 1.101 MB / 0.5178 GB, free: 13 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3734, allocations: 0 / 0.5178 GB, free: 13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001995/0.3754, allocations: 0.8548 MB / 0.5187 GB, free: 12.14 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 (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.003084/0.3785, allocations: 2.877 MB / 0.5215 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00281/0.3813, allocations: 2.106 MB / 0.5235 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3814, allocations: 0 / 0.5235 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007946/0.3822, allocations: 0.6202 MB / 0.5241 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.3835, allocations: 289.6 kB / 0.5244 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02501/0.4085, allocations: 21.2 MB / 0.5451 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002223/0.4107, allocations: 2.898 MB / 0.5479 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001772/0.4125, allocations: 0.8129 MB / 0.5487 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/0.4138, allocations: 1.128 MB / 0.5498 GB, free: 10.7 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4138, allocations: 3.938 kB / 0.5498 GB, free: 10.69 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.083/1.497, allocations: 42.94 MB / 0.5918 GB, free: 128.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/1.497, allocations: 243.9 kB / 0.592 GB, free: 128.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/3.924, allocations: 1.438 kB / 0.592 GB, free: 128.1 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/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)