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.001623/0.001623, allocations: 114.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.001881/0.001881, allocations: 194.8 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.464/1.464, 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.03062/0.03062, allocations: 5.468 MB / 311.6 MB, free: 3.434 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.001914/0.001914, allocations: 63.91 kB / 434 MB, free: 17.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.09715, allocations: 53.39 MB / 487.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006142/0.1033, allocations: 4.44 MB / 491.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.106, allocations: 1.612 MB / 493.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.1062, allocations: 12 kB / 493.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.1083, allocations: 0.8964 MB / 494.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.1096, allocations: 0.6302 MB / 494.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.1101, allocations: 230 kB / 495.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006232/0.1107, allocations: 0.5686 MB / 495.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008517/0.1116, allocations: 0.5251 MB / 496.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.1118, allocations: 259.1 kB / 496.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004469/0.1123, allocations: 310.8 kB / 496.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.642e-05/0.1124, allocations: 76 kB / 496.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.1128, allocations: 223.8 kB / 497.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1129, allocations: 143.5 kB / 497.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.1132, allocations: 306.6 kB / 497.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.1143, allocations: 0.9224 MB / 498.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1143, allocations: 0 / 498.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1143, allocations: 0 / 498.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1143, allocations: 0 / 498.5 MB, free: 0.8516 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.002366/0.1167, allocations: 1.002 MB / 499.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1167, allocations: 8.031 kB / 499.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.1187, allocations: 308.3 kB / 499.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006435/0.1194, allocations: 372.5 kB / 0.4884 GB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/0.1194, allocations: 50.38 kB / 0.4885 GB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.1195, allocations: 68.38 kB / 0.4885 GB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.1208, allocations: 0.7047 MB / 0.4892 GB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.1208, allocations: 3.984 kB / 0.4892 GB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.1208, allocations: 28 kB / 0.4893 GB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.1209, allocations: 16 kB / 0.4893 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.122, allocations: 0.5829 MB / 0.4898 GB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003894/0.1259, allocations: 2.74 MB / 0.4925 GB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.1273, allocations: 0.8851 MB / 0.4934 GB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.1275, allocations: 114.6 kB / 0.4935 GB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-05/0.1276, allocations: 85.09 kB / 0.4936 GB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1276, allocations: 46.44 kB / 0.4936 GB, free: 9.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.713e-06/0.1276, allocations: 0 / 0.4936 GB, free: 9.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0008265/0.1285, allocations: 333.7 kB / 0.4939 GB, free: 9.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.1285, allocations: 85.05 kB / 0.494 GB, free: 8.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.1289, allocations: 298.4 kB / 0.4943 GB, free: 8.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1289, allocations: 29.7 kB / 0.4943 GB, free: 8.625 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.1291, allocations: 328.2 kB / 0.4946 GB, free: 8.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.839e-05/0.1292, allocations: 99.16 kB / 0.4947 GB, free: 8.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.1293, allocations: 94.33 kB / 0.4948 GB, free: 8.102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1295, allocations: 338.8 kB / 0.4951 GB, free: 7.762 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.1298, allocations: 146.9 kB / 0.4953 GB, free: 7.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.1302, allocations: 261.9 kB / 0.4955 GB, free: 7.305 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.1308, allocations: 396.1 kB / 0.4959 GB, free: 6.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1308, allocations: 3.938 kB / 0.4959 GB, free: 6.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008307/0.1317, allocations: 457.2 kB / 0.4964 GB, free: 6.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1317, allocations: 7.938 kB / 0.4964 GB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.1317, allocations: 4 kB / 0.4964 GB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.1317, allocations: 8 kB / 0.4964 GB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.1322, allocations: 127.8 kB / 0.4965 GB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1322, allocations: 4 kB / 0.4965 GB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.1325, allocations: 67.77 kB / 0.4966 GB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.1326, allocations: 20 kB / 0.4966 GB, free: 6.168 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.0002671/0.1329, allocations: 191.2 kB / 0.4968 GB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-05/0.1329, allocations: 31.75 kB / 0.4968 GB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.1336, allocations: 307.4 kB / 0.4971 GB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1336, allocations: 4 kB / 0.4971 GB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1336, allocations: 0 / 0.4971 GB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1336, allocations: 3.984 kB / 0.4971 GB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.1351, allocations: 0.8721 MB / 0.4979 GB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1351, allocations: 8 kB / 0.498 GB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.1355, allocations: 71.88 kB / 0.498 GB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1355, allocations: 0 / 0.498 GB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.1355, allocations: 8 kB / 0.498 GB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1355, allocations: 0 / 0.498 GB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1355, allocations: 4 kB / 0.498 GB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008946/0.1364, allocations: 0.5459 MB / 0.4986 GB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.1365, allocations: 108.8 kB / 0.4987 GB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.1365, allocations: 11.98 kB / 0.4987 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.1367, allocations: 8 kB / 0.4987 GB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.1368, allocations: 31.84 kB / 0.4987 GB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1368, allocations: 4 kB / 0.4987 GB, free: 3.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.137, allocations: 214 kB / 0.4989 GB, free: 3.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.137, allocations: 0 / 0.4989 GB, free: 3.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005384/0.1376, allocations: 139.6 kB / 0.4991 GB, free: 3.531 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.0002182/0.1378, allocations: 127.2 kB / 0.4992 GB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006385/0.1384, allocations: 288.4 kB / 0.4995 GB, free: 3.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1384, allocations: 16.06 kB / 0.4995 GB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.1387, allocations: 103.8 kB / 0.4996 GB, free: 2.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004466/0.1391, allocations: 35.47 kB / 0.4996 GB, free: 2.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1406, allocations: 0.824 MB / 0.5004 GB, free: 2.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.1411, allocations: 0.8224 MB / 0.5012 GB, free: 1.258 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.1413, allocations: 46.95 kB / 0.5013 GB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.243e-05/0.1414, allocations: 31.44 kB / 0.5013 GB, free: 1.184 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1414, allocations: 0 / 0.5013 GB, free: 1.184 MB / 366.1 MB Notification: Performance of Templates: time 0.009038/0.1504, allocations: 3.681 MB / 0.5049 GB, free: 13.5 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 cvode -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8138968190178275] Failed to read output from testmodel.py, exit status != 0: 0.15881824726238847 0.33763574 0.05684619900000001 Calling exit ...