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.001439/0.001439, 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.001619/0.001619, 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 8.008 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.05246/0.05246, allocations: 5.477 MB / 317.9 MB, free: 13.75 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.00288/0.00288, allocations: 67.91 kB / 442.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1441, allocations: 54.61 MB / 496.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006631/0.1507, allocations: 4.444 MB / 0.4896 GB, free: 12.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.1542, allocations: 1.67 MB / 0.4912 GB, free: 11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.1546, allocations: 12 kB / 0.4912 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002377/0.157, allocations: 0.9086 MB / 0.4921 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.1583, allocations: 461.6 kB / 0.4925 GB, free: 9.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.1589, allocations: 227.5 kB / 0.4927 GB, free: 9.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007874/0.1597, allocations: 0.5727 MB / 0.4933 GB, free: 8.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009531/0.1606, allocations: 0.5876 MB / 0.4939 GB, free: 8.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000414/0.161, allocations: 263.1 kB / 0.4941 GB, free: 7.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.1615, allocations: 318.8 kB / 0.4944 GB, free: 7.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.846e-05/0.1615, allocations: 75.94 kB / 0.4945 GB, free: 7.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.1621, allocations: 223.8 kB / 0.4947 GB, free: 7.367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.1623, allocations: 143.5 kB / 0.4949 GB, free: 7.227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.1626, allocations: 306.6 kB / 0.4951 GB, free: 6.926 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.164, allocations: 0.9223 MB / 0.496 GB, free: 6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.164, allocations: 4 kB / 0.4961 GB, free: 5.996 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.164, allocations: 0 / 0.4961 GB, free: 5.996 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1641, allocations: 0 / 0.4961 GB, free: 5.996 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.002359/0.1664, allocations: 0.9257 MB / 0.497 GB, free: 5.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.1665, allocations: 8.031 kB / 0.497 GB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001535/0.1666, allocations: 110.7 kB / 0.4971 GB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.1686, allocations: 308.2 kB / 0.4974 GB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/0.1694, allocations: 299.7 kB / 0.4976 GB, free: 4.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/0.1694, allocations: 50.38 kB / 0.4977 GB, free: 4.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1695, allocations: 68.38 kB / 0.4978 GB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.1708, allocations: 0.7084 MB / 0.4985 GB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.1708, allocations: 3.953 kB / 0.4985 GB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/0.1709, allocations: 31.98 kB / 0.4985 GB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.1709, allocations: 16 kB / 0.4985 GB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.1721, allocations: 0.5854 MB / 0.4991 GB, free: 2.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.1761, allocations: 2.445 MB / 0.5015 GB, free: 268 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.1773, allocations: 368.2 kB / 0.5018 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.1775, allocations: 113 kB / 0.5019 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.533e-05/0.1776, allocations: 23.92 kB / 0.5019 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.1777, allocations: 46.44 kB / 0.502 GB, free: 15.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.033e-06/0.1777, allocations: 0 / 0.502 GB, free: 15.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.000838/0.1785, allocations: 337.2 kB / 0.5023 GB, free: 15.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.1786, allocations: 81.11 kB / 0.5024 GB, free: 15.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.1789, allocations: 293.9 kB / 0.5027 GB, free: 14.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.1789, allocations: 29.7 kB / 0.5027 GB, free: 14.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.1792, allocations: 332.2 kB / 0.503 GB, free: 14.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.1793, allocations: 99.16 kB / 0.5031 GB, free: 14.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.1795, allocations: 94.12 kB / 0.5032 GB, free: 14.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1797, allocations: 334.8 kB / 0.5035 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.18, allocations: 146.8 kB / 0.5037 GB, free: 13.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.1804, allocations: 265.2 kB / 0.5039 GB, free: 13.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/0.1811, allocations: 400.4 kB / 0.5043 GB, free: 13.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1811, allocations: 0 / 0.5043 GB, free: 13.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008776/0.1819, allocations: 472.2 kB / 0.5047 GB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.182, allocations: 4 kB / 0.5047 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.182, allocations: 4 kB / 0.5048 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.182, allocations: 12.5 kB / 0.5048 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/0.1825, allocations: 131.8 kB / 0.5049 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.1825, allocations: 7.984 kB / 0.5049 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.1828, allocations: 63.55 kB / 0.505 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.1829, allocations: 19.94 kB / 0.505 GB, free: 12.45 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.0003414/0.1832, allocations: 181.8 kB / 0.5051 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/0.1833, allocations: 39.73 kB / 0.5052 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006732/0.184, allocations: 300.2 kB / 0.5055 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.184, allocations: 7.984 kB / 0.5055 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.184, allocations: 0 / 0.5055 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.184, allocations: 7.984 kB / 0.5055 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.1856, allocations: 0.8354 MB / 0.5063 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1856, allocations: 4 kB / 0.5063 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.186, allocations: 79.88 kB / 0.5064 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.186, allocations: 4 kB / 0.5064 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.186, allocations: 4 kB / 0.5064 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.186, allocations: 0 / 0.5064 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.186, allocations: 7.938 kB / 0.5064 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008861/0.1869, allocations: 0.5492 MB / 0.5069 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.1869, allocations: 39.8 kB / 0.507 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.187, allocations: 4 kB / 0.507 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1872, allocations: 15.98 kB / 0.507 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.1873, allocations: 19.91 kB / 0.507 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.1873, allocations: 12 kB / 0.507 GB, free: 10.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002336/0.1875, allocations: 205.2 kB / 0.5072 GB, free: 10.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1875, allocations: 0 / 0.5072 GB, free: 10.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005796/0.1881, allocations: 139.6 kB / 0.5074 GB, free: 9.941 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.001327/0.1894, allocations: 1.122 MB / 0.5084 GB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006733/0.1901, allocations: 291.9 kB / 0.5087 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1901, allocations: 0 / 0.5087 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.1903, allocations: 112.3 kB / 0.5088 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/0.1908, allocations: 39.05 kB / 0.5089 GB, free: 8.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.1961, allocations: 3.491 MB / 0.5123 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.1966, allocations: 0.8185 MB / 0.5131 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.1968, allocations: 46.95 kB / 0.5131 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.1971, allocations: 163.4 kB / 0.5133 GB, free: 3.621 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1971, allocations: 0 / 0.5133 GB, free: 3.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2682/0.4653, allocations: 7.763 MB / 0.5209 GB, free: 31.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.38, allocations: 7.344 kB / 0.5209 GB, free: 31.38 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: 15.176514321938157] Failed to read output from testmodel.py, exit status != 0: 12.501409113872796 12.51957873 12.351545178 Calling exit ...