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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 114.3 kB / 18.94 MB, free: 2.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 222.7 kB / 22.26 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.593/1.593, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.03187/0.03187, allocations: 5.486 MB / 317.9 MB, free: 13.75 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.89 kB / 442.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1232, allocations: 54.61 MB / 496.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01204/0.1353, allocations: 8.233 MB / 0.4933 GB, free: 8.914 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006069/0.1413, allocations: 2.628 MB / 0.4958 GB, free: 6.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.1432, allocations: 71.62 kB / 0.4959 GB, free: 6.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007868/0.1511, allocations: 3.065 MB / 0.4989 GB, free: 3.137 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003394/0.1544, allocations: 0.7187 MB / 0.4996 GB, free: 2.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.1571, allocations: 0.9762 MB / 0.5005 GB, free: 1.438 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005775/0.1629, allocations: 3.659 MB / 0.5041 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01377/0.1766, allocations: 6.36 MB / 0.5103 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004845/0.1815, allocations: 2.202 MB / 0.5125 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005025/0.1865, allocations: 2.41 MB / 0.5148 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002019/0.1885, allocations: 0.6641 MB / 0.5155 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003241/0.1918, allocations: 0.9606 MB / 0.5164 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2195/0.4113, allocations: 1.221 MB / 0.5176 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002602/0.4139, allocations: 2.355 MB / 0.5199 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.4244, allocations: 8.582 MB / 0.5283 GB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.4244, allocations: 5.594 kB / 0.5283 GB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4244, allocations: 1.219 kB / 0.5283 GB, free: 13.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003208/0.4247, allocations: 0 / 0.5283 GB, free: 13.36 MB / 382.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.01578/0.4405, allocations: 4.805 MB / 0.533 GB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.4405, allocations: 9.375 kB / 0.533 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001463/0.442, allocations: 0.5758 MB / 0.5336 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009883/0.4519, allocations: 1.59 MB / 0.5351 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006954/0.4588, allocations: 2.632 MB / 0.5377 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.4591, allocations: 299.6 kB / 0.538 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001738/0.4608, allocations: 393.3 kB / 0.5383 GB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.4771, allocations: 6.369 MB / 0.5446 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.179e-05/0.4771, allocations: 1.812 kB / 0.5446 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004785/0.4776, allocations: 164.7 kB / 0.5447 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002768/0.4779, allocations: 198.5 kB / 0.5449 GB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.4883, allocations: 5.372 MB / 0.5501 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03667/0.525, allocations: 20.3 MB / 0.57 GB, free: 1.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.5295, allocations: 1.906 MB / 0.5718 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.5307, allocations: 0.6498 MB / 0.5725 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000149/0.5309, allocations: 39.77 kB / 0.5725 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.5309, allocations: 46.28 kB / 0.5726 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=86): time 2.604e-06/0.5309, allocations: 4 kB / 0.5726 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=86): time 0.003013/0.5339, allocations: 1.619 MB / 0.5741 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.534, allocations: 90.11 kB / 0.5742 GB, free: 13.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/0.5373, allocations: 1.61 MB / 0.5758 GB, free: 11.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.5374, allocations: 40.33 kB / 0.5758 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002124/0.5396, allocations: 1.841 MB / 0.5776 GB, free: 9.887 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/0.5401, allocations: 344.1 kB / 0.578 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.5413, allocations: 0.4987 MB / 0.5784 GB, free: 9.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000261/0.5415, allocations: 353.9 kB / 0.5788 GB, free: 8.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.5437, allocations: 1.079 MB / 0.5798 GB, free: 7.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002808/0.5465, allocations: 2.013 MB / 0.5818 GB, free: 5.105 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004504/0.551, allocations: 3.058 MB / 0.5848 GB, free: 1.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.408e-05/0.551, allocations: 12 kB / 0.5848 GB, free: 1.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.005829/0.5569, allocations: 3.084 MB / 0.5878 GB, free: 14.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.5569, allocations: 20 kB / 0.5878 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.348e-05/0.557, allocations: 36 kB / 0.5879 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.705e-05/0.557, allocations: 48 kB / 0.5879 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/0.5592, allocations: 0.5634 MB / 0.5885 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.948e-05/0.5593, allocations: 80.12 kB / 0.5885 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.5611, allocations: 329.8 kB / 0.5889 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/0.5614, allocations: 128 kB / 0.589 GB, free: 13.67 MB / 430.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.00409/0.5655, allocations: 1.638 MB / 0.5906 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004982/0.566, allocations: 131.1 kB / 0.5907 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.5688, allocations: 1.387 MB / 0.5921 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001852/0.5707, allocations: 1.064 MB / 0.5931 GB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.5707, allocations: 7.938 kB / 0.5931 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.5707, allocations: 3.984 kB / 0.5931 GB, free: 9.461 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.5808, allocations: 4.263 MB / 0.5973 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.5808, allocations: 0 / 0.5973 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009705/0.5818, allocations: 217.7 kB / 0.5975 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/0.5818, allocations: 4 kB / 0.5975 GB, free: 4.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.083e-05/0.5819, allocations: 27.92 kB / 0.5975 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.5819, allocations: 7.375 kB / 0.5975 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5819, allocations: 0 / 0.5975 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/0.5853, allocations: 2.11 MB / 0.5996 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007221/0.586, allocations: 239.9 kB / 0.5998 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003146/0.5864, allocations: 23.92 kB / 0.5998 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/0.5871, allocations: 55.94 kB / 0.5999 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.5873, allocations: 68.94 kB / 0.5999 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.5873, allocations: 31.98 kB / 0.6 GB, free: 2.383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002041/0.5894, allocations: 1.101 MB / 0.6011 GB, free: 1.277 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5894, allocations: 0 / 0.6011 GB, free: 1.277 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003192/0.5926, allocations: 0.856 MB / 0.6019 GB, free: 428 kB / 430.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.004452/0.597, allocations: 2.731 MB / 0.6046 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004013/0.601, allocations: 1.941 MB / 0.6065 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.601, allocations: 0.5 kB / 0.6065 GB, free: 11.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009958/0.602, allocations: 0.534 MB / 0.607 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.6038, allocations: 302.2 kB / 0.6073 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03559/0.6394, allocations: 18.78 MB / 0.6256 GB, free: 7.148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004812/0.6442, allocations: 2.902 MB / 0.6284 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0022/0.6464, allocations: 0.8168 MB / 0.6292 GB, free: 3.391 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002133/0.6486, allocations: 1.132 MB / 0.6303 GB, free: 2.258 MB / 462.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6486, allocations: 0 / 0.6303 GB, free: 2.258 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09857/0.7471, allocations: 46.78 MB / 0.676 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.14, allocations: 0 / 0.676 GB, free: 3.711 MB / 0.4981 GB " [Timeout remaining time 644] (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 --stepSize=0.072 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.191068606916815] Failed to read output from testmodel.py, exit status != 0: 16.281759068137035 16.314087593 15.883721279 Calling exit ...