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.001764/0.001764, 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.002225/0.002225, allocations: 216.5 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.785 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.04656/0.04656, allocations: 5.489 MB / 317.9 MB, free: 13.52 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.002214/0.002214, allocations: 63.91 kB / 442.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1061, allocations: 54.61 MB / 496.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.007113/0.1132, allocations: 4.023 MB / 0.4891 GB, free: 12.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003419/0.1166, allocations: 1.546 MB / 0.4906 GB, free: 11.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004468/0.1171, allocations: 16 kB / 0.4906 GB, free: 11.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.1195, allocations: 0.8283 MB / 0.4914 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.121, allocations: 460.3 kB / 0.4918 GB, free: 9.938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.1215, allocations: 211.6 kB / 0.492 GB, free: 9.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008147/0.1224, allocations: 0.5688 MB / 0.4926 GB, free: 9.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.1234, allocations: 0.5682 MB / 0.4932 GB, free: 8.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004926/0.1239, allocations: 267 kB / 0.4934 GB, free: 8.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/0.1243, allocations: 274.8 kB / 0.4937 GB, free: 8.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.783e-05/0.1244, allocations: 72 kB / 0.4937 GB, free: 7.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004989/0.1249, allocations: 215.8 kB / 0.4939 GB, free: 7.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.125, allocations: 139.6 kB / 0.4941 GB, free: 7.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.1253, allocations: 246.8 kB / 0.4943 GB, free: 7.391 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.1266, allocations: 0.9263 MB / 0.4952 GB, free: 6.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1266, allocations: 0 / 0.4952 GB, free: 6.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1266, allocations: 7.938 kB / 0.4952 GB, free: 6.453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.1267, allocations: 0 / 0.4952 GB, free: 6.453 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.002331/0.129, allocations: 0.9269 MB / 0.4961 GB, free: 5.492 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.129, allocations: 12.03 kB / 0.4961 GB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.1292, allocations: 110.7 kB / 0.4962 GB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.1312, allocations: 304.2 kB / 0.4965 GB, free: 5.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/0.1318, allocations: 306.4 kB / 0.4968 GB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.1319, allocations: 50.38 kB / 0.4969 GB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.132, allocations: 68.36 kB / 0.4969 GB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.1334, allocations: 0.7084 MB / 0.4976 GB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.1334, allocations: 3.953 kB / 0.4976 GB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.1334, allocations: 24 kB / 0.4977 GB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.1335, allocations: 16 kB / 0.4977 GB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.1346, allocations: 0.5829 MB / 0.4982 GB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.1386, allocations: 2.246 MB / 0.5004 GB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.1397, allocations: 369.6 kB / 0.5008 GB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.14, allocations: 114.2 kB / 0.5009 GB, free: 436 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.509e-05/0.1401, allocations: 15.98 kB / 0.5009 GB, free: 420 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.1401, allocations: 42.44 kB / 0.501 GB, free: 368 kB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.244e-06/0.1401, allocations: 3.938 kB / 0.501 GB, free: 364 kB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0008227/0.1409, allocations: 337.3 kB / 0.5013 GB, free: 20 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.141, allocations: 85.11 kB / 0.5014 GB, free: 15.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.1414, allocations: 301.6 kB / 0.5016 GB, free: 15.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.1414, allocations: 29.7 kB / 0.5017 GB, free: 15.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.1416, allocations: 324.2 kB / 0.502 GB, free: 15.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.827e-05/0.1417, allocations: 107.1 kB / 0.5021 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.1419, allocations: 86.14 kB / 0.5022 GB, free: 15.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1421, allocations: 338.8 kB / 0.5025 GB, free: 14.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.1424, allocations: 150.9 kB / 0.5026 GB, free: 14.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.1428, allocations: 265.2 kB / 0.5029 GB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006726/0.1434, allocations: 396.4 kB / 0.5033 GB, free: 13.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1434, allocations: 0 / 0.5033 GB, free: 13.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008881/0.1443, allocations: 468.2 kB / 0.5037 GB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1443, allocations: 8.562 kB / 0.5037 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.1444, allocations: 8 kB / 0.5037 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.1444, allocations: 8 kB / 0.5037 GB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.1449, allocations: 127.8 kB / 0.5039 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.1449, allocations: 4 kB / 0.5039 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.1452, allocations: 71.5 kB / 0.5039 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/0.1453, allocations: 20 kB / 0.504 GB, free: 13.1 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.0003458/0.1456, allocations: 189.7 kB / 0.5041 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.1457, allocations: 27.8 kB / 0.5042 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007036/0.1464, allocations: 304.1 kB / 0.5044 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1464, allocations: 4 kB / 0.5045 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1464, allocations: 4 kB / 0.5045 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.1465, allocations: 7.984 kB / 0.5045 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.148, allocations: 0.7964 MB / 0.5052 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1481, allocations: 4 kB / 0.5052 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.1484, allocations: 75.88 kB / 0.5053 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.1484, allocations: 7.984 kB / 0.5053 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.1485, allocations: 8 kB / 0.5053 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1485, allocations: 0 / 0.5053 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1485, allocations: 7.938 kB / 0.5053 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.1494, allocations: 0.5376 MB / 0.5059 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.1494, allocations: 31.83 kB / 0.5059 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.1495, allocations: 11.94 kB / 0.5059 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.1497, allocations: 11.98 kB / 0.5059 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.1498, allocations: 35.83 kB / 0.506 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1498, allocations: 8 kB / 0.506 GB, free: 10.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.1501, allocations: 205.2 kB / 0.5062 GB, free: 10.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1501, allocations: 0 / 0.5062 GB, free: 10.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006007/0.1507, allocations: 143.5 kB / 0.5063 GB, free: 10.63 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.001396/0.1521, allocations: 1.114 MB / 0.5074 GB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007243/0.1528, allocations: 291.8 kB / 0.5077 GB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1528, allocations: 0 / 0.5077 GB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.153, allocations: 112.3 kB / 0.5078 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.1535, allocations: 39.02 kB / 0.5078 GB, free: 9.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/0.1586, allocations: 3.483 MB / 0.5112 GB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1589, allocations: 227.1 kB / 0.5114 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001921/0.1591, allocations: 42.95 kB / 0.5115 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.1594, allocations: 163.4 kB / 0.5116 GB, free: 4.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1594, allocations: 4 kB / 0.5116 GB, free: 4.926 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2441/0.4035, allocations: 7.963 MB / 0.5194 GB, free: 32.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.75, allocations: 5.953 kB / 0.5194 GB, free: 32.13 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: 14.585407534614205] Failed to read output from testmodel.py, exit status != 0: 11.863969014026225 11.886456248 11.755851142000001 Calling exit ...