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.001308/0.001308, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.001308/0.001308, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.438/1.438, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.04424/0.04424, allocations: 5.482 MB / 315 MB, free: 1.582 MB / 238.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.00188/0.00188, allocations: 65.83 kB / 437.8 MB, free: 39.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09608, allocations: 54.58 MB / 492.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.004767/0.1008, allocations: 4.409 MB / 496.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.1029, allocations: 1.659 MB / 498.4 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.1031, allocations: 16 kB / 498.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.1047, allocations: 0.9007 MB / 499.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008156/0.1056, allocations: 469.5 kB / 499.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1059, allocations: 227.5 kB / 0.4883 GB, free: 4.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.1063, allocations: 0.5609 MB / 0.4888 GB, free: 4.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006243/0.1069, allocations: 0.5407 MB / 0.4894 GB, free: 3.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.1071, allocations: 259.1 kB / 0.4896 GB, free: 3.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.1074, allocations: 330.7 kB / 0.4899 GB, free: 3.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.1074, allocations: 68 kB / 0.49 GB, free: 2.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.1078, allocations: 223.9 kB / 0.4902 GB, free: 2.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.1078, allocations: 143.5 kB / 0.4904 GB, free: 2.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.108, allocations: 310.5 kB / 0.4906 GB, free: 2.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007229/0.1087, allocations: 0.9146 MB / 0.4915 GB, free: 1.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1087, allocations: 0 / 0.4915 GB, free: 1.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1087, allocations: 3.984 kB / 0.4915 GB, free: 1.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1087, allocations: 4 kB / 0.4915 GB, free: 1.355 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001821/0.1105, allocations: 1.006 MB / 0.4925 GB, free: 304 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1106, allocations: 16.03 kB / 0.4925 GB, free: 288 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.931e-05/0.1106, allocations: 18.19 kB / 0.4926 GB, free: 272 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.17e-05/0.1107, allocations: 106.7 kB / 0.4927 GB, free: 156 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.1126, allocations: 300.3 kB / 0.493 GB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.1132, allocations: 365.5 kB / 0.4933 GB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.1132, allocations: 54.38 kB / 0.4934 GB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1134, allocations: 72.33 kB / 0.4934 GB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.1146, allocations: 0.7044 MB / 0.4941 GB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1146, allocations: 0 / 0.4941 GB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.1146, allocations: 28 kB / 0.4941 GB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.1147, allocations: 16 kB / 0.4941 GB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.1158, allocations: 0.579 MB / 0.4947 GB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004108/0.1199, allocations: 2.978 MB / 0.4976 GB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.1214, allocations: 0.8938 MB / 0.4985 GB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.1216, allocations: 117.7 kB / 0.4986 GB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.1218, allocations: 174.1 kB / 0.4988 GB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1218, allocations: 34.56 kB / 0.4988 GB, free: 9.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.964e-06/0.1218, allocations: 0 / 0.4988 GB, free: 9.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0008317/0.1226, allocations: 335.5 kB / 0.4991 GB, free: 9.047 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.1227, allocations: 85.09 kB / 0.4992 GB, free: 8.945 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.123, allocations: 290.6 kB / 0.4995 GB, free: 8.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.1231, allocations: 33.7 kB / 0.4995 GB, free: 8.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.1233, allocations: 328.2 kB / 0.4998 GB, free: 8.289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.163e-05/0.1234, allocations: 103.1 kB / 0.4999 GB, free: 8.188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.1235, allocations: 90.2 kB / 0.5 GB, free: 8.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1237, allocations: 338.8 kB / 0.5003 GB, free: 7.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.124, allocations: 142.9 kB / 0.5005 GB, free: 7.613 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.1244, allocations: 273.8 kB / 0.5007 GB, free: 7.289 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/0.125, allocations: 388.6 kB / 0.5011 GB, free: 6.852 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.125, allocations: 7.938 kB / 0.5011 GB, free: 6.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008405/0.1258, allocations: 464.2 kB / 0.5016 GB, free: 6.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1259, allocations: 8 kB / 0.5016 GB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1259, allocations: 4 kB / 0.5016 GB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.247e-05/0.1259, allocations: 12.56 kB / 0.5016 GB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.1264, allocations: 127.8 kB / 0.5017 GB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.1264, allocations: 11.94 kB / 0.5017 GB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.1267, allocations: 67.5 kB / 0.5018 GB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.1268, allocations: 20 kB / 0.5018 GB, free: 6.137 MB / 366.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.0002929/0.1271, allocations: 184 kB / 0.502 GB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.1271, allocations: 35.78 kB / 0.502 GB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.1278, allocations: 302.2 kB / 0.5023 GB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1278, allocations: 4 kB / 0.5023 GB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1278, allocations: 0 / 0.5023 GB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.1278, allocations: 7.984 kB / 0.5023 GB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.1293, allocations: 0.8573 MB / 0.5031 GB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1293, allocations: 0 / 0.5031 GB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.1296, allocations: 79.88 kB / 0.5032 GB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1296, allocations: 4 kB / 0.5032 GB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.1296, allocations: 11.94 kB / 0.5032 GB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1296, allocations: 0 / 0.5032 GB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.1296, allocations: 11.92 kB / 0.5032 GB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008572/0.1305, allocations: 0.5425 MB / 0.5038 GB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.1306, allocations: 108.9 kB / 0.5039 GB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.1306, allocations: 8 kB / 0.5039 GB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.1308, allocations: 11.98 kB / 0.5039 GB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.1309, allocations: 23.91 kB / 0.5039 GB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.1309, allocations: 8 kB / 0.5039 GB, free: 3.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.1312, allocations: 206 kB / 0.5041 GB, free: 3.648 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1312, allocations: 0 / 0.5041 GB, free: 3.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005462/0.1317, allocations: 139.6 kB / 0.5043 GB, free: 3.512 MB / 366.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.001266/0.133, allocations: 1.133 MB / 0.5054 GB, free: 2.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006348/0.1336, allocations: 287.9 kB / 0.5056 GB, free: 2.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1336, allocations: 0 / 0.5056 GB, free: 2.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.1338, allocations: 124.2 kB / 0.5058 GB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.1343, allocations: 31.42 kB / 0.5058 GB, free: 1.922 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004763/0.139, allocations: 3.487 MB / 0.5092 GB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.1395, allocations: 0.8224 MB / 0.51 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.1397, allocations: 50.94 kB / 0.51 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.1399, allocations: 163.4 kB / 0.5102 GB, free: 13.18 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1399, allocations: 0 / 0.5102 GB, free: 13.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.1658, allocations: 7.41 MB / 0.5174 GB, free: 5.934 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.604/8.77, allocations: 13.88 kB / 0.5175 GB, free: 5.922 MB / 382.1 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 11.407050331006758] Failed to read output from testmodel.py, exit status != 0: 8.8934295779909 8.909591105 8.797884942 Calling exit ...