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.001354/0.001354, allocations: 98.45 kB / 15.05 MB, free: 1.105 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.001054/0.001055, allocations: 177.3 kB / 15.94 MB, free: 228 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.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2027/0.2027, allocations: 5.374 MB / 296.4 MB, free: 3.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004629, allocations: 8 kB / 358.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 51.6 MB / 410.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.007734/0.1426, allocations: 6.611 MB / 416.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004918/0.1476, allocations: 2.353 MB / 419 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.149, allocations: 51.81 kB / 419.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.1503, allocations: 397.9 kB / 419.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.1529, allocations: 0.6777 MB / 420.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.1545, allocations: 0.6272 MB / 420.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003826/0.1584, allocations: 2.331 MB / 423.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2429/0.4014, allocations: 8.285 MB / 431.4 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.4034, allocations: 1.31 MB / 432.7 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.4052, allocations: 1.524 MB / 434.2 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003372/0.4055, allocations: 250.4 kB / 434.5 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009879/0.4065, allocations: 464.7 kB / 434.9 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000595/0.4071, allocations: 0.6813 MB / 435.6 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008989/0.408, allocations: 0.8142 MB / 436.4 MB, free: 33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00605/0.4141, allocations: 7.212 MB / 443.6 MB, free: 32.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4141, allocations: 0 / 443.6 MB, free: 32.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4141, allocations: 4 kB / 443.6 MB, free: 32.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001552/0.4143, allocations: 0 / 443.6 MB, free: 32.7 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.009693/0.424, allocations: 3.938 MB / 447.6 MB, free: 31.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.424, allocations: 9.625 kB / 447.6 MB, free: 31.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009031/0.4331, allocations: 1.547 MB / 449.1 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007242/0.4404, allocations: 2.499 MB / 451.6 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/0.4407, allocations: 301.1 kB / 451.9 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.4425, allocations: 391.9 kB / 452.3 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/0.4568, allocations: 6.33 MB / 458.6 MB, free: 27.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.457, allocations: 5.562 kB / 458.6 MB, free: 27.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004374/0.4575, allocations: 160 kB / 458.8 MB, free: 27.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002586/0.4577, allocations: 198.9 kB / 459 MB, free: 27.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.4692, allocations: 5.362 MB / 464.3 MB, free: 24.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03574/0.505, allocations: 21.64 MB / 486 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004969/0.51, allocations: 3.829 MB / 489.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.5102, allocations: 117.5 kB / 489.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.5103, allocations: 47.22 kB / 490 MB, free: 6.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=92): time 3.046e-06/0.5103, allocations: 0 / 490 MB, free: 6.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=92): time 0.003059/0.5134, allocations: 2.111 MB / 492.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.5134, allocations: 93.3 kB / 492.2 MB, free: 4.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.5157, allocations: 1.589 MB / 493.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.5158, allocations: 44.89 kB / 493.8 MB, free: 3.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.5169, allocations: 1.769 MB / 495.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.5172, allocations: 339.3 kB / 495.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.5173, allocations: 47.5 kB / 496 MB, free: 1.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.5175, allocations: 450.3 kB / 496.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.5191, allocations: 1.123 MB / 497.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.5212, allocations: 2.056 MB / 499.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/0.5231, allocations: 1.536 MB / 0.4894 GB, free: 13.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.592e-05/0.5232, allocations: 8 kB / 0.4894 GB, free: 13.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00475/0.5279, allocations: 3.18 MB / 0.4925 GB, free: 9.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.528, allocations: 20 kB / 0.4925 GB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.682e-05/0.528, allocations: 36 kB / 0.4925 GB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.723e-05/0.5281, allocations: 52 kB / 0.4926 GB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.5301, allocations: 0.5811 MB / 0.4931 GB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.421e-05/0.5301, allocations: 67.73 kB / 0.4932 GB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.5319, allocations: 348.9 kB / 0.4935 GB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.5321, allocations: 124 kB / 0.4937 GB, free: 8.777 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.003174/0.5353, allocations: 1.625 MB / 0.4952 GB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000359/0.5357, allocations: 134.4 kB / 0.4954 GB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.5382, allocations: 1.507 MB / 0.4968 GB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001723/0.5399, allocations: 1.17 MB / 0.498 GB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.54, allocations: 3.938 kB / 0.498 GB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.54, allocations: 3.984 kB / 0.498 GB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008642/0.5486, allocations: 4.472 MB / 0.5024 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.5487, allocations: 0 / 0.5024 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008934/0.5496, allocations: 223.8 kB / 0.5026 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.5496, allocations: 4 kB / 0.5026 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.5497, allocations: 23.98 kB / 0.5026 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.5497, allocations: 4 kB / 0.5026 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5497, allocations: 4 kB / 0.5026 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003386/0.5531, allocations: 2.365 MB / 0.5049 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008684/0.5539, allocations: 339.1 kB / 0.5052 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.5541, allocations: 28.02 kB / 0.5053 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/0.5548, allocations: 63.86 kB / 0.5053 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.5549, allocations: 60.86 kB / 0.5054 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/0.555, allocations: 27.98 kB / 0.5054 GB, free: 12.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002049/0.5571, allocations: 1.093 MB / 0.5065 GB, free: 11.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5571, allocations: 0 / 0.5065 GB, free: 11.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003031/0.5601, allocations: 0.8509 MB / 0.5073 GB, free: 10.63 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.0004003/0.5605, allocations: 183.5 kB / 0.5075 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003791/0.5643, allocations: 2.126 MB / 0.5096 GB, free: 8.328 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5644, allocations: 3.984 kB / 0.5096 GB, free: 8.328 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009278/0.5653, allocations: 0.6422 MB / 0.5102 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.5668, allocations: 264.2 kB / 0.5104 GB, free: 7.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.5808, allocations: 7.192 MB / 0.5175 GB, free: 188 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003061/0.5839, allocations: 2.96 MB / 0.5204 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002532/0.5865, allocations: 0.8167 MB / 0.5212 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/0.5869, allocations: 123.4 kB / 0.5213 GB, free: 12.25 MB / 398.1 MB Notification: Performance of SimCode: time 1.973e-06/0.5869, allocations: 7.938 kB / 0.5213 GB, free: 12.24 MB / 398.1 MB Notification: Performance of Templates: time 0.03857/0.6255, allocations: 19.09 MB / 0.5399 GB, free: 9.309 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: