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.0007694/0.0007694, 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.00079/0.00079, 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.8904/0.8904, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.01689/0.01689, allocations: 4.221 MB / 263.4 MB, free: 9.148 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.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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 387.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.112e-05, allocations: 2.281 kB / 387.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.004259/0.00428, allocations: 4.033 MB / 391.8 MB, free: 5.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.007033, allocations: 1.538 MB / 393.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.007331, allocations: 15.94 kB / 393.3 MB, free: 4.418 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.008558, allocations: 0.8902 MB / 394.2 MB, free: 3.523 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008138/0.009372, allocations: 442.8 kB / 394.7 MB, free: 3.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.009756, allocations: 227.5 kB / 394.9 MB, free: 2.867 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005806/0.01034, allocations: 0.5802 MB / 395.5 MB, free: 2.281 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009581/0.01129, allocations: 0.572 MB / 396 MB, free: 1.707 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004427/0.01174, allocations: 387.2 kB / 396.4 MB, free: 1.328 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.01201, allocations: 239.3 kB / 396.6 MB, free: 1.094 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.83e-05/0.01208, allocations: 72 kB / 396.7 MB, free: 1.023 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.0124, allocations: 211.7 kB / 396.9 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.01248, allocations: 147.5 kB / 397.1 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.01261, allocations: 211.5 kB / 397.3 MB, free: 476 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008114/0.01342, allocations: 0.9385 MB / 398.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01342, allocations: 4 kB / 398.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.01342, allocations: 0 / 398.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.01344, allocations: 0 / 398.2 MB, free: 15.52 MB / 378.7 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.001568/0.015, allocations: 0.923 MB / 399.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.01505, allocations: 8.031 kB / 399.1 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.394e-05/0.01514, allocations: 114.7 kB / 399.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.01615, allocations: 296.3 kB / 399.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.01658, allocations: 306.9 kB / 399.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.01661, allocations: 54.31 kB / 399.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.01668, allocations: 68.33 kB / 400 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008/0.01748, allocations: 0.7049 MB / 400.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.0175, allocations: 4.188 kB / 400.7 MB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.01754, allocations: 32.12 kB / 400.7 MB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.01755, allocations: 16 kB / 400.7 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008407/0.01839, allocations: 0.5789 MB / 401.3 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.02069, allocations: 2.244 MB / 403.5 MB, free: 9.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.02131, allocations: 362.3 kB / 403.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.02145, allocations: 110.2 kB / 404 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.0215, allocations: 19.98 kB / 404 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.02152, allocations: 46.42 kB / 404.1 MB, free: 9.434 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.675e-06/0.02152, allocations: 7.984 kB / 404.1 MB, free: 9.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.000721/0.02224, allocations: 337.2 kB / 404.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.02228, allocations: 85.05 kB / 404.5 MB, free: 8.988 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.02249, allocations: 293.7 kB / 404.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.02251, allocations: 33.7 kB / 404.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.02264, allocations: 324.2 kB / 405.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.02269, allocations: 103.2 kB / 405.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.798e-05/0.02278, allocations: 94.2 kB / 405.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.02286, allocations: 338.8 kB / 405.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.02303, allocations: 150.8 kB / 405.8 MB, free: 7.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.02323, allocations: 257.2 kB / 406 MB, free: 7.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.0236, allocations: 407.7 kB / 406.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.02361, allocations: 0 / 406.4 MB, free: 6.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004805/0.02409, allocations: 468.6 kB / 406.9 MB, free: 6.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.0241, allocations: 8 kB / 406.9 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.02411, allocations: 4 kB / 406.9 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.02413, allocations: 7.938 kB / 406.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.0245, allocations: 123.8 kB / 407 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.02451, allocations: 11.98 kB / 407.1 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.02465, allocations: 63.67 kB / 407.1 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.02468, allocations: 23.98 kB / 407.1 MB, free: 6.172 MB / 378.7 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.0001887/0.02487, allocations: 192 kB / 407.3 MB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.02491, allocations: 27.86 kB / 407.4 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.02528, allocations: 303.5 kB / 407.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.02528, allocations: 7.938 kB / 407.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.02529, allocations: 0 / 407.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.02529, allocations: 0 / 407.7 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008124/0.0261, allocations: 0.8017 MB / 408.5 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.02611, allocations: 3.938 kB / 408.5 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.02628, allocations: 79.88 kB / 408.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.02628, allocations: 4 kB / 408.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.0263, allocations: 4 kB / 408.5 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.0263, allocations: 7.984 kB / 408.6 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.0263, allocations: 0 / 408.6 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/0.02678, allocations: 0.5415 MB / 409.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.0268, allocations: 27.89 kB / 409.1 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.02683, allocations: 8 kB / 409.1 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.02693, allocations: 15.98 kB / 409.1 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.02698, allocations: 23.91 kB / 409.2 MB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.02699, allocations: 11.98 kB / 409.2 MB, free: 4.055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.02712, allocations: 201.2 kB / 409.4 MB, free: 3.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02712, allocations: 0 / 409.4 MB, free: 3.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.02746, allocations: 159.4 kB / 409.5 MB, free: 3.703 MB / 378.7 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.0007347/0.0282, allocations: 1.118 MB / 410.7 MB, free: 2.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.02856, allocations: 287.6 kB / 410.9 MB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.02856, allocations: 0 / 410.9 MB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.02868, allocations: 113.5 kB / 411 MB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.02898, allocations: 36.48 kB / 411.1 MB, free: 2.125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.03216, allocations: 3.464 MB / 414.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.03232, allocations: 219.3 kB / 414.8 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000103/0.03242, allocations: 50.94 kB / 414.8 MB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.03258, allocations: 168.4 kB / 415 MB, free: 14.01 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03258, allocations: 0 / 415 MB, free: 14.01 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.05218, allocations: 8.115 MB / 423.1 MB, free: 6.039 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/6.899, allocations: 5.672 kB / 423.1 MB, free: 6.035 MB / 394.7 MB " [Timeout remaining time 653] (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: 8.611612170003355] Failed to read output from testmodel.py, exit status != 0: 6.980745033361018 6.994394043 6.978959397 Calling exit ...