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.001864/0.001864, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002322/0.002322, allocations: 212 kB / 22.24 MB, free: 5.262 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.777 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.05268/0.05268, allocations: 5.479 MB / 317.9 MB, free: 13.54 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",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.002336/0.002336, allocations: 75.89 kB / 442.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.116, allocations: 54.62 MB / 496.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006493/0.1224, allocations: 4.017 MB / 0.4891 GB, free: 12.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.1255, allocations: 1.542 MB / 0.4906 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.1258, allocations: 12 kB / 0.4906 GB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.1279, allocations: 0.8401 MB / 0.4914 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.129, allocations: 445.6 kB / 0.4918 GB, free: 9.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.1295, allocations: 230.3 kB / 0.4921 GB, free: 9.734 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006409/0.1301, allocations: 0.5648 MB / 0.4926 GB, free: 9.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000884/0.131, allocations: 0.5721 MB / 0.4932 GB, free: 8.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.1314, allocations: 255.1 kB / 0.4934 GB, free: 8.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.1317, allocations: 282.7 kB / 0.4937 GB, free: 8.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.635e-05/0.1318, allocations: 68 kB / 0.4937 GB, free: 7.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.1323, allocations: 219.8 kB / 0.494 GB, free: 7.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1324, allocations: 139.6 kB / 0.4941 GB, free: 7.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002452/0.1326, allocations: 246.9 kB / 0.4943 GB, free: 7.398 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.1337, allocations: 0.9302 MB / 0.4952 GB, free: 6.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1337, allocations: 0 / 0.4952 GB, free: 6.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1337, allocations: 4 kB / 0.4952 GB, free: 6.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.1338, allocations: 0 / 0.4952 GB, free: 6.461 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.002127/0.1359, allocations: 0.923 MB / 0.4961 GB, free: 5.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1359, allocations: 8.031 kB / 0.4961 GB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001323/0.1361, allocations: 114.7 kB / 0.4963 GB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.1381, allocations: 304.2 kB / 0.4965 GB, free: 5.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005689/0.1387, allocations: 299.8 kB / 0.4968 GB, free: 4.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.823e-05/0.1387, allocations: 46.38 kB / 0.4969 GB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.1388, allocations: 68.38 kB / 0.4969 GB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.14, allocations: 0.7084 MB / 0.4976 GB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.1401, allocations: 3.953 kB / 0.4976 GB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.1401, allocations: 32 kB / 0.4977 GB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.1402, allocations: 16 kB / 0.4977 GB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.1413, allocations: 0.5765 MB / 0.4982 GB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003956/0.1453, allocations: 2.258 MB / 0.5004 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.1464, allocations: 352.5 kB / 0.5008 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.1467, allocations: 118.2 kB / 0.5009 GB, free: 456 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.168e-05/0.1467, allocations: 11.98 kB / 0.5009 GB, free: 444 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1468, allocations: 46.44 kB / 0.501 GB, free: 388 kB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.685e-06/0.1468, allocations: 4 kB / 0.501 GB, free: 384 kB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0008226/0.1476, allocations: 333.3 kB / 0.5013 GB, free: 44 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/0.1477, allocations: 81.11 kB / 0.5014 GB, free: 15.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.148, allocations: 301.7 kB / 0.5016 GB, free: 15.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1481, allocations: 29.7 kB / 0.5017 GB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.1483, allocations: 328.2 kB / 0.502 GB, free: 15.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.562e-05/0.1484, allocations: 99.11 kB / 0.5021 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.1485, allocations: 98.06 kB / 0.5022 GB, free: 15.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1487, allocations: 342.9 kB / 0.5025 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.149, allocations: 146.8 kB / 0.5026 GB, free: 14.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.1494, allocations: 261.2 kB / 0.5029 GB, free: 14.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.1501, allocations: 404.4 kB / 0.5033 GB, free: 13.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1501, allocations: 0 / 0.5033 GB, free: 13.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008539/0.1509, allocations: 468.6 kB / 0.5037 GB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1509, allocations: 4 kB / 0.5037 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1509, allocations: 7.984 kB / 0.5037 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.151, allocations: 11.94 kB / 0.5037 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.1515, allocations: 123.8 kB / 0.5039 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1515, allocations: 7.984 kB / 0.5039 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.1518, allocations: 63.64 kB / 0.5039 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.1518, allocations: 27.98 kB / 0.504 GB, free: 13.11 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.0003085/0.1521, allocations: 181.7 kB / 0.5041 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.1522, allocations: 27.8 kB / 0.5042 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006923/0.1529, allocations: 308.2 kB / 0.5044 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.1529, allocations: 4 kB / 0.5045 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.1529, allocations: 4 kB / 0.5045 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1529, allocations: 0 / 0.5045 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.1544, allocations: 0.8119 MB / 0.5052 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1544, allocations: 0 / 0.5052 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.1548, allocations: 75.88 kB / 0.5053 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.1548, allocations: 4 kB / 0.5053 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.1548, allocations: 4 kB / 0.5053 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.1548, allocations: 7.984 kB / 0.5053 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1548, allocations: 3.938 kB / 0.5053 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.1557, allocations: 0.5415 MB / 0.5059 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.1558, allocations: 31.81 kB / 0.5059 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.692e-05/0.1558, allocations: 12.06 kB / 0.5059 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.1561, allocations: 11.98 kB / 0.5059 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.1561, allocations: 23.91 kB / 0.5059 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.1561, allocations: 4 kB / 0.5059 GB, free: 11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002446/0.1564, allocations: 205.2 kB / 0.5061 GB, free: 10.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1564, allocations: 3.938 kB / 0.5061 GB, free: 10.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006262/0.157, allocations: 147.5 kB / 0.5063 GB, free: 10.65 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.001374/0.1584, allocations: 1.125 MB / 0.5074 GB, free: 9.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000695/0.1591, allocations: 287.6 kB / 0.5077 GB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1591, allocations: 0 / 0.5077 GB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.1593, allocations: 113.4 kB / 0.5078 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.1598, allocations: 35 kB / 0.5078 GB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/0.1648, allocations: 3.494 MB / 0.5112 GB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.1651, allocations: 227.1 kB / 0.5114 GB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.1653, allocations: 46.95 kB / 0.5115 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.1655, allocations: 163.4 kB / 0.5116 GB, free: 4.934 MB / 382.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1655, allocations: 0 / 0.5116 GB, free: 4.934 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2259/0.3915, allocations: 7.958 MB / 0.5194 GB, free: 32.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.86, allocations: 5.531 kB / 0.5194 GB, free: 32.02 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.536317843943834] Failed to read output from testmodel.py, exit status != 0: 11.972533416002989 11.98758094 11.850716097 Calling exit ...