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.001224/0.001224, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001744/0.001744, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9231/0.9231, allocations: 177.1 MB / 202.8 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 179] 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.02002/0.02002, allocations: 4.219 MB / 263.4 MB, free: 9.039 MB / 250.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 3.938 kB / 387.7 MB, free: 8.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.602e-05, allocations: 2.281 kB / 387.7 MB, free: 8.875 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.00646/0.006476, allocations: 7.257 MB / 395 MB, free: 1.574 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004007/0.01048, allocations: 2.507 MB / 397.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007425/0.01123, allocations: 75.62 kB / 397.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003202/0.01443, allocations: 2.977 MB / 400.6 MB, free: 12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.01606, allocations: 0.7182 MB / 401.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.01725, allocations: 0.9256 MB / 402.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.02035, allocations: 3.782 MB / 406 MB, free: 6.551 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006328/0.02667, allocations: 6.29 MB / 412.3 MB, free: 180 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.17/0.1967, allocations: 3.303 MB / 415.6 MB, free: 18.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001759/0.1984, allocations: 2.069 MB / 417.6 MB, free: 18.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006317/0.199, allocations: 0.6621 MB / 418.3 MB, free: 18.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.2002, allocations: 0.9568 MB / 419.3 MB, free: 18.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006769/0.2009, allocations: 1.242 MB / 420.5 MB, free: 18.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.2021, allocations: 1.565 MB / 422.1 MB, free: 18.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005302/0.2074, allocations: 8.711 MB / 430.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2074, allocations: 1.125 kB / 430.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2074, allocations: 0 / 430.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.503e-05/0.2075, allocations: 0 / 430.8 MB, free: 14.84 MB / 330.7 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.006931/0.2144, allocations: 4.759 MB / 435.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2145, allocations: 8.562 kB / 435.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004856/0.215, allocations: 0.5744 MB / 436.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/0.2197, allocations: 1.591 MB / 437.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/0.2225, allocations: 2.628 MB / 440.3 MB, free: 8.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.2226, allocations: 300.1 kB / 440.6 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003855/0.223, allocations: 391.4 kB / 441 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006594/0.2296, allocations: 6.374 MB / 447.4 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.872e-05/0.2296, allocations: 11.92 kB / 447.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002714/0.2299, allocations: 159.9 kB / 447.6 MB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.23, allocations: 195.4 kB / 447.8 MB, free: 3.832 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005282/0.2353, allocations: 5.357 MB / 453.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01763/0.2529, allocations: 18.69 MB / 471.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.2554, allocations: 1.88 MB / 473.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008026/0.2562, allocations: 0.6562 MB / 474.3 MB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.316e-05/0.2563, allocations: 36.97 kB / 474.4 MB, free: 9.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.2564, allocations: 39.56 kB / 474.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=86): time 2.675e-06/0.2564, allocations: 0 / 474.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.001893/0.2583, allocations: 1.624 MB / 476 MB, free: 7.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.2583, allocations: 90.11 kB / 476.1 MB, free: 7.359 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.26, allocations: 1.679 MB / 477.8 MB, free: 5.668 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.26, allocations: 41.7 kB / 477.8 MB, free: 5.621 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008451/0.2609, allocations: 1.829 MB / 479.7 MB, free: 3.785 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.2611, allocations: 335.4 kB / 480 MB, free: 3.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004815/0.2615, allocations: 0.4919 MB / 480.5 MB, free: 2.961 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2617, allocations: 345.9 kB / 480.8 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.2628, allocations: 1.091 MB / 481.9 MB, free: 1.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.2643, allocations: 2.011 MB / 483.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/0.2669, allocations: 3.055 MB / 487 MB, free: 11.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.456e-05/0.2669, allocations: 16 kB / 487 MB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003111/0.27, allocations: 3.09 MB / 490.1 MB, free: 8.715 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.27, allocations: 20 kB / 490.1 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-05/0.2701, allocations: 36 kB / 490.1 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.43e-05/0.2701, allocations: 48 kB / 490.2 MB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009994/0.2711, allocations: 0.5729 MB / 490.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.433e-05/0.2712, allocations: 70.31 kB / 490.8 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.2722, allocations: 334.4 kB / 491.2 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.2723, allocations: 128 kB / 491.3 MB, free: 7.574 MB / 378.7 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.002218/0.2745, allocations: 1.64 MB / 492.9 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.2747, allocations: 131.1 kB / 493 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.2762, allocations: 1.384 MB / 494.4 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001094/0.2773, allocations: 1.067 MB / 495.5 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2773, allocations: 7.938 kB / 495.5 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.2773, allocations: 7.922 kB / 495.5 MB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/0.2818, allocations: 4.112 MB / 499.6 MB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.2818, allocations: 7.984 kB / 499.6 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.2822, allocations: 210 kB / 499.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2822, allocations: 8.125 kB / 499.8 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.2822, allocations: 20 kB / 499.9 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.2822, allocations: 4 kB / 499.9 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2822, allocations: 7.984 kB / 499.9 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.284, allocations: 2.107 MB / 0.4902 GB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.2843, allocations: 238.8 kB / 0.4904 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.2844, allocations: 20 kB / 0.4905 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.2847, allocations: 59.98 kB / 0.4905 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.2848, allocations: 68.3 kB / 0.4906 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.2848, allocations: 31.98 kB / 0.4906 GB, free: 12.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000892/0.2857, allocations: 1.101 MB / 0.4917 GB, free: 11.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2857, allocations: 0 / 0.4917 GB, free: 11.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001648/0.2873, allocations: 0.856 MB / 0.4925 GB, free: 10.48 MB / 394.7 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.002571/0.2899, allocations: 2.741 MB / 0.4952 GB, free: 7.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.2918, allocations: 1.955 MB / 0.4971 GB, free: 5.871 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2918, allocations: 0 / 0.4971 GB, free: 5.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005077/0.2923, allocations: 0.5272 MB / 0.4976 GB, free: 5.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.2931, allocations: 296.4 kB / 0.4979 GB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/0.3112, allocations: 18.71 MB / 0.5162 GB, free: 1.246 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001715/0.3129, allocations: 2.347 MB / 0.5185 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001107/0.314, allocations: 0.8134 MB / 0.5193 GB, free: 14.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/0.3151, allocations: 1.133 MB / 0.5204 GB, free: 12.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3151, allocations: 0 / 0.5204 GB, free: 12.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05477/0.3699, allocations: 45.5 MB / 0.5648 GB, free: 15.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.55/8.92, allocations: 3.438 kB / 0.5648 GB, free: 15.73 MB / 474.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter_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_PolyphaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.783546295017004] Failed to read output from testmodel.py, exit status != 0: 9.02622614055872 9.038603329 8.829296138 Calling exit ...