Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.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.001259/0.001259, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001369/0.001369, allocations: 215.4 kB / 23.04 MB, free: 5.074 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 8 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.04729/0.04729, allocations: 5.48 MB / 318.7 MB, free: 13.74 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.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",fmuType="cs",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.001858/0.001858, allocations: 67.91 kB / 443 MB, free: 7.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1047, allocations: 54.62 MB / 497.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006122/0.1108, allocations: 4.44 MB / 0.4903 GB, free: 12.7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.1138, allocations: 1.666 MB / 0.4919 GB, free: 11.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.1141, allocations: 15.94 kB / 0.492 GB, free: 11.01 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.1162, allocations: 0.9023 MB / 0.4928 GB, free: 10.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.1172, allocations: 480.8 kB / 0.4933 GB, free: 9.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.1176, allocations: 227.5 kB / 0.4935 GB, free: 9.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006451/0.1183, allocations: 0.5688 MB / 0.4941 GB, free: 8.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009248/0.1192, allocations: 0.5876 MB / 0.4947 GB, free: 8.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003696/0.1196, allocations: 259.1 kB / 0.4949 GB, free: 7.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.12, allocations: 330.7 kB / 0.4952 GB, free: 7.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.377e-05/0.1201, allocations: 68 kB / 0.4953 GB, free: 7.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.1205, allocations: 219.9 kB / 0.4955 GB, free: 7.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.1207, allocations: 151.5 kB / 0.4956 GB, free: 7.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002899/0.121, allocations: 302.5 kB / 0.4959 GB, free: 6.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.1221, allocations: 0.9224 MB / 0.4968 GB, free: 6.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1221, allocations: 4 kB / 0.4968 GB, free: 6.016 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1221, allocations: 0 / 0.4968 GB, free: 6.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1221, allocations: 0 / 0.4968 GB, free: 6.016 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002172/0.1242, allocations: 0.923 MB / 0.4977 GB, free: 5.059 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1243, allocations: 12.03 kB / 0.4977 GB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.551e-05/0.1243, allocations: 18.19 kB / 0.4978 GB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.1244, allocations: 110.7 kB / 0.4979 GB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.1264, allocations: 308.2 kB / 0.4982 GB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.1269, allocations: 298.4 kB / 0.4984 GB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.127, allocations: 50.38 kB / 0.4985 GB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1271, allocations: 72.36 kB / 0.4986 GB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.1283, allocations: 0.7005 MB / 0.4992 GB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.1283, allocations: 3.953 kB / 0.4992 GB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.016e-05/0.1284, allocations: 28 kB / 0.4993 GB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.1284, allocations: 16 kB / 0.4993 GB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/0.1295, allocations: 0.5867 MB / 0.4999 GB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.1332, allocations: 2.449 MB / 0.5023 GB, free: 268 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.1343, allocations: 362.1 kB / 0.5026 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.1346, allocations: 118.2 kB / 0.5027 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.332e-05/0.1347, allocations: 27.84 kB / 0.5027 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1347, allocations: 34.56 kB / 0.5028 GB, free: 15.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.723e-06/0.1347, allocations: 0 / 0.5028 GB, free: 15.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007921/0.1355, allocations: 337.2 kB / 0.5031 GB, free: 15.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.1355, allocations: 85.23 kB / 0.5032 GB, free: 15.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.1359, allocations: 293.7 kB / 0.5035 GB, free: 14.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.1359, allocations: 33.7 kB / 0.5035 GB, free: 14.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.1361, allocations: 324.2 kB / 0.5038 GB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.039e-05/0.1362, allocations: 103.1 kB / 0.5039 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.1363, allocations: 90.14 kB / 0.504 GB, free: 14.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1365, allocations: 334.8 kB / 0.5043 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.1368, allocations: 150.8 kB / 0.5044 GB, free: 13.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.1371, allocations: 269.2 kB / 0.5047 GB, free: 13.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006245/0.1378, allocations: 392.4 kB / 0.5051 GB, free: 13.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1378, allocations: 4 kB / 0.5051 GB, free: 13.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000829/0.1386, allocations: 472.1 kB / 0.5055 GB, free: 12.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.1386, allocations: 11.94 kB / 0.5055 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1386, allocations: 4.562 kB / 0.5055 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.1387, allocations: 12 kB / 0.5056 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.1392, allocations: 119.8 kB / 0.5057 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.1392, allocations: 11.94 kB / 0.5057 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.1395, allocations: 63.55 kB / 0.5057 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.1395, allocations: 20 kB / 0.5058 GB, free: 12.45 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_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: 19 * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002761/0.1398, allocations: 185.7 kB / 0.5059 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/0.1399, allocations: 31.75 kB / 0.506 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.1405, allocations: 307.5 kB / 0.5063 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.1405, allocations: 8 kB / 0.5063 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1405, allocations: 0 / 0.5063 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1405, allocations: 0 / 0.5063 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.1419, allocations: 0.8484 MB / 0.5071 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1419, allocations: 0 / 0.5071 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.1423, allocations: 79.94 kB / 0.5072 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1423, allocations: 0 / 0.5072 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/0.1423, allocations: 8 kB / 0.5072 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1423, allocations: 0 / 0.5072 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.1423, allocations: 7.875 kB / 0.5072 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008455/0.1432, allocations: 0.5415 MB / 0.5077 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.1432, allocations: 39.77 kB / 0.5078 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.1433, allocations: 8 kB / 0.5078 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1435, allocations: 4 kB / 0.5078 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.1435, allocations: 27.89 kB / 0.5078 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.1436, allocations: 12 kB / 0.5078 GB, free: 10.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002221/0.1438, allocations: 201.2 kB / 0.508 GB, free: 10.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1438, allocations: 0 / 0.508 GB, free: 10.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005084/0.1443, allocations: 143.6 kB / 0.5081 GB, free: 9.945 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (voltageSource.pin_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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001285/0.1456, allocations: 1.125 MB / 0.5092 GB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006241/0.1462, allocations: 283.7 kB / 0.5095 GB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1462, allocations: 4 kB / 0.5095 GB, free: 8.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.1464, allocations: 115.8 kB / 0.5096 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.1468, allocations: 41.5 kB / 0.5097 GB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.1515, allocations: 3.49 MB / 0.5131 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.1519, allocations: 0.8185 MB / 0.5139 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.1521, allocations: 50.94 kB / 0.5139 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.1523, allocations: 163.4 kB / 0.5141 GB, free: 3.613 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1523, allocations: 4 kB / 0.5141 GB, free: 3.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2275/0.3798, allocations: 7.785 MB / 0.5217 GB, free: 31.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 10.75 kB / 0.5217 GB, free: 31.54 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter_fmu --startTime=0 --stopTime=180 --stepSize=0.072 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.331084662000649] Failed to read output from testmodel.py, exit status != 0: 11.833911180961877 11.846573256 11.72208228 Calling exit ...