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.001586/0.001586, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002098/0.002098, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.98 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.06551/0.06551, allocations: 5.486 MB / 317.9 MB, free: 13.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",fmuType="me",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.002821/0.002821, allocations: 69.92 kB / 442.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1283, allocations: 54.61 MB / 496.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006317/0.1346, allocations: 4.433 MB / 0.4895 GB, free: 12.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.1377, allocations: 1.67 MB / 0.4912 GB, free: 10.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.138, allocations: 12 kB / 0.4912 GB, free: 10.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002224/0.1402, allocations: 0.9048 MB / 0.4921 GB, free: 10.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.1416, allocations: 481.4 kB / 0.4925 GB, free: 9.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.1421, allocations: 219.6 kB / 0.4927 GB, free: 9.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007643/0.1429, allocations: 0.5688 MB / 0.4933 GB, free: 8.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009753/0.1439, allocations: 0.5915 MB / 0.4939 GB, free: 8.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.1443, allocations: 259.1 kB / 0.4941 GB, free: 7.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004337/0.1447, allocations: 330.7 kB / 0.4944 GB, free: 7.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.695e-05/0.1448, allocations: 68 kB / 0.4945 GB, free: 7.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.1453, allocations: 227.8 kB / 0.4947 GB, free: 7.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1454, allocations: 139.6 kB / 0.4949 GB, free: 7.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.1457, allocations: 306.6 kB / 0.4951 GB, free: 6.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.1469, allocations: 0.9263 MB / 0.4961 GB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1469, allocations: 4 kB / 0.4961 GB, free: 5.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1469, allocations: 0 / 0.4961 GB, free: 5.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1469, allocations: 0 / 0.4961 GB, free: 5.938 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.002214/0.1491, allocations: 0.9268 MB / 0.497 GB, free: 4.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1492, allocations: 12.03 kB / 0.497 GB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.1493, allocations: 110.7 kB / 0.4971 GB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/0.1512, allocations: 300.2 kB / 0.4974 GB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.1518, allocations: 302.9 kB / 0.4977 GB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.1519, allocations: 50.38 kB / 0.4977 GB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.87e-05/0.152, allocations: 64.38 kB / 0.4978 GB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.1532, allocations: 0.7085 MB / 0.4985 GB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.1532, allocations: 7.891 kB / 0.4985 GB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/0.1533, allocations: 24 kB / 0.4985 GB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.1533, allocations: 20 kB / 0.4985 GB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1544, allocations: 0.579 MB / 0.4991 GB, free: 2.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003926/0.1583, allocations: 2.449 MB / 0.5015 GB, free: 212 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.1595, allocations: 359.8 kB / 0.5018 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.1597, allocations: 129 kB / 0.5019 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.412e-05/0.1598, allocations: 27.91 kB / 0.502 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.1598, allocations: 42.44 kB / 0.502 GB, free: 15.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.515e-06/0.1598, allocations: 0 / 0.502 GB, free: 15.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007963/0.1606, allocations: 337.2 kB / 0.5023 GB, free: 15.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.1607, allocations: 85.23 kB / 0.5024 GB, free: 15.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.161, allocations: 289.8 kB / 0.5027 GB, free: 14.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.1611, allocations: 29.7 kB / 0.5027 GB, free: 14.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.1613, allocations: 324.2 kB / 0.503 GB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.1614, allocations: 103.2 kB / 0.5031 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.1615, allocations: 90.12 kB / 0.5032 GB, free: 14.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1617, allocations: 338.8 kB / 0.5035 GB, free: 14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.162, allocations: 154.7 kB / 0.5037 GB, free: 13.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.1624, allocations: 261.2 kB / 0.5039 GB, free: 13.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006428/0.1631, allocations: 396.4 kB / 0.5043 GB, free: 13.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.1631, allocations: 4 kB / 0.5043 GB, free: 13.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000846/0.1639, allocations: 472.1 kB / 0.5047 GB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.164, allocations: 8 kB / 0.5048 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.164, allocations: 4 kB / 0.5048 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.164, allocations: 12.5 kB / 0.5048 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.1645, allocations: 123.8 kB / 0.5049 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.1645, allocations: 11.98 kB / 0.5049 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.1648, allocations: 55.56 kB / 0.505 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.1649, allocations: 19.98 kB / 0.505 GB, free: 12.39 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.0003222/0.1652, allocations: 193.7 kB / 0.5052 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.1653, allocations: 31.75 kB / 0.5052 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006387/0.1659, allocations: 307.5 kB / 0.5055 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.1659, allocations: 4 kB / 0.5055 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1659, allocations: 4 kB / 0.5055 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1659, allocations: 0 / 0.5055 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.1674, allocations: 0.8445 MB / 0.5063 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1674, allocations: 0 / 0.5063 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003469/0.1678, allocations: 67.94 kB / 0.5064 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.1678, allocations: 11.98 kB / 0.5064 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.1678, allocations: 11.94 kB / 0.5064 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1678, allocations: 0 / 0.5064 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1678, allocations: 3.938 kB / 0.5064 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.1686, allocations: 0.5454 MB / 0.5069 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.1687, allocations: 31.78 kB / 0.507 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.1687, allocations: 11.98 kB / 0.507 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.169, allocations: 8 kB / 0.507 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.169, allocations: 27.89 kB / 0.507 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.169, allocations: 4 kB / 0.507 GB, free: 10.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002307/0.1693, allocations: 205.2 kB / 0.5072 GB, free: 10.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1693, allocations: 3.938 kB / 0.5072 GB, free: 10.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005675/0.1698, allocations: 143.6 kB / 0.5074 GB, free: 9.879 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.001294/0.1711, allocations: 1.122 MB / 0.5084 GB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006439/0.1718, allocations: 287.9 kB / 0.5087 GB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1718, allocations: 0 / 0.5087 GB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.172, allocations: 115.9 kB / 0.5088 GB, free: 8.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.1724, allocations: 30.88 kB / 0.5089 GB, free: 8.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004944/0.1774, allocations: 3.495 MB / 0.5123 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.1779, allocations: 0.8185 MB / 0.5131 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.1781, allocations: 54.94 kB / 0.5131 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.1784, allocations: 163.4 kB / 0.5133 GB, free: 3.555 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1784, allocations: 0 / 0.5133 GB, free: 3.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2624/0.4408, allocations: 7.758 MB / 0.5209 GB, free: 31.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.32, allocations: 8.812 kB / 0.5209 GB, free: 31.58 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 & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter_res.csv --start-time 0 --stop-time 180 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.072 PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.267795118998038] Failed to read output from testmodel.py, exit status != 0: 12.431212365998363 12.457959603 12.306156005 Calling exit ...