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.0006761/0.0006761, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009404/0.001616, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006845/0.0006845, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009163/0.001601, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9145/0.9145, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07537/0.9899, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/package.mo): time 0.0174/0.0174, allocations: 4.32 MB / 248.5 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002253/0.01965, allocations: 1.71 MB / 250.2 MB, free: 8.852 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 3.2.1/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: translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 251.4 MB, free: 7.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.361e-05, allocations: 2.312 kB / 251.4 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.009325/0.009338, allocations: 7.843 MB / 259.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005014/0.01435, allocations: 2.693 MB / 262 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007033/0.01506, allocations: 75.62 kB / 262 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00468/0.01974, allocations: 3.192 MB / 265.2 MB, free: 9.711 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.02152, allocations: 0.7182 MB / 265.9 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.02318, allocations: 0.9421 MB / 266.9 MB, free: 8.043 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003598/0.02677, allocations: 3.805 MB / 270.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1157/0.1425, allocations: 6.366 MB / 277.1 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.1466, allocations: 3.5 MB / 280.6 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003289/0.1499, allocations: 2.318 MB / 282.9 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.1511, allocations: 0.6625 MB / 283.5 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.1526, allocations: 0.9702 MB / 284.5 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007864/0.1534, allocations: 1.011 MB / 285.5 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.1545, allocations: 1.327 MB / 286.9 MB, free: 4.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.1577, allocations: 3.921 MB / 290.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.938e-06/0.1577, allocations: 0 / 290.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1577, allocations: 3.844 kB / 290.8 MB, free: 3.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.79e-05/0.1577, allocations: 0 / 290.8 MB, free: 3.484 MB / 266.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.006349/0.1641, allocations: 5.431 MB / 296.2 MB, free: 324 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.1641, allocations: 14.34 kB / 296.2 MB, free: 312 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006767/0.1709, allocations: 1.856 MB / 298.1 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.1724, allocations: 1.303 MB / 299.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.1726, allocations: 295.5 kB / 299.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003734/0.173, allocations: 387.4 kB / 300 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003525/0.1765, allocations: 3.114 MB / 303.2 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.757e-05/0.1765, allocations: 12.06 kB / 303.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/0.1768, allocations: 163 kB / 303.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/0.1769, allocations: 192.2 kB / 303.5 MB, free: 10.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.1789, allocations: 1.425 MB / 304.9 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.1907, allocations: 12.7 MB / 317.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.1921, allocations: 1.011 MB / 318.7 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/0.1923, allocations: 229.3 kB / 318.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.618e-05/0.1924, allocations: 44.97 kB / 318.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1924, allocations: 39.56 kB / 319 MB, free: 11.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=86): time 2.154e-06/0.1924, allocations: 3.281 kB / 319 MB, free: 11.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=86): time 0.0006035/0.193, allocations: 477.9 kB / 319.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.1931, allocations: 86.11 kB / 319.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006788/0.1937, allocations: 1.021 MB / 320.5 MB, free: 9.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.1938, allocations: 45.62 kB / 320.6 MB, free: 9.613 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006412/0.1944, allocations: 1.76 MB / 322.3 MB, free: 7.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.1946, allocations: 340.8 kB / 322.7 MB, free: 7.578 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/0.195, allocations: 445.8 kB / 323.1 MB, free: 7.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.195, allocations: 352.4 kB / 323.5 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.1954, allocations: 403.2 kB / 323.8 MB, free: 6.488 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008625/0.1963, allocations: 1.334 MB / 325.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.1975, allocations: 1.854 MB / 327 MB, free: 2.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.1975, allocations: 8 kB / 327 MB, free: 2.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.001256/0.1988, allocations: 1.358 MB / 328.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1988, allocations: 24.06 kB / 328.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.1988, allocations: 42.55 kB / 328.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.1989, allocations: 52 kB / 328.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009494/0.1998, allocations: 0.5682 MB / 329.1 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.084e-05/0.1998, allocations: 70.59 kB / 329.2 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006314/0.2005, allocations: 278 kB / 329.4 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.654e-05/0.2006, allocations: 108 kB / 329.5 MB, free: 356 kB / 298.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.000445/0.201, allocations: 270.4 kB / 329.8 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.2011, allocations: 99.91 kB / 329.9 MB, free: 20 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/0.2018, allocations: 0.5538 MB / 330.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002871/0.202, allocations: 312.3 kB / 330.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.202, allocations: 4 kB / 330.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.2021, allocations: 10.83 kB / 330.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.2043, allocations: 2.149 MB / 332.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.2043, allocations: 4 kB / 332.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.2047, allocations: 195.4 kB / 333.1 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.2049, allocations: 166.9 kB / 333.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.2049, allocations: 7.938 kB / 333.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.2049, allocations: 24.12 kB / 333.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2049, allocations: 4 kB / 333.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2049, allocations: 3.75 kB / 333.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/0.2056, allocations: 0.8907 MB / 334.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.2057, allocations: 19.94 kB / 334.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.2059, allocations: 23.98 kB / 334.2 MB, free: 11.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.206, allocations: 60.73 kB / 334.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.206, allocations: 19.98 kB / 334.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003124/0.2063, allocations: 426.3 kB / 334.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2063, allocations: 4 kB / 334.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001231/0.2076, allocations: 0.8599 MB / 335.6 MB, free: 10.53 MB / 314.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.0001854/0.2078, allocations: 158.9 kB / 335.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008286/0.2086, allocations: 0.9353 MB / 336.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-05/0.2086, allocations: 39.78 kB / 336.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006882/0.2093, allocations: 0.7795 MB / 337.5 MB, free: 8.707 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.2107, allocations: 2.289 MB / 339.8 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.2255, allocations: 4.95 MB / 344.7 MB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.2262, allocations: 0.7424 MB / 345.5 MB, free: 288 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006837/0.2269, allocations: 325.8 kB / 345.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/0.2273, allocations: 321.2 kB / 346.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2273, allocations: 0 / 346.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of Templates: time 0.02552/0.2528, allocations: 18.99 MB / 365.1 MB, free: 12.92 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile [Timeout 660] (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 & ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9051189655438066]