Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.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.001348/0.001348, allocations: 120 kB / 17.17 MB, free: 5.977 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.00148/0.00148, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.459/1.459, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.02814/0.02814, allocations: 5.481 MB / 315 MB, free: 1.625 MB / 238.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.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="cs",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.001828/0.001828, allocations: 65.92 kB / 437.8 MB, free: 39.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09483, allocations: 54.59 MB / 492.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.006738/0.1016, allocations: 8.19 MB / 0.4888 GB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004089/0.1057, allocations: 2.612 MB / 0.4914 GB, free: 1.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007825/0.1064, allocations: 71.62 kB / 0.4914 GB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005974/0.1124, allocations: 3.051 MB / 0.4944 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.1154, allocations: 0.6972 MB / 0.4951 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.1179, allocations: 0.9569 MB / 0.496 GB, free: 12.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004882/0.1228, allocations: 3.639 MB / 0.4996 GB, free: 9.105 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01248/0.1353, allocations: 7.796 MB / 0.5072 GB, free: 1.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/0.1385, allocations: 2.202 MB / 0.5093 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003898/0.1424, allocations: 2.391 MB / 0.5117 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.1439, allocations: 0.6602 MB / 0.5123 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.1464, allocations: 0.9606 MB / 0.5133 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001809/0.1482, allocations: 1.232 MB / 0.5145 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004264/0.1525, allocations: 2.355 MB / 0.5168 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.1629, allocations: 8.583 MB / 0.5251 GB, free: 14.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.163, allocations: 0 / 0.5251 GB, free: 14.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.163, allocations: 3.938 kB / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001882/0.1631, allocations: 0 / 0.5252 GB, free: 14.77 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1072 * Number of variables: 1072 Notification: Performance of Generate backend data structure: time 0.01246/0.1756, allocations: 4.881 MB / 0.5299 GB, free: 9.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1757, allocations: 12.03 kB / 0.5299 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001769/0.1758, allocations: 104.2 kB / 0.53 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009737/0.1768, allocations: 0.5797 MB / 0.5306 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009664/0.1865, allocations: 1.591 MB / 0.5321 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0053/0.1918, allocations: 2.628 MB / 0.5347 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003419/0.1921, allocations: 304 kB / 0.535 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/0.1938, allocations: 384 kB / 0.5354 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/0.2084, allocations: 6.368 MB / 0.5416 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.775e-05/0.2085, allocations: 11.94 kB / 0.5416 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004276/0.209, allocations: 156 kB / 0.5417 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002478/0.2092, allocations: 203.4 kB / 0.5419 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/0.2201, allocations: 5.37 MB / 0.5472 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03673/0.2569, allocations: 22.38 MB / 0.569 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00536/0.2622, allocations: 3.7 MB / 0.5727 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.2633, allocations: 0.6481 MB / 0.5733 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.2636, allocations: 195.1 kB / 0.5735 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.2636, allocations: 55.48 kB / 0.5735 GB, free: 11.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=86): time 3.006e-06/0.2636, allocations: 0 / 0.5735 GB, free: 11.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=86): time 0.002925/0.2665, allocations: 1.62 MB / 0.5751 GB, free: 9.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.2666, allocations: 90.09 kB / 0.5752 GB, free: 9.875 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.2695, allocations: 1.606 MB / 0.5768 GB, free: 8.258 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.155e-05/0.2695, allocations: 37.7 kB / 0.5768 GB, free: 8.215 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.2709, allocations: 1.85 MB / 0.5786 GB, free: 6.344 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.2713, allocations: 337.3 kB / 0.5789 GB, free: 6.012 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008253/0.2721, allocations: 0.4919 MB / 0.5794 GB, free: 5.512 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.2723, allocations: 357.9 kB / 0.5798 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.274, allocations: 1.079 MB / 0.5808 GB, free: 4.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/0.2766, allocations: 2.013 MB / 0.5828 GB, free: 1.547 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2408/0.5174, allocations: 3.057 MB / 0.5858 GB, free: 87.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.878e-05/0.5174, allocations: 11.31 kB / 0.5858 GB, free: 87.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004321/0.5218, allocations: 3.086 MB / 0.5888 GB, free: 87.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.5218, allocations: 20.84 kB / 0.5888 GB, free: 87.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.714e-05/0.5218, allocations: 35.03 kB / 0.5888 GB, free: 87.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.44e-05/0.5219, allocations: 51.08 kB / 0.5889 GB, free: 87.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.5238, allocations: 0.5659 MB / 0.5894 GB, free: 87.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.069e-05/0.5239, allocations: 72.28 kB / 0.5895 GB, free: 87.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.5255, allocations: 334.9 kB / 0.5898 GB, free: 87.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.5257, allocations: 128.3 kB / 0.5899 GB, free: 87.22 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.plug_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: 161 * 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 (278): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002618/0.5283, allocations: 1.635 MB / 0.5915 GB, free: 86.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003513/0.5286, allocations: 137.4 kB / 0.5917 GB, free: 86.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.5311, allocations: 1.379 MB / 0.593 GB, free: 85.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001672/0.5328, allocations: 1.061 MB / 0.5941 GB, free: 85.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.5328, allocations: 1.969 kB / 0.5941 GB, free: 85.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.5328, allocations: 7.984 kB / 0.5941 GB, free: 85.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006126/0.5389, allocations: 4.276 MB / 0.5982 GB, free: 83.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.539, allocations: 1.219 kB / 0.5982 GB, free: 83.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008328/0.5398, allocations: 208 kB / 0.5984 GB, free: 83.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.5398, allocations: 9.156 kB / 0.5985 GB, free: 83.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.5398, allocations: 30.95 kB / 0.5985 GB, free: 83.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.5399, allocations: 5.281 kB / 0.5985 GB, free: 83.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5399, allocations: 1.375 kB / 0.5985 GB, free: 83.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.5422, allocations: 2.111 MB / 0.6006 GB, free: 82.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.5426, allocations: 306.5 kB / 0.6008 GB, free: 82.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.5427, allocations: 27.84 kB / 0.6009 GB, free: 82.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/0.5433, allocations: 58.86 kB / 0.6009 GB, free: 82.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.5434, allocations: 64.25 kB / 0.601 GB, free: 82.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/0.5435, allocations: 25.56 kB / 0.601 GB, free: 82.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.5446, allocations: 1.104 MB / 0.6021 GB, free: 82.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5446, allocations: 0 / 0.6021 GB, free: 82.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002136/0.5467, allocations: 0.86 MB / 0.6029 GB, free: 81.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (voltageSource.plug_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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00254/0.5492, allocations: 2.734 MB / 0.6056 GB, free: 80.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002554/0.5518, allocations: 1.931 MB / 0.6075 GB, free: 79.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5518, allocations: 7.531 kB / 0.6075 GB, free: 79.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.5525, allocations: 0.53 MB / 0.608 GB, free: 79.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5539, allocations: 302.5 kB / 0.6083 GB, free: 79.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/0.5732, allocations: 18.77 MB / 0.6266 GB, free: 59.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.575, allocations: 2.902 MB / 0.6295 GB, free: 56.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001421/0.5764, allocations: 0.8138 MB / 0.6303 GB, free: 55.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/0.5774, allocations: 1.132 MB / 0.6314 GB, free: 54.57 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5774, allocations: 0 / 0.6314 GB, free: 54.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0611/0.6385, allocations: 44.83 MB / 0.6751 GB, free: 10.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.5, allocations: 4 kB / 0.6751 GB, free: 10.01 MB / 446.1 MB " [Timeout remaining time 645] (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter_fmu --startTime=0 --stopTime=180 --stepSize=0.072 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.233604976034258] Failed to read output from testmodel.py, exit status != 0: 14.664781105995644 14.67598602 14.509476939 Calling exit ...