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.001185/0.001185, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1269/0.1269, allocations: 5.389 MB / 295.8 MB, free: 2.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.89 kB / 357.4 MB, free: 1.586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1076, allocations: 50.61 MB / 408 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01103/0.1187, allocations: 8.126 MB / 416.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005782/0.1245, allocations: 2.557 MB / 418.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.1262, allocations: 59.88 kB / 418.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007924/0.1342, allocations: 3.01 MB / 421.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004534/0.1387, allocations: 0.8509 MB / 422.6 MB, free: 272 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1736/0.3123, allocations: 0.8185 MB / 423.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003218/0.3156, allocations: 3.615 MB / 427.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009294/0.3249, allocations: 10.47 MB / 437.5 MB, free: 32.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/0.3275, allocations: 2.135 MB / 439.7 MB, free: 31.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002774/0.3303, allocations: 2.391 MB / 442.1 MB, free: 30 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001144/0.3314, allocations: 0.6627 MB / 442.7 MB, free: 30 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002119/0.3336, allocations: 0.924 MB / 443.6 MB, free: 29.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.3346, allocations: 1.218 MB / 444.9 MB, free: 29.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003299/0.338, allocations: 2.36 MB / 447.2 MB, free: 27.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008345/0.3463, allocations: 8.486 MB / 455.7 MB, free: 24.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3464, allocations: 0 / 455.7 MB, free: 24.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3464, allocations: 0 / 455.7 MB, free: 24.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001712/0.3466, allocations: 0 / 455.7 MB, free: 24.63 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.01595/0.3625, allocations: 4.779 MB / 460.5 MB, free: 22.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.3626, allocations: 13.84 kB / 460.5 MB, free: 22.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/0.3789, allocations: 1.549 MB / 462 MB, free: 21.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006586/0.3856, allocations: 2.539 MB / 464.6 MB, free: 20.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/0.3859, allocations: 301.8 kB / 464.9 MB, free: 20.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.3875, allocations: 385.7 kB / 465.3 MB, free: 20.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/0.4042, allocations: 6.362 MB / 471.6 MB, free: 17.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-05/0.4044, allocations: 5.156 kB / 471.6 MB, free: 17.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003947/0.4048, allocations: 160.6 kB / 471.8 MB, free: 17.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/0.405, allocations: 204.2 kB / 472 MB, free: 17.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.415, allocations: 5.358 MB / 477.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02771/0.4428, allocations: 21.6 MB / 498.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004796/0.4476, allocations: 3.792 MB / 0.4909 GB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.4486, allocations: 0.7106 MB / 0.4916 GB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.4488, allocations: 107.8 kB / 0.4917 GB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.4488, allocations: 43.56 kB / 0.4918 GB, free: 8.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 3.767e-06/0.4488, allocations: 0 / 0.4918 GB, free: 8.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=86): time 0.002551/0.4514, allocations: 1.615 MB / 0.4934 GB, free: 7.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.4514, allocations: 89.48 kB / 0.4934 GB, free: 7.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.4535, allocations: 1.602 MB / 0.495 GB, free: 5.391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.4535, allocations: 41.7 kB / 0.495 GB, free: 5.344 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.4546, allocations: 1.778 MB / 0.4968 GB, free: 3.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.4548, allocations: 317.7 kB / 0.4971 GB, free: 3.242 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006394/0.4555, allocations: 499.4 kB / 0.4976 GB, free: 2.746 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4556, allocations: 362 kB / 0.4979 GB, free: 2.387 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.457, allocations: 1.077 MB / 0.499 GB, free: 1.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.4589, allocations: 2.004 MB / 0.5009 GB, free: 14.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003235/0.4622, allocations: 3.061 MB / 0.5039 GB, free: 11.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.438e-05/0.4622, allocations: 8 kB / 0.5039 GB, free: 11.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004389/0.4666, allocations: 3.066 MB / 0.5069 GB, free: 8.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.4667, allocations: 20 kB / 0.5069 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/0.4667, allocations: 48.02 kB / 0.507 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.294e-05/0.4668, allocations: 48 kB / 0.507 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/0.4686, allocations: 0.5575 MB / 0.5076 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.034e-05/0.4686, allocations: 74.31 kB / 0.5076 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.4702, allocations: 337 kB / 0.508 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.4703, allocations: 124 kB / 0.5081 GB, free: 7.387 MB / 382.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 (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.002094/0.4724, allocations: 1.637 MB / 0.5097 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.4727, allocations: 134.3 kB / 0.5098 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.4749, allocations: 1.374 MB / 0.5111 GB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001453/0.4764, allocations: 1.064 MB / 0.5122 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.4764, allocations: 0 / 0.5122 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.4764, allocations: 3.984 kB / 0.5122 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006234/0.4827, allocations: 4.289 MB / 0.5164 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.4827, allocations: 4.031 kB / 0.5164 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/0.4835, allocations: 207.7 kB / 0.5166 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.4836, allocations: 4 kB / 0.5166 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.4836, allocations: 24 kB / 0.5166 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.4836, allocations: 7.938 kB / 0.5166 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4836, allocations: 4 kB / 0.5166 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.4864, allocations: 2.094 MB / 0.5187 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005784/0.487, allocations: 315.2 kB / 0.519 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.4872, allocations: 23.91 kB / 0.519 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.4878, allocations: 67.86 kB / 0.519 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.4879, allocations: 56.86 kB / 0.5191 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.352e-05/0.488, allocations: 28 kB / 0.5191 GB, free: 11.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001546/0.4895, allocations: 1.101 MB / 0.5202 GB, free: 10.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4896, allocations: 0 / 0.5202 GB, free: 10.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002204/0.4918, allocations: 0.851 MB / 0.521 GB, free: 10.03 MB / 398.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 (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.0003124/0.4921, allocations: 175.9 kB / 0.5212 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003831/0.4959, allocations: 2.402 MB / 0.5235 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4959, allocations: 0 / 0.5235 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007809/0.4967, allocations: 0.5732 MB / 0.5241 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.4982, allocations: 299.3 kB / 0.5244 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008842/0.507, allocations: 5.882 MB / 0.5301 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002442/0.5095, allocations: 2.904 MB / 0.533 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001946/0.5115, allocations: 0.8131 MB / 0.5338 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.5118, allocations: 123.4 kB / 0.5339 GB, free: 12.8 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5118, allocations: 0 / 0.5339 GB, free: 12.8 MB / 414.1 MB Notification: Performance of Templates: time 0.03204/0.5439, allocations: 19.81 MB / 0.5532 GB, free: 9.148 MB / 430.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile (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)