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.001399/0.001399, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001533/0.001533, allocations: 215.1 kB / 22.25 MB, free: 4.855 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.805 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.03246/0.03246, allocations: 5.481 MB / 317.9 MB, free: 13.55 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: 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: 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.002077/0.002077, allocations: 63.91 kB / 442.7 MB, free: 7.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.1014, allocations: 54.63 MB / 497.3 MB, free: 368 kB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006071/0.1074, allocations: 4.017 MB / 0.4896 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.1105, allocations: 1.534 MB / 0.4911 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003483/0.1108, allocations: 12 kB / 0.4911 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.1131, allocations: 0.8431 MB / 0.4919 GB, free: 9.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.1143, allocations: 453.5 kB / 0.4923 GB, free: 9.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.1149, allocations: 215.6 kB / 0.4925 GB, free: 9.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006827/0.1155, allocations: 0.5688 MB / 0.4931 GB, free: 8.688 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009219/0.1165, allocations: 0.5721 MB / 0.4936 GB, free: 8.109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.1168, allocations: 255.1 kB / 0.4939 GB, free: 7.859 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.1172, allocations: 278.7 kB / 0.4942 GB, free: 7.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.411e-05/0.1173, allocations: 72 kB / 0.4942 GB, free: 7.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.1178, allocations: 219.8 kB / 0.4944 GB, free: 7.301 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1179, allocations: 143.6 kB / 0.4946 GB, free: 7.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.1181, allocations: 246.8 kB / 0.4948 GB, free: 6.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.1193, allocations: 0.9224 MB / 0.4957 GB, free: 5.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1193, allocations: 3.984 kB / 0.4957 GB, free: 5.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1193, allocations: 0 / 0.4957 GB, free: 5.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1193, allocations: 3.938 kB / 0.4957 GB, free: 5.984 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.002237/0.1215, allocations: 0.9268 MB / 0.4966 GB, free: 5.023 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1216, allocations: 12.03 kB / 0.4966 GB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.1236, allocations: 304.2 kB / 0.4969 GB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.1242, allocations: 303.7 kB / 0.4972 GB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.1242, allocations: 46.38 kB / 0.4973 GB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.1244, allocations: 68.38 kB / 0.4973 GB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.1256, allocations: 0.7047 MB / 0.498 GB, free: 3.559 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.1257, allocations: 7.891 kB / 0.498 GB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.1257, allocations: 28 kB / 0.498 GB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.1257, allocations: 16 kB / 0.4981 GB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.1269, allocations: 0.5751 MB / 0.4986 GB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.1305, allocations: 2.153 MB / 0.5007 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1317, allocations: 360.2 kB / 0.5011 GB, free: 320 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.1319, allocations: 125.7 kB / 0.5012 GB, free: 188 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.798e-05/0.132, allocations: 11.98 kB / 0.5012 GB, free: 176 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.132, allocations: 38.56 kB / 0.5012 GB, free: 128 kB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.344e-06/0.132, allocations: 0 / 0.5012 GB, free: 128 kB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0008342/0.1329, allocations: 333.8 kB / 0.5015 GB, free: 15.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.1329, allocations: 77.11 kB / 0.5016 GB, free: 15.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.1332, allocations: 259.9 kB / 0.5019 GB, free: 15.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.1333, allocations: 29.83 kB / 0.5019 GB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.1335, allocations: 339.9 kB / 0.5022 GB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.203e-05/0.1336, allocations: 103.1 kB / 0.5023 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.1338, allocations: 90.12 kB / 0.5024 GB, free: 14.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1339, allocations: 338.8 kB / 0.5027 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.1342, allocations: 146.7 kB / 0.5029 GB, free: 14.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.1346, allocations: 261.2 kB / 0.5031 GB, free: 14.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006622/0.1353, allocations: 400.4 kB / 0.5035 GB, free: 13.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1353, allocations: 0 / 0.5035 GB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008681/0.1362, allocations: 468.3 kB / 0.5039 GB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.1362, allocations: 10.66 kB / 0.504 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.1362, allocations: 7.938 kB / 0.504 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1362, allocations: 8 kB / 0.504 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.1367, allocations: 124.3 kB / 0.5041 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.1368, allocations: 15.92 kB / 0.5041 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.137, allocations: 47.66 kB / 0.5042 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.1371, allocations: 20 kB / 0.5042 GB, free: 12.92 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.0002857/0.1374, allocations: 196.6 kB / 0.5044 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.1374, allocations: 23.81 kB / 0.5044 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/0.1381, allocations: 299.1 kB / 0.5047 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1381, allocations: 4 kB / 0.5047 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1381, allocations: 0 / 0.5047 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.1381, allocations: 3.984 kB / 0.5047 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.1395, allocations: 0.7273 MB / 0.5054 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1395, allocations: 4 kB / 0.5054 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/0.1398, allocations: 71.94 kB / 0.5055 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1398, allocations: 3.984 kB / 0.5055 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.1399, allocations: 11.98 kB / 0.5055 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1399, allocations: 7.938 kB / 0.5055 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1399, allocations: 0 / 0.5055 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008757/0.1408, allocations: 0.542 MB / 0.506 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.1408, allocations: 23.8 kB / 0.506 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.1408, allocations: 8 kB / 0.506 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.141, allocations: 11.98 kB / 0.5061 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.1411, allocations: 15.97 kB / 0.5061 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1411, allocations: 12 kB / 0.5061 GB, free: 10.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001933/0.1413, allocations: 176.5 kB / 0.5062 GB, free: 10.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1413, allocations: 0 / 0.5062 GB, free: 10.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005523/0.1419, allocations: 155.3 kB / 0.5064 GB, free: 10.59 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.0002162/0.1421, allocations: 143.1 kB / 0.5065 GB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006327/0.1427, allocations: 291.6 kB / 0.5068 GB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1427, allocations: 0 / 0.5068 GB, free: 10.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.143, allocations: 109 kB / 0.5069 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.1434, allocations: 37.3 kB / 0.5069 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.1448, allocations: 0.7973 MB / 0.5077 GB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.145, allocations: 223 kB / 0.5079 GB, free: 8.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.1452, allocations: 42.97 kB / 0.508 GB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.1453, allocations: 35.42 kB / 0.508 GB, free: 8.863 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1453, allocations: 0 / 0.508 GB, free: 8.863 MB / 382.1 MB Notification: Performance of Templates: time 0.009105/0.1544, allocations: 3.758 MB / 0.5117 GB, free: 5.141 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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.924318166449666] Failed to read output from testmodel.py, exit status != 0: 0.1620414424687624 0.34770116300000004 0.225374291 Calling exit ...