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.001767/0.001767, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002037/0.002037, allocations: 222.8 kB / 23.03 MB, free: 4.945 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.04551/0.04551, allocations: 5.491 MB / 318.7 MB, free: 13.52 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.001893/0.001893, allocations: 63.91 kB / 442.9 MB, free: 7.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1052, allocations: 54.62 MB / 497.6 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006086/0.1113, allocations: 4.009 MB / 0.4898 GB, free: 12.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.1143, allocations: 1.542 MB / 0.4913 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002938/0.1146, allocations: 12 kB / 0.4913 GB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.1168, allocations: 0.8351 MB / 0.4922 GB, free: 10.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.1179, allocations: 461.5 kB / 0.4926 GB, free: 9.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.1184, allocations: 219.5 kB / 0.4928 GB, free: 9.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006582/0.1191, allocations: 0.561 MB / 0.4934 GB, free: 9.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008791/0.1199, allocations: 0.5876 MB / 0.4939 GB, free: 8.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.1203, allocations: 271.1 kB / 0.4942 GB, free: 8.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003913/0.1207, allocations: 326.7 kB / 0.4945 GB, free: 7.988 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.332e-05/0.1208, allocations: 68 kB / 0.4946 GB, free: 7.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.1212, allocations: 219.9 kB / 0.4948 GB, free: 7.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.1213, allocations: 139.5 kB / 0.4949 GB, free: 7.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.1216, allocations: 246.9 kB / 0.4951 GB, free: 7.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.1227, allocations: 0.9302 MB / 0.496 GB, free: 6.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1227, allocations: 0 / 0.496 GB, free: 6.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1227, allocations: 0 / 0.496 GB, free: 6.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1227, allocations: 0 / 0.496 GB, free: 6.395 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.002135/0.1248, allocations: 0.923 MB / 0.497 GB, free: 5.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1249, allocations: 12.03 kB / 0.497 GB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.67e-05/0.1249, allocations: 18.19 kB / 0.497 GB, free: 5.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.125, allocations: 114.7 kB / 0.4971 GB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.127, allocations: 300.2 kB / 0.4974 GB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/0.1277, allocations: 307.7 kB / 0.4977 GB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.1277, allocations: 50.38 kB / 0.4977 GB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.1278, allocations: 72.31 kB / 0.4978 GB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.1291, allocations: 0.6965 MB / 0.4985 GB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.1291, allocations: 7.953 kB / 0.4985 GB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.1292, allocations: 28 kB / 0.4985 GB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.1292, allocations: 16 kB / 0.4985 GB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.1303, allocations: 0.5829 MB / 0.4991 GB, free: 3.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003751/0.1341, allocations: 2.25 MB / 0.5013 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.1352, allocations: 358.6 kB / 0.5016 GB, free: 480 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.1354, allocations: 114.1 kB / 0.5017 GB, free: 360 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.413e-05/0.1355, allocations: 19.92 kB / 0.5018 GB, free: 340 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1355, allocations: 42.5 kB / 0.5018 GB, free: 288 kB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.504e-06/0.1355, allocations: 3.938 kB / 0.5018 GB, free: 284 kB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0008049/0.1363, allocations: 337.2 kB / 0.5021 GB, free: 15.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.1364, allocations: 85.09 kB / 0.5022 GB, free: 15.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.1367, allocations: 289.8 kB / 0.5025 GB, free: 15.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.1367, allocations: 33.64 kB / 0.5025 GB, free: 15.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.1369, allocations: 324.2 kB / 0.5028 GB, free: 15.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.289e-05/0.137, allocations: 103.1 kB / 0.5029 GB, free: 15.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1372, allocations: 90.14 kB / 0.503 GB, free: 14.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1373, allocations: 342.8 kB / 0.5033 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.1376, allocations: 142.8 kB / 0.5035 GB, free: 14.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.138, allocations: 269.3 kB / 0.5037 GB, free: 14.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006125/0.1386, allocations: 396.4 kB / 0.5041 GB, free: 13.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.1386, allocations: 0 / 0.5041 GB, free: 13.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008176/0.1394, allocations: 472.2 kB / 0.5045 GB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1394, allocations: 4.562 kB / 0.5046 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.1394, allocations: 8 kB / 0.5046 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1394, allocations: 8 kB / 0.5046 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.1399, allocations: 127.8 kB / 0.5047 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.14, allocations: 11.94 kB / 0.5047 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.1402, allocations: 59.55 kB / 0.5048 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.1403, allocations: 20 kB / 0.5048 GB, free: 13.04 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.0002918/0.1406, allocations: 188.8 kB / 0.505 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.28e-05/0.1407, allocations: 35.73 kB / 0.505 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006333/0.1413, allocations: 308.1 kB / 0.5053 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1413, allocations: 0 / 0.5053 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1413, allocations: 8 kB / 0.5053 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1413, allocations: 3.984 kB / 0.5053 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.1427, allocations: 0.8003 MB / 0.5061 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1427, allocations: 0 / 0.5061 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.1431, allocations: 75.86 kB / 0.5062 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1431, allocations: 4 kB / 0.5062 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.1431, allocations: 8 kB / 0.5062 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1431, allocations: 4 kB / 0.5062 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1431, allocations: 3.938 kB / 0.5062 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008144/0.1439, allocations: 0.5454 MB / 0.5067 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.144, allocations: 31.78 kB / 0.5067 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.144, allocations: 15.92 kB / 0.5067 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.1442, allocations: 8 kB / 0.5068 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.767e-05/0.1443, allocations: 31.95 kB / 0.5068 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1443, allocations: 4 kB / 0.5068 GB, free: 10.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002152/0.1445, allocations: 205.2 kB / 0.507 GB, free: 10.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1445, allocations: 0 / 0.507 GB, free: 10.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005535/0.1451, allocations: 139.6 kB / 0.5071 GB, free: 10.57 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.001214/0.1463, allocations: 1.122 MB / 0.5082 GB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006155/0.1469, allocations: 295.9 kB / 0.5085 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1469, allocations: 0 / 0.5085 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.1471, allocations: 116.3 kB / 0.5086 GB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.1476, allocations: 28.44 kB / 0.5086 GB, free: 8.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.1521, allocations: 3.487 MB / 0.512 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.1523, allocations: 227.1 kB / 0.5123 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.1525, allocations: 46.94 kB / 0.5123 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.1527, allocations: 163.4 kB / 0.5125 GB, free: 4.848 MB / 382.1 MB Notification: Performance of SimCode: time 1.163e-06/0.1527, allocations: 11.94 kB / 0.5125 GB, free: 4.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2178/0.3705, allocations: 7.758 MB / 0.52 GB, free: 32.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12, allocations: 8.75 kB / 0.5201 GB, free: 32.19 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.637258842005394] Failed to read output from testmodel.py, exit status != 0: 12.160119615029544 12.181739635 12.054861084 Calling exit ...