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.0009031/0.0009031, 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.001004/0.001004, 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.9101/0.9101, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.01643/0.01643, allocations: 4.217 MB / 263.4 MB, free: 9.141 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.543e-06/1.543e-06, allocations: 0 / 387.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.979e-05, allocations: 6.281 kB / 387.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.006728/0.006748, allocations: 7.253 MB / 395 MB, free: 2.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004386/0.01113, allocations: 2.499 MB / 397.5 MB, free: 240 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.01238, allocations: 71.62 kB / 397.6 MB, free: 168 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003824/0.0162, allocations: 2.978 MB / 400.5 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.01865, allocations: 0.7221 MB / 401.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.02053, allocations: 0.9151 MB / 402.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003129/0.02366, allocations: 3.783 MB / 406 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006134/0.02979, allocations: 6.298 MB / 412.3 MB, free: 1.344 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.03309, allocations: 3.296 MB / 415.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002993/0.03609, allocations: 2.078 MB / 417.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.03719, allocations: 0.6641 MB / 418.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.03947, allocations: 0.9525 MB / 419.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.04089, allocations: 1.251 MB / 420.5 MB, free: 9.09 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002658/0.04355, allocations: 1.556 MB / 422.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00907/0.05262, allocations: 8.704 MB / 430.8 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.05263, allocations: 3.938 kB / 430.8 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.05263, allocations: 4 kB / 430.8 MB, free: 14.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000283/0.05291, allocations: 0 / 430.8 MB, free: 14.79 MB / 410.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.01098/0.06389, allocations: 4.759 MB / 435.5 MB, free: 9.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.06394, allocations: 12.03 kB / 435.5 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008675/0.06481, allocations: 0.5758 MB / 436.1 MB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004801/0.06961, allocations: 1.594 MB / 437.7 MB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/0.07244, allocations: 2.625 MB / 440.3 MB, free: 5.133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.07258, allocations: 300.4 kB / 440.6 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003998/0.07298, allocations: 384.4 kB / 441 MB, free: 4.461 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1637/0.2367, allocations: 6.374 MB / 447.4 MB, free: 85.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.199e-05/0.2368, allocations: 6.359 kB / 447.4 MB, free: 85.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000435/0.2372, allocations: 167.9 kB / 447.6 MB, free: 85.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.2373, allocations: 192.5 kB / 447.7 MB, free: 85.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00793/0.2453, allocations: 5.363 MB / 453.1 MB, free: 83.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02136/0.2666, allocations: 18.68 MB / 471.8 MB, free: 73.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.2691, allocations: 1.882 MB / 473.7 MB, free: 72.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007008/0.2698, allocations: 0.6574 MB / 474.3 MB, free: 72.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.2699, allocations: 37.25 kB / 474.4 MB, free: 72.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.27, allocations: 46.25 kB / 474.4 MB, free: 72.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=86): time 4.087e-06/0.27, allocations: 0 / 474.4 MB, free: 72.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=86): time 0.001803/0.2718, allocations: 1.618 MB / 476 MB, free: 71.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.2718, allocations: 94.39 kB / 476.1 MB, free: 71.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.2734, allocations: 1.676 MB / 477.8 MB, free: 70.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.2735, allocations: 40.8 kB / 477.8 MB, free: 70.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000651/0.2742, allocations: 1.834 MB / 479.7 MB, free: 69.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002241/0.2744, allocations: 337.7 kB / 480 MB, free: 69.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004984/0.2749, allocations: 498.9 kB / 480.5 MB, free: 69.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.275, allocations: 357.7 kB / 480.8 MB, free: 68.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.2761, allocations: 1.077 MB / 481.9 MB, free: 68.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.2775, allocations: 2.012 MB / 483.9 MB, free: 66.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.2802, allocations: 3.061 MB / 487 MB, free: 64.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.525e-05/0.2802, allocations: 10.5 kB / 487 MB, free: 64.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003768/0.284, allocations: 3.088 MB / 490.1 MB, free: 63.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.284, allocations: 24.41 kB / 490.1 MB, free: 63.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.898e-05/0.2841, allocations: 38.72 kB / 490.1 MB, free: 63.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-05/0.2841, allocations: 50.09 kB / 490.2 MB, free: 63.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.2853, allocations: 0.5632 MB / 490.8 MB, free: 63.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.294e-05/0.2854, allocations: 71.94 kB / 490.8 MB, free: 63.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.2865, allocations: 339.3 kB / 491.2 MB, free: 62.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.2866, allocations: 122.9 kB / 491.3 MB, free: 62.86 MB / 410.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.002149/0.2888, allocations: 1.635 MB / 492.9 MB, free: 62.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.289, allocations: 138.7 kB / 493 MB, free: 61.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001769/0.2908, allocations: 1.384 MB / 494.4 MB, free: 61.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001191/0.292, allocations: 1.067 MB / 495.5 MB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.292, allocations: 1.25 kB / 495.5 MB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.292, allocations: 6.516 kB / 495.5 MB, free: 60.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006259/0.2982, allocations: 4.113 MB / 499.6 MB, free: 59.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.2983, allocations: 1.438 kB / 499.6 MB, free: 59.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/0.2988, allocations: 210.8 kB / 499.8 MB, free: 59.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.2988, allocations: 4.531 kB / 499.8 MB, free: 59.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.2988, allocations: 26.12 kB / 499.9 MB, free: 59.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.2988, allocations: 8.938 kB / 499.9 MB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2988, allocations: 5.906 kB / 499.9 MB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.3009, allocations: 2.113 MB / 0.4902 GB, free: 58.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/0.3013, allocations: 231.9 kB / 0.4904 GB, free: 58.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.3014, allocations: 27.98 kB / 0.4905 GB, free: 58.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.3018, allocations: 56.84 kB / 0.4905 GB, free: 58.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3019, allocations: 61.64 kB / 0.4906 GB, free: 58.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.3019, allocations: 28.59 kB / 0.4906 GB, free: 58.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001138/0.3031, allocations: 1.105 MB / 0.4917 GB, free: 57.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3031, allocations: 0 / 0.4917 GB, free: 57.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002068/0.3051, allocations: 0.8683 MB / 0.4925 GB, free: 57.38 MB / 410.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.002171/0.3073, allocations: 2.734 MB / 0.4952 GB, free: 55.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.3095, allocations: 1.939 MB / 0.4971 GB, free: 54.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3095, allocations: 1.875 kB / 0.4971 GB, free: 54.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.3099, allocations: 0.5296 MB / 0.4976 GB, free: 53.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.311, allocations: 305.1 kB / 0.4979 GB, free: 53.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/0.3287, allocations: 18.7 MB / 0.5162 GB, free: 33.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.3305, allocations: 2.351 MB / 0.5185 GB, free: 31.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00135/0.3318, allocations: 0.8134 MB / 0.5193 GB, free: 30.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/0.3331, allocations: 1.133 MB / 0.5204 GB, free: 29.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.913e-06/0.3331, allocations: 0 / 0.5204 GB, free: 29.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05483/0.3879, allocations: 45.51 MB / 0.5648 GB, free: 240 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/8.852, allocations: 10.92 kB / 0.5648 GB, free: 232 kB / 426.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 & /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 sys.exit(0), Time elapsed: 10.711883126758039] Failed to read output from testmodel.py, exit status != 0: 8.963048074394464 8.975423823 8.919417854 Calling exit ...