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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.07524/0.07524, allocations: 5.473 MB / 311.6 MB, free: 3.406 MB / 238.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 67.89 kB / 434 MB, free: 17.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09378, allocations: 53.39 MB / 487.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006103/0.09989, allocations: 4.428 MB / 491.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.1028, allocations: 1.616 MB / 493.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.1031, allocations: 12 kB / 493.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00219/0.1052, allocations: 0.9155 MB / 494.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.1066, allocations: 0.6174 MB / 494.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.1071, allocations: 235.5 kB / 495.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006659/0.1078, allocations: 0.5764 MB / 495.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00088/0.1086, allocations: 0.5212 MB / 496.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.109, allocations: 255.1 kB / 496.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004425/0.1094, allocations: 326.8 kB / 496.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.288e-05/0.1095, allocations: 68 kB / 496.9 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.1099, allocations: 215.8 kB / 497.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.11, allocations: 147.5 kB / 497.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002717/0.1103, allocations: 302.6 kB / 497.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.1114, allocations: 0.9185 MB / 498.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1114, allocations: 4 kB / 498.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1114, allocations: 0 / 498.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.1114, allocations: 0 / 498.5 MB, free: 0.8359 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.00226/0.1137, allocations: 1.006 MB / 499.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1137, allocations: 12.03 kB / 499.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.1158, allocations: 312.3 kB / 499.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.1163, allocations: 361.5 kB / 0.4884 GB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.1163, allocations: 46.38 kB / 0.4885 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1165, allocations: 68.38 kB / 0.4885 GB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.1177, allocations: 0.7008 MB / 0.4892 GB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.1177, allocations: 8 kB / 0.4892 GB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.1178, allocations: 24 kB / 0.4893 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.1178, allocations: 16 kB / 0.4893 GB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.1189, allocations: 0.5751 MB / 0.4898 GB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.1229, allocations: 2.748 MB / 0.4925 GB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.1244, allocations: 0.8851 MB / 0.4934 GB, free: 9.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.1246, allocations: 114.6 kB / 0.4935 GB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.662e-05/0.1247, allocations: 89.11 kB / 0.4936 GB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1248, allocations: 38.5 kB / 0.4936 GB, free: 9.391 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.864e-06/0.1248, allocations: 7.875 kB / 0.4936 GB, free: 9.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0008351/0.1256, allocations: 329.8 kB / 0.4939 GB, free: 9.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.1256, allocations: 85.05 kB / 0.494 GB, free: 8.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.126, allocations: 298.4 kB / 0.4943 GB, free: 8.648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.126, allocations: 29.7 kB / 0.4943 GB, free: 8.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1262, allocations: 332.3 kB / 0.4946 GB, free: 8.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.435e-05/0.1263, allocations: 99.16 kB / 0.4947 GB, free: 8.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.1265, allocations: 90.2 kB / 0.4948 GB, free: 8.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.1266, allocations: 334.8 kB / 0.4951 GB, free: 7.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.1269, allocations: 154.9 kB / 0.4953 GB, free: 7.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.1273, allocations: 253.9 kB / 0.4955 GB, free: 7.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006567/0.128, allocations: 404.1 kB / 0.4959 GB, free: 6.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.128, allocations: 4 kB / 0.4959 GB, free: 6.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008578/0.1288, allocations: 452.9 kB / 0.4964 GB, free: 6.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1289, allocations: 11.94 kB / 0.4964 GB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.531e-05/0.1289, allocations: 4 kB / 0.4964 GB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.1289, allocations: 8 kB / 0.4964 GB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/0.1295, allocations: 120.2 kB / 0.4965 GB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.1295, allocations: 15.98 kB / 0.4965 GB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.1298, allocations: 55.62 kB / 0.4966 GB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.1298, allocations: 23.98 kB / 0.4966 GB, free: 6.156 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.0002707/0.1301, allocations: 189.7 kB / 0.4968 GB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.1302, allocations: 31.75 kB / 0.4968 GB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000709/0.1309, allocations: 307.4 kB / 0.4971 GB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1309, allocations: 0 / 0.4971 GB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1309, allocations: 4 kB / 0.4971 GB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1309, allocations: 4 kB / 0.4971 GB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.1324, allocations: 0.876 MB / 0.4979 GB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1324, allocations: 0 / 0.4979 GB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.1327, allocations: 71.88 kB / 0.498 GB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/0.1327, allocations: 4 kB / 0.498 GB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.1328, allocations: 4 kB / 0.498 GB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1328, allocations: 7.984 kB / 0.498 GB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1328, allocations: 0 / 0.498 GB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008599/0.1336, allocations: 0.5459 MB / 0.4986 GB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1337, allocations: 112.9 kB / 0.4987 GB, free: 3.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.1338, allocations: 7.938 kB / 0.4987 GB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.134, allocations: 15.98 kB / 0.4987 GB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.1341, allocations: 23.92 kB / 0.4987 GB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.1341, allocations: 15.98 kB / 0.4987 GB, free: 3.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002254/0.1343, allocations: 198 kB / 0.4989 GB, free: 3.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1343, allocations: 0 / 0.4989 GB, free: 3.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005819/0.1349, allocations: 143.5 kB / 0.4991 GB, free: 3.52 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.0002335/0.1351, allocations: 131.2 kB / 0.4992 GB, free: 3.379 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000666/0.1358, allocations: 299.8 kB / 0.4995 GB, free: 3.086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1358, allocations: 3.938 kB / 0.4995 GB, free: 3.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.136, allocations: 103.8 kB / 0.4996 GB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.1365, allocations: 32.61 kB / 0.4996 GB, free: 2.949 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.1379, allocations: 0.8286 MB / 0.5004 GB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.1384, allocations: 0.8263 MB / 0.5012 GB, free: 1.238 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.1386, allocations: 46.94 kB / 0.5013 GB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.041e-05/0.1387, allocations: 31.44 kB / 0.5013 GB, free: 1.164 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1387, allocations: 4 kB / 0.5013 GB, free: 1.16 MB / 366.1 MB Notification: Performance of Templates: time 0.008598/0.1473, allocations: 3.679 MB / 0.5049 GB, free: 13.48 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.makefile [Timeout 660] (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 & ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.694320790935308] Failed to read output from testmodel.py, exit status != 0: 0.15523577015846968 0.34168596399999995 0.056279026 Calling exit ...