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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007522/0.0007522, allocations: 87.03 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008228/0.000823, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1542/0.1542, allocations: 5.385 MB / 296.5 MB, free: 3.949 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.00029, allocations: 12 kB / 358.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.101, allocations: 51.6 MB / 410.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.007492/0.1085, allocations: 6.98 MB / 417.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004067/0.1126, allocations: 2.305 MB / 419.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009404/0.1136, allocations: 55.88 kB / 419.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009613/0.1146, allocations: 369.8 kB / 419.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.1164, allocations: 0.6883 MB / 420.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.1176, allocations: 0.6311 MB / 421.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1785/0.2961, allocations: 3.34 MB / 424.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/0.3064, allocations: 8.369 MB / 432.9 MB, free: 32.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.308, allocations: 1.418 MB / 434.3 MB, free: 32.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.3098, allocations: 1.663 MB / 436 MB, free: 32.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003246/0.3102, allocations: 253.5 kB / 436.2 MB, free: 32.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009184/0.3111, allocations: 0.4916 MB / 436.7 MB, free: 32.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004359/0.3115, allocations: 0.7061 MB / 437.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005361/0.3121, allocations: 0.8083 MB / 438.2 MB, free: 32.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004379/0.3165, allocations: 7.224 MB / 445.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3165, allocations: 0 / 445.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3165, allocations: 0 / 445.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001408/0.3167, allocations: 0 / 445.5 MB, free: 32.32 MB / 350.1 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.007783/0.3244, allocations: 3.937 MB / 449.4 MB, free: 30.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3245, allocations: 12.34 kB / 449.4 MB, free: 30.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007893/0.3324, allocations: 1.544 MB / 450.9 MB, free: 30.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004066/0.3365, allocations: 2.518 MB / 453.5 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.3366, allocations: 301.9 kB / 453.8 MB, free: 29.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005993/0.3373, allocations: 401.7 kB / 454.1 MB, free: 29.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.3478, allocations: 6.356 MB / 460.5 MB, free: 26.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.109e-05/0.3479, allocations: 2.156 kB / 460.5 MB, free: 26.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003625/0.3483, allocations: 159.3 kB / 460.7 MB, free: 26.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/0.3485, allocations: 205.9 kB / 460.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008814/0.3573, allocations: 5.357 MB / 466.2 MB, free: 24.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02766/0.385, allocations: 21.64 MB / 487.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003622/0.3886, allocations: 3.829 MB / 491.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008669/0.3895, allocations: 0.7661 MB / 492.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.3896, allocations: 102.7 kB / 492.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.3897, allocations: 50.02 kB / 492.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=92): time 2.706e-06/0.3897, allocations: 4 kB / 492.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=92): time 0.002339/0.392, allocations: 1.756 MB / 494.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.3921, allocations: 91.55 kB / 494.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/0.3945, allocations: 1.589 MB / 496 MB, free: 3.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.3946, allocations: 37.7 kB / 496.1 MB, free: 3.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008885/0.3954, allocations: 1.771 MB / 497.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.3957, allocations: 338.4 kB / 498.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.3959, allocations: 48 kB / 498.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.3961, allocations: 451.1 kB / 498.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.3978, allocations: 1.119 MB / 499.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/0.4008, allocations: 2.053 MB / 0.4901 GB, free: 12.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/0.4035, allocations: 1.517 MB / 0.4916 GB, free: 11.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.739e-05/0.4035, allocations: 8 kB / 0.4916 GB, free: 11.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005534/0.409, allocations: 3.156 MB / 0.4946 GB, free: 8.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/0.4091, allocations: 23.95 kB / 0.4947 GB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-05/0.4092, allocations: 39.94 kB / 0.4947 GB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.301e-05/0.4093, allocations: 52 kB / 0.4948 GB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.4111, allocations: 0.5736 MB / 0.4953 GB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001218/0.4112, allocations: 71.78 kB / 0.4954 GB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.413, allocations: 340.9 kB / 0.4957 GB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/0.4133, allocations: 128 kB / 0.4958 GB, free: 7.09 MB / 366.1 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 (281): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002952/0.4162, allocations: 1.633 MB / 0.4974 GB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.4165, allocations: 130.4 kB / 0.4976 GB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00266/0.4192, allocations: 1.483 MB / 0.499 GB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00161/0.4208, allocations: 1.15 MB / 0.5001 GB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4209, allocations: 0 / 0.5001 GB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.4209, allocations: 11.98 kB / 0.5001 GB, free: 2.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007974/0.4289, allocations: 4.425 MB / 0.5045 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.4289, allocations: 8.031 kB / 0.5045 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008257/0.4297, allocations: 211.7 kB / 0.5047 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/0.4298, allocations: 11.94 kB / 0.5047 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/0.4298, allocations: 27.98 kB / 0.5047 GB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.4298, allocations: 12 kB / 0.5047 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4299, allocations: 0 / 0.5047 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002966/0.4328, allocations: 2.25 MB / 0.5069 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005957/0.4334, allocations: 347 kB / 0.5072 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.4337, allocations: 16 kB / 0.5073 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006025/0.4343, allocations: 63.98 kB / 0.5073 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.4344, allocations: 64.91 kB / 0.5074 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.4345, allocations: 31.98 kB / 0.5074 GB, free: 11.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001644/0.4361, allocations: 1.089 MB / 0.5085 GB, free: 10.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.224e-06/0.4362, allocations: 0 / 0.5085 GB, free: 10.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002666/0.4388, allocations: 0.8548 MB / 0.5093 GB, free: 9.148 MB / 382.1 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 (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003388/0.4392, allocations: 187.4 kB / 0.5095 GB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003331/0.4425, allocations: 2.099 MB / 0.5115 GB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4425, allocations: 4 kB / 0.5115 GB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008687/0.4434, allocations: 0.6269 MB / 0.5122 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.445, allocations: 281.9 kB / 0.5124 GB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.4566, allocations: 7.188 MB / 0.5194 GB, free: 14.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003037/0.4596, allocations: 2.894 MB / 0.5223 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002258/0.4619, allocations: 0.8129 MB / 0.5231 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/0.4624, allocations: 123.4 kB / 0.5232 GB, free: 10.85 MB / 398.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4624, allocations: 0 / 0.5232 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Templates: time 0.03374/0.4962, allocations: 19.08 MB / 0.5418 GB, free: 7.93 MB / 414.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1) Environment - environmentSimulation: